Skip to content

Commit 606974c

Browse files
committed
Revert "i2c: designware-pci: Set ideal timing parameters for Elkhart Lake PSE"
This reverts commit 36af188. Drivers should read these values from ACPI tables. Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 2352b05 commit 606974c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/i2c/busses/i2c-designware-pcidrv.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,6 @@ static struct dw_scl_sda_cfg hsw_config = {
8484
.sda_hold = 0x9,
8585
};
8686

87-
/* Elkhart Lake HCNT/LCNT/SDA hold time */
88-
static struct dw_scl_sda_cfg ehl_config = {
89-
.ss_hcnt = 0x190,
90-
.fs_hcnt = 0x4E,
91-
.fp_hcnt = 0x1A,
92-
.hs_hcnt = 0x1F,
93-
.ss_lcnt = 0x1d6,
94-
.fs_lcnt = 0x96,
95-
.fp_lcnt = 0x32,
96-
.hs_lcnt = 0x36,
97-
.sda_hold = 0x1E,
98-
};
99-
10087
/* NAVI-AMD HCNT/LCNT/SDA hold time */
10188
static struct dw_scl_sda_cfg navi_amd_config = {
10289
.ss_hcnt = 0x1ae,
@@ -213,7 +200,6 @@ static struct dw_pci_controller dw_pci_controllers[] = {
213200
},
214201
[elkhartlake] = {
215202
.bus_num = -1,
216-
.scl_sda_cfg = &ehl_config,
217203
.get_clk_rate_khz = ehl_get_clk_rate_khz,
218204
},
219205
[navi_amd] = {

0 commit comments

Comments
 (0)