drivers/eeprom: add 24CW160 support

Add support for the Microchip 24CW160 (2048B, 32-byte pages, 2-byte
data address)

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
This commit is contained in:
raiden00pl 2026-07-14 20:00:42 +02:00 committed by Alin Jerpelea
parent a3e7e995e5
commit 88ecbc2682
2 changed files with 9 additions and 0 deletions

View file

@ -41,6 +41,11 @@
* 24xx1025 131072 128 2 1010PAA Special case: address
* bit is shifted.
* 24xx1026 131072 128 2 1010AAP
* 24CM02 262144 256 2 1010APP
* 24CW160 2048 32 2 1010AAA Not a 24xx16
* variant: 24CW uses
* 2-byte addressing
* and 32-byte pages.
*
* Atmel
* AT24C01 128 8 1 1010AAA
@ -214,6 +219,9 @@ static const struct ee24xx_geom_s g_ee24xx_devices[] =
{
11, 5, 2, 2, 0
}, /* AT24CM02 262144 256 2 */
{
4, 2, 2, 0, 0
}, /* 24CW160 2048 32 2 */
/* STM devices */

View file

@ -132,6 +132,7 @@ enum eeprom_24xx_e
EEPROM_24XX1025,
EEPROM_24XX1026,
EEPROM_24CM02,
EEPROM_24CW160,
/* Atmel geometries - none... */