Re: [PATCH v4 5/6] i2c: smbus: Support DDR5 SPD EEPROMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 04.06.24 um 06:02 schrieb Guenter Roeck:

Detect DDR5 memory and instantiate the SPD5118 driver automatically.

Hi,

the text "Only works for DDR, DDR2, DDR3 and DDR4 for now" should be updated too.
With this fixed:

Reviewed-by: Armin Wolf <W_Armin@xxxxxx>


Suggested-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Cc: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
v5: New patch

  drivers/i2c/i2c-smbus.c | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/drivers/i2c/i2c-smbus.c b/drivers/i2c/i2c-smbus.c
index 97f338b123b1..8a0dab835761 100644
--- a/drivers/i2c/i2c-smbus.c
+++ b/drivers/i2c/i2c-smbus.c
@@ -382,6 +382,10 @@ void i2c_register_spd(struct i2c_adapter *adap)
  	case 0x1E:	/* LPDDR4 */
  		name = "ee1004";
  		break;
+	case 0x22:	/* DDR5 */
+	case 0x23:	/* LPDDR5 */
+		name = "spd5118";
+		break;
  	default:
  		dev_info(&adap->dev,
  			 "Memory type 0x%02x not supported yet, not instantiating SPD\n",





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux