]> www.infradead.org Git - users/dwmw2/linux.git/commit
hwmon: (spd5118) Add configuration option for auto-detection
authorGuenter Roeck <linux@roeck-us.net>
Mon, 3 Jun 2024 05:31:52 +0000 (22:31 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 10 Jun 2024 16:13:41 +0000 (09:13 -0700)
commit9ecc129470bcd3505c972b91dc402b8538e9cd9c
tree3f78da89b116432a91383ca90c97dbb8e1bc7dad
parent84d477354b0a3c3a2cd154cd2cd4d7fd6188f9f2
hwmon: (spd5118) Add configuration option for auto-detection

With SPD5118 chip detection for the most part handled by the i2c-smbus
core using DMI information, the spd5118 driver no longer needs to
auto-detect spd5118 compliant chips.

Auto-detection by the driver is still needed on systems with no DMI support
or on systems with more than eight DIMMs and can not be removed entirely.
However, it affects boot time and introduces the risk of mis-identifying
chips. Add configuration option to be able to disable it on systems where
chip detection is handled outside the driver.

Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Tested-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
drivers/hwmon/spd5118.c