* [PATCH 0/2] ARM: OMAP: X15: Add support for eeprom
@ 2016-02-22 16:51 Nishanth Menon
[not found] ` <1456159868-32416-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2016-02-22 16:51 ` [PATCH 2/2] ARM: omap2plus_defconfig: Enable AT24 eeprom Nishanth Menon
0 siblings, 2 replies; 5+ messages in thread
From: Nishanth Menon @ 2016-02-22 16:51 UTC (permalink / raw
To: Tony Lindgren
Cc: linux-kernel, linux-arm-kernel, devicetree, linux-omap,
Nishanth Menon
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(+)
--
2.7.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information
[not found] ` <1456159868-32416-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2016-02-22 16:51 ` Nishanth Menon
2016-02-22 19:19 ` Tony Lindgren
0 siblings, 1 reply; 5+ messages in thread
From: Nishanth Menon @ 2016-02-22 16:51 UTC (permalink / raw
To: Tony Lindgren
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Nishanth Menon
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.
Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
---
arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index 36c0fa6c362a..50312f80b972 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -591,6 +591,11 @@
DRVDD-supply = <&vdd_3v3>;
DVDD-supply = <&aic_dvdd>;
};
+
+ eeprom: eeprom@50 {
+ compatible = "at,24c32";
+ reg = <0x50>;
+ };
};
&i2c3 {
--
2.7.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: omap2plus_defconfig: Enable AT24 eeprom
2016-02-22 16:51 [PATCH 0/2] ARM: OMAP: X15: Add support for eeprom Nishanth Menon
[not found] ` <1456159868-32416-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2016-02-22 16:51 ` Nishanth Menon
[not found] ` <1456159868-32416-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Nishanth Menon @ 2016-02-22 16:51 UTC (permalink / raw
To: Tony Lindgren
Cc: Nishanth Menon, devicetree, linux-omap, linux-kernel,
linux-arm-kernel
AT24 compatible eeproms are used in BB family and X15 boards.
Signed-off-by: Nishanth Menon <nm@ti.com>
---
arch/arm/configs/omap2plus_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index d18d6b42fcf5..fa82f4e25d0e 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -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
--
2.7.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ARM: omap2plus_defconfig: Enable AT24 eeprom
[not found] ` <1456159868-32416-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2016-02-22 18:13 ` Tony Lindgren
0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2016-02-22 18:13 UTC (permalink / raw
To: Nishanth Menon
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA
* Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [160222 08:51]:
> AT24 compatible eeproms are used in BB family and X15 boards.
>
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
> ---
> arch/arm/configs/omap2plus_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index d18d6b42fcf5..fa82f4e25d0e 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information
2016-02-22 16:51 ` [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information Nishanth Menon
@ 2016-02-22 19:19 ` Tony Lindgren
0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2016-02-22 19:19 UTC (permalink / raw
To: Nishanth Menon; +Cc: linux-kernel, linux-arm-kernel, devicetree, linux-omap
* Nishanth Menon <nm@ti.com> [160222 08:51]:
> 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.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index 36c0fa6c362a..50312f80b972 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -591,6 +591,11 @@
> DRVDD-supply = <&vdd_3v3>;
> DVDD-supply = <&aic_dvdd>;
> };
> +
> + eeprom: eeprom@50 {
> + compatible = "at,24c32";
> + reg = <0x50>;
> + };
> };
>
Applying into omap-for-v4.6/dt thanks.
Tony
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-02-22 19:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 16:51 [PATCH 0/2] ARM: OMAP: X15: Add support for eeprom Nishanth Menon
[not found] ` <1456159868-32416-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2016-02-22 16:51 ` [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information Nishanth Menon
2016-02-22 19:19 ` Tony Lindgren
2016-02-22 16:51 ` [PATCH 2/2] ARM: omap2plus_defconfig: Enable AT24 eeprom Nishanth Menon
[not found] ` <1456159868-32416-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2016-02-22 18:13 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).