Messages in this thread | | | From | Andrew Cooks <> | Subject | [PATCH v3 0/3] Enable ACPI-defined peripherals on i2c-piix4 SMBus | Date | Mon, 29 Jan 2018 13:54:17 +1000 |
| |
These patches fix a couple of issues with the i2c-piix4 driver on AMD Family 16h Model 30h SoCs and add ACPI-based enumeration to the i2c-piix4 driver.
Some I2C peripherals, eg. PCA953x IO expander, are not discovered by the probe or detect mechanisms when attached to an SMBus controller that uses the i2c-piix4 SMBus driver.
ACPI provides a mechanism to define these peripherals and the controller port that they're attached to.
Changes: v3: take chip revision into account when determining port selection register v2: count the adapters, instead of misusing port numbers
Andrew Cooks (3): i2c: piix4: Fix SMBus port selection for AMD Family 16h chips i2c: piix4: fix number of SMBus ports on HUDSON2 i2c: add ACPI support for i2c-piix4
drivers/i2c/busses/i2c-piix4.c | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-)
-- 2.7.4
| |