ARM: OMAP: X15: Add support for eeprom
Subsystems (3)
cover ARM: OMAP: X15: Add support for eeprom
X15 and BB family of boards use AT24 compatible eeproms
Enable support for the same.
Nishanth Menon (2):
ARM: dts: am57xx-beagle-x15: Add eeprom information
ARM: omap2plus_defconfig: Enable AT24 eeprom
arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++ arch/arm/configs/omap2plus_defconfig | 1 + 2 files changed, 6 insertions(+)
Signature · 1 line
2.7.0
PATCH 1/2 ARM: dts: am57xx-beagle-x15: Add eeprom information
Add EEPROM at 0x50 that describes the board configuration. This is useful for userspace programs that may need to check board revision and other similar information.
--- arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/am57xx-beagle-x15.dts +5 -0
@@ -591,6 +591,11 @@ DRVDD-supply = <&vdd_3v3>; DVDD-supply = <&aic_dvdd>; }; + + eeprom: eeprom at 50 { + compatible = "at,24c32"; + reg = <0x50>; + }; }; &i2c3 {
Signature · 1 line
2.7.0
PATCH 2/2 ARM: omap2plus_defconfig: Enable AT24 eeprom
In reply to Nishanth MenonAT24 compatible eeproms are used in BB family and X15 boards.
--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -145,6 +145,7 @@ CONFIG_BLK_DEV_RAM_SIZE=16384 CONFIG_SENSORS_TSL2550=m CONFIG_BMP085_I2C=m CONFIG_SRAM=y +CONFIG_EEPROM_AT24=m CONFIG_SENSORS_LIS3_I2C=m CONFIG_BLK_DEV_SD=y CONFIG_SCSI_SCAN_ASYNC=y
Signature · 1 line
2.7.0
Tony Lindgren
maintainerRe: [PATCH 2/2] ARM: omap2plus_defconfig: Enable AT24 eeprom
Quoted 12 lines · Nishanth Menon
AT24 compatible eeproms are used in BB family and X15 boards.
Signed-off-by Nishanth Menon <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/configs/omap2plus_defconfig +0
-0
arch/arm/configs/omap2plus_defconfig CONFIG_BLK_DEV_RAM_SIZE=16384 · line 151
Quoted 7 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -145,6 +145,7 @@ CONFIG_BLK_DEV_RAM_SIZE=16384 CONFIG_SENSORS_TSL2550=m CONFIG_BMP085_I2C=m CONFIG_SRAM=y +CONFIG_EEPROM_AT24=m CONFIG_SENSORS_LIS3_I2C=m CONFIG_BLK_DEV_SD=y CONFIG_SCSI_SCAN_ASYNC=y
Applying into omap-for-v4.6/defconfig.
Thanks,
Tony
Tony Lindgren
maintainerRe: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information
In reply to Nishanth MenonQuoted 14 lines · Nishanth Menon
Add EEPROM at
0x50that describes the board configuration. This is useful for userspace programs that may need to check board revision and other similar information.Signed-off-by Nishanth Menon <[email protected]>--- arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/am57xx-beagle-x15.dts +0
-0
arch/arm/boot/dts/am57xx-beagle-x15.dts line 600
Quoted 10 lines
arch/arm/boot/dts/am57xx-beagle-x15.dts +5
-0@@ -591,6 +591,11 @@ DRVDD-supply = <&vdd_3v3>; DVDD-supply = <&aic_dvdd>; }; + + eeprom: eeprom at 50 { + compatible = "at,24c32"; + reg = <0x50>; + }; };
Applying into omap-for-v4.6/dt thanks.
Tony