diff options
author | Jean Delvare <jdelvare@suse.de> | 2019-08-02 14:55:26 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-29 22:19:01 +0200 |
commit | 0183eb8bb59d45f26ec4fc73aaa416067fe6c0be (patch) | |
tree | 9bc50bd483d23495b3aab36c8be91ea81a2ac10d /drivers/i2c/busses/i2c-pnx.c | |
parent | i2c: piix4: Fix probing of reserved ports on AMD Family 16h Model 30h (diff) | |
download | linux-0183eb8bb59d45f26ec4fc73aaa416067fe6c0be.tar.xz linux-0183eb8bb59d45f26ec4fc73aaa416067fe6c0be.zip |
i2c: piix4: Add ACPI support
Enable the i2c-piix4 SMBus controller driver to enumerate I2C slave
devices using ACPI. It builds on the related I2C mux device work
in commit 8eb5c87a92c0 ("i2c: add ACPI support for I2C mux ports")
In the i2c-piix4 driver the adapters are enumerated as:
Main SMBus adapter Port 0, Port 2, ..., aux port (i.e., ASF adapter)
However, in the AMD BKDG documentation[1], the implied order of ports is:
Main SMBus adapter Port 0, ASF adapter, Port 2, Port 3, ...
This ordering difference is unfortunate. We assume that ACPI
developers will use the AMD documentation ordering, so we have to
pass an extra parameter to piix4_add_adapter().
[1] 52740 BIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h
Models 30h-3Fh Processors
Based on earlier work by Andrew Cooks.
Reported-by: Andrew Cooks <andrew.cooks@opengear.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-pnx.c')
0 files changed, 0 insertions, 0 deletions