Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339728 > unrolled thread

[PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information

Started byNishanth Menon <nm@ti.com>
First post2016-02-22 18:00 +0100
Last post2016-02-22 20:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information Nishanth Menon <nm@ti.com> - 2016-02-22 18:00 +0100
    Re: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information Tony Lindgren <tony@atomide.com> - 2016-02-22 20:20 +0100

#1339728 — [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information

FromNishanth Menon <nm@ti.com>
Date2016-02-22 18:00 +0100
Subject[PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information
Message-ID<r5202-eH-21@gated-at.bofh.it>
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>;
+	};
 };
 
 &i2c3 {
-- 
2.7.0

[toc] | [next] | [standalone]


#1339854

FromTony Lindgren <tony@atomide.com>
Date2016-02-22 20:20 +0100
Message-ID<r54bw-23H-21@gated-at.bofh.it>
In reply to#1339728
* 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web