]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita29a9701abdb49970b69f374f503c9e118961274
tree4bcd045639cc5f05b03cc3e88c6e1d0738468af8
parent45bb532d7aca33425654fefa3308b14c768be259
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