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

AceLan Kao acelan.kao at canonical.com
Thu May 14 10:39:55 UTC 2020


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




More information about the kernel-team mailing list