Re: [PATCH] eeprom: ee1004: Add support for multiple i2c busses

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

 



On 15.11.2023 16:30, Heiner Kallweit wrote:
> There are systems with more than 8 memory slots where the i2c bus for
> SPD is multiplexed. i2c_register_spd() isn't used yet on such systems,
> but it's planned. So we need to extend ee1004 accordingly.
> With this extension a maximum of 8 i2c busses is supported.
> 
> I don't have such a system for testing, therefore I just verified
> that the driver still works on a system with a single i2c bus.
> 
> For the sake of simplicity the extension uses the existing global
> mutex to protect access on all busses. This could be improved,
> but we support 8 busses only, and SPD data is small and rarely
> accessed, so it shouldn't be a problem.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> ---

I sent a v2 that improves the code.





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux