]> www.infradead.org Git - users/jedix/linux-maple.git/commit
eeprom: ee1004: Instantiate jc42 devices for DIMMS implementing Rev.1 SPD
authorGuenter Roeck <linux@roeck-us.net>
Sat, 29 Jun 2024 17:37:16 +0000 (10:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2024 10:03:01 +0000 (12:03 +0200)
commit6150e5e1ae2d8ad72f52217f8f41fe446cae9e27
tree8f504b0ae0d6b8e14eaa2d22e1c7f04f91f67747
parent249b4deaff71cfc6ac9a8e436af876be6d84052b
eeprom: ee1004: Instantiate jc42 devices for DIMMS implementing Rev.1 SPD

DDR4 DIMMS implementing SPD Annex L, Revision 1 do not implement SPD byte
14 (Module Temperature Sensor); this byte was only added in revision 2 of
the standard. This only applies to DDR4, not DDR4E or LPDDR4, since those
DDR types were only introduced in revision 3 of the standard.

Use this information to instantiate the jc42 device if the module is a DDR4
following SPD revision 1.0 and a device is detected at the expected thermal
sensor address, even if the Module Temperature Sensor byte suggests that
the thermal sensor is not supported.

Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240629173716.20389-2-linux@roeck-us.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/ee1004.c