diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-15 17:12:02 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-12-16 22:14:02 +0100 |
commit | c2d7fa2207d0df23bde6ef3fb4d56135f3d2977b (patch) | |
tree | 27dbcba0116866254bb36ea3ec27f5b451739acb /drivers/i2c | |
parent | d52097010078c1844348dc0e467305e5f90fd317 (diff) | |
download | linux-c2d7fa2207d0df23bde6ef3fb4d56135f3d2977b.tar.bz2 |
i2c: designware-pci: Add a note about struct dw_scl_sda_cfg usage
Add a note about struct dw_scl_sda_cfg usage to discourage people
of using this structure on new platforms. Instead they should try
hard to put the needed information into firmware descriptions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-pcidrv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 5b45941bcbdd..f49c41ba5647 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -38,6 +38,13 @@ enum dw_pci_ctl_id_t { navi_amd, }; +/* + * This is a legacy structure to describe the hardware counters + * to configure signal timings on the bus. For Device Tree platforms + * one should use the respective properties and for ACPI there is + * a set of ACPI methods that provide these counters. No new + * platform should use this structure. + */ struct dw_scl_sda_cfg { u16 ss_hcnt; u16 fs_hcnt; |