i2c: smbus: Add a way to instantiate SPD EEPROMs automatically
authorJean Delvare <jdelvare@suse.de>
Mon, 16 Mar 2020 10:22:24 +0000 (11:22 +0100)
committerWolfram Sang <wsa@kernel.org>
Fri, 29 May 2020 10:53:04 +0000 (12:53 +0200)
commit5ace60859e84113b7a185c117fbf2c429d381b59
tree4bcd045639cc5f05b03cc3e88c6e1d0738468af8
parent7df915e540ec51ce9ac5f2d2d9801d0356b617da
i2c: smbus: Add a way to instantiate SPD EEPROMs automatically

In simple cases we can instantiate SPD EEPROMs on the SMBus
automatically. Start with just DDR2, DDR3 and DDR4 on x86 for now,
and only for systems with no more than 4 memory slots. These
limitations may be lifted later.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
[wsa: minor change for new API]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-smbus.c
include/linux/i2c-smbus.h