]> 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)
commit296b91e53d79c668d7d6746c667f87ba23e749be
tree4bcd045639cc5f05b03cc3e88c6e1d0738468af8
parentd9016964f36b13340513a36ee22078ec32abf6cd
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