APPLIED: [PATCH v2 0/1][SRU][Focal] add 16-bit width registers support for EEPROM at24 device

Khaled Elmously khalid.elmously at canonical.com
Fri May 15 04:06:56 UTC 2020


On 2020-05-14 18:39:55 , AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1876699
> 
> [Impact]
> Larger EEPROM devices that use 16-bit addresses couldn't be accessed.
> 
> The i2c/smbus currently only support to access data with 8-bit width of
> address. In some larger device, such as larger EEPROM, it requires to
> access the address large than 0xff, so it needs to extend address space
> to 16-bit width.
> 
> [Fix]
> Clear cherry pick from linux-next
> 82f25bd73c0b regmap-i2c: add 16-bit width registers support
> 
> [Test]
> Verified on Eurotech's platforms.
> 
> [Regression Potential]
> Low, this patch provides new access functions for 16-bit registers,
> shouldn't affect any other devices which are already working well.
> 
> AceLan Kao (1):
>   regmap-i2c: add 16-bit width registers support
> 
>  drivers/base/regmap/regmap-i2c.c | 61 ++++++++++++++++++++++++++++++++
>  1 file changed, 61 insertions(+)
> 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list