add 16-bit width registers support for EEPROM at24 device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
AceLan Kao | ||
Focal |
Fix Released
|
Undecided
|
AceLan Kao |
Bug Description
SRU For Bionic
[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]
This commit is derivated from below commit, and then modified and provided
by customer
https:/
Unfortunately, this commit doesn't get into mainline in the end, so I migrate the commit to latest kernel and finally get it merged.
https:/
[Test]
Verified on Eurotech's platforms.
[Regression Potential]
Low, this patch only changes the behavior of the device which has AT24_FLAG_ADDR16 flag and change the page_size to 64 if the device name is 24c256.
=======
SRU For Focal
[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.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!