Skip to content

Commit

Permalink
Revert "i2c: designware-pci: Set ideal timing parameters for Elkhart …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
wsakernel committed Nov 30, 2021
1 parent 2352b05 commit 606974c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions drivers/i2c/busses/i2c-designware-pcidrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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] = {
Expand Down

0 comments on commit 606974c

Please sign in to comment.