diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2024-09-23 13:33:56 +0530 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-11-13 23:29:46 +0100 |
commit | 05d980046f5a202977f903db4ba67f3816dbcc7a (patch) | |
tree | d5969f650e577bd4e3f55bff1ec6be473f5eb42a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 650e2c396a9847d8f946810fba3f0e9f3d8c27de (diff) | |
download | linux-05d980046f5a202977f903db4ba67f3816dbcc7a.tar.gz linux-05d980046f5a202977f903db4ba67f3816dbcc7a.tar.bz2 linux-05d980046f5a202977f903db4ba67f3816dbcc7a.zip |
i2c: piix4: Export i2c_piix4 driver functions as library
Export the following i2c_piix4 driver functions as a library so that the
AMD ASF driver can utilize these core functionalities from the i2c_piix4
driver:
- piix4_sb800_region_request(): Request access to a specific SMBus region
on the SB800 chipset.
- piix4_sb800_region_release(): Release the previously requested SMBus
region on the SB800 chipset.
- piix4_transaction(): Handle SMBus transactions between the SMBus
controller and connected devices.
- piix4_sb800_port_sel(): Select the appropriate SMBus port on the SB800
chipset.
By making these functions available as a library, enable the AMD ASF
driver to leverage the established mechanisms in the i2c_piix4 driver,
promoting code reuse and consistency across different drivers.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions