diff options
author | Wolfram Sang | 2021-11-30 22:32:01 +0100 |
---|---|---|
committer | Wolfram Sang | 2021-11-30 22:32:01 +0100 |
commit | 606974c7aceb24d25870b0d58bad1adbba2f3158 (patch) | |
tree | 1e8bd4340bf97ac16bdfb9c75c87c16afd154a3d /drivers/i2c | |
parent | 2352b05fdf1a225d103044cceb9a7456624ea0ae (diff) |
Revert "i2c: designware-pci: Set ideal timing parameters for Elkhart Lake PSE"
This reverts commit 36af188f795bd1b0d794dd735623979dc6b698d3. Drivers
should read these values from ACPI tables.
Reported-by: Andy Shevchenko <andriy.shevchenko@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 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 3418148f8bb5..174938fc7a7e 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -84,19 +84,6 @@ static struct dw_scl_sda_cfg hsw_config = { .sda_hold = 0x9, }; -/* Elkhart Lake HCNT/LCNT/SDA hold time */ -static struct dw_scl_sda_cfg ehl_config = { - .ss_hcnt = 0x190, - .fs_hcnt = 0x4E, - .fp_hcnt = 0x1A, - .hs_hcnt = 0x1F, - .ss_lcnt = 0x1d6, - .fs_lcnt = 0x96, - .fp_lcnt = 0x32, - .hs_lcnt = 0x36, - .sda_hold = 0x1E, -}; - /* NAVI-AMD HCNT/LCNT/SDA hold time */ static struct dw_scl_sda_cfg navi_amd_config = { .ss_hcnt = 0x1ae, @@ -213,7 +200,6 @@ static struct dw_pci_controller dw_pci_controllers[] = { }, [elkhartlake] = { .bus_num = -1, - .scl_sda_cfg = &ehl_config, .get_clk_rate_khz = ehl_get_clk_rate_khz, }, [navi_amd] = { |