public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add eeprom to the Olimex series of boards
@ 2015-09-10  8:31 Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

Some of the olimex series of boards feature a permanently connected eeprom on
i2c-1. This patch series adds them on all the boards that I personally have and
where tested with.

Additionally, it brings the eeprom on the OLinuXino a10s in line with the rest
and now follows the binding documentation.

Changes since v1:
* Fixed SoB and removed Tested-by as that is implied with SoB.
* Additionally tested it on an A20 OLinuXino micro as I did actually have one!

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>

Olliver Schinagl (5):
  dts: sunxi: add eeprom to A10 OLinuXino Lime board
  dts: sunxi: correct vendor prefix on OLinuXino a10s micro
  dts: sunxi: add eeprom to A20 OLinuXino Lime board
  dts: sunxi: add eeprom to A20 OLinuXino Lime2 board
  dts: sunxi: add eeprom to A20 OLinuXino micro board

 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts   | 12 ++++++++++++
 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts |  2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts   | 12 ++++++++++++
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts  |  6 ++++++
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts  |  6 ++++++
 5 files changed, 37 insertions(+), 1 deletion(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
@ 2015-09-10  8:31 ` Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A10 OLinuXino Lime features an eeprom that is always on the
board. This patch adds it to the dts.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
index b64aa4e..0f3ed86 100644
--- a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
+++ b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
@@ -124,6 +124,18 @@
 	};
 };
 
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+
+	eeprom: eeprom at 50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+};
+
 &mdio {
 	status = "okay";
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
@ 2015-09-10  8:31 ` Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Olliver Schinagl <oliver@schinagl.nl>

The OLinuXino A10S micro features an eeprom. According to the eeprom.txt
binding document, we should use the manufacturer and 'at' is not the
proper manufacturer id according to the vendor-prefixes.

This patch takes the proper vendor-prefix and uses it for the eeprom
node.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
index a7e19e4..49a1be6 100644
--- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts
@@ -104,7 +104,7 @@
 	status = "okay";
 
 	at24 at 50 {
-		compatible = "at,24c16";
+		compatible = "atmel,24c16";
 		pagesize = <16>;
 		reg = <0x50>;
 		read-only;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
@ 2015-09-10  8:31 ` Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A20 OLinuXino Lime features an eeprom that is always on the
board. This patch adds it to the dts.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts
index 769726d..6710d25 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts
@@ -117,6 +117,18 @@
 	};
 };
 
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+
+	eeprom: eeprom at 50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+};
+
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
                   ` (2 preceding siblings ...)
  2015-09-10  8:31 ` [PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
@ 2015-09-10  8:31 ` Olliver Schinagl
  2015-09-10  8:31 ` [PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
  2015-09-10 18:31 ` [PATCH v2 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
  5 siblings, 0 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A20 OLinuXino Lime2 features an eeprom that is always on the
board. This patch adds it to the dts.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 8acff78..467ce8b 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -170,6 +170,12 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins_a>;
 	status = "okay";
+
+	eeprom: eeprom at 50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
 };
 
 &mmc0 {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
                   ` (3 preceding siblings ...)
  2015-09-10  8:31 ` [PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
@ 2015-09-10  8:31 ` Olliver Schinagl
  2015-09-10 18:31 ` [PATCH v2 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
  5 siblings, 0 replies; 7+ messages in thread
From: Olliver Schinagl @ 2015-09-10  8:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A20 OLinuXino Micro features an eeprom that is always on the
board. This patch adds it to the dts.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index 00f8f25..f2816dd 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -125,6 +125,12 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins_a>;
 	status = "okay";
+
+	eeprom: eeprom at 50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
 };
 
 &i2c2 {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 0/5] Add eeprom to the Olimex series of boards
  2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
                   ` (4 preceding siblings ...)
  2015-09-10  8:31 ` [PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
@ 2015-09-10 18:31 ` Maxime Ripard
  5 siblings, 0 replies; 7+ messages in thread
From: Maxime Ripard @ 2015-09-10 18:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Sep 10, 2015 at 10:31:16AM +0200, Olliver Schinagl wrote:
> Some of the olimex series of boards feature a permanently connected eeprom on
> i2c-1. This patch series adds them on all the boards that I personally have and
> where tested with.
> 
> Additionally, it brings the eeprom on the OLinuXino a10s in line with the rest
> and now follows the binding documentation.

Queued all 5 patches, thanks!

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150910/ff86f030/attachment.sig>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-10 18:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10  8:31 [PATCH v2 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
2015-09-10  8:31 ` [PATCH v2 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
2015-09-10  8:31 ` [PATCH v2 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
2015-09-10  8:31 ` [PATCH v2 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
2015-09-10  8:31 ` [PATCH v2 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
2015-09-10  8:31 ` [PATCH v2 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
2015-09-10 18:31 ` [PATCH v2 0/5] Add eeprom to the Olimex series of boards Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox