Re: [PATCH 1/2] i2c: i801: Detect SPD Write Disable and expose as adapter quirk
From: Andi Shyti
Date: Mon Jun 08 2026 - 08:33:23 EST
Hi Tinsae,
sorry for the very late reply.
> +/* SPD writes are blocked by host controller */
> +#define I2C_AQ_SPD_WRITE_DISABLED BIT(8)
> +
We don't need this extra flag, we already do this statement in
i2c_register_spd().
Can't we just assume that for spd5118 spd write is always
disabled? That's what happens in i2c_register_spd.
Check:
84d477354b0a ("i2c: smbus: Support DDR5 and LPDDR5 SPD EEPROMs")
4d6d35d3417d ("i2c: smbus: introduce Write Disable-aware SPD instantiating functions")
Thanks,
Andi