i2c: piix4: Register SPDs
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 9 Jul 2024 17:35:36 +0000 (19:35 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 20 Jul 2024 11:29:10 +0000 (13:29 +0200)
commitde4f2f52f93257433c9029ba2b4044cd9f029b21
treef1c10cf3a5fcb0cb827466f39e892a211f125504
parent8f3075cc680c232590ca4e2ef39ebaf1e887a52e
i2c: piix4: Register SPDs

The piix4 I2C bus can carry SPDs, register them if present.
Only look on bus 0, as this is where the SPDs seem to be located.

Only the first 8 slots are supported. If the system has more,
then these will not be visible.

The AUX bus can not be probed as on some platforms it reports all
devices present and all reads return "0".
This would allow the ee1004 to be probed incorrectly.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-piix4.c