* [PATCH 0/5] Add eeprom to the Olimex series of boards
@ 2015-09-09 9:25 Olliver Schinagl
2015-09-09 9:25 ` [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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 have them according
to the spec-sheets.
I explicitly added my personal --Tested-by to boards I actually tested. There
are two boards, that according to the sheets have them as well and physically
inspecting the boards shows them clearly, I did not actually test them on
those the boards that are missing the --Tested-by. So while it generally
should be safe to merge those patches as well, if someone with those boards
could add a --Tested-by that'd be great.
Additionally, it brings the eeprom on the OLinuXino a10s in line with the rest
and now follows the binding documentation.
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] 8+ messages in thread
* [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
@ 2015-09-09 9:25 ` Olliver Schinagl
2015-09-09 9:25 ` [PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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.
--Tested-by: Olliver Schinagl <oliver@schinagl.nl>
--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] 8+ messages in thread
* [PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
2015-09-09 9:25 ` [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
@ 2015-09-09 9:25 ` Olliver Schinagl
2015-09-09 9:25 ` [PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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] 8+ messages in thread
* [PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
2015-09-09 9:25 ` [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
2015-09-09 9:25 ` [PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
@ 2015-09-09 9:25 ` Olliver Schinagl
2015-09-09 9:25 ` [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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.
--Tested-by: Olliver Schinagl <oliver@schinagl.nl>
--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] 8+ messages in thread
* [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
` (2 preceding siblings ...)
2015-09-09 9:25 ` [PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
@ 2015-09-09 9:25 ` Olliver Schinagl
2015-09-09 9:25 ` [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
2015-09-09 14:05 ` [PATCH 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
5 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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.
--Tested-by: Olliver Schinagl <oliver@schinagl.nl>
--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] 8+ messages in thread
* [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
` (3 preceding siblings ...)
2015-09-09 9:25 ` [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
@ 2015-09-09 9:25 ` Olliver Schinagl
2015-09-09 14:05 ` [PATCH 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
5 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 9:25 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] 8+ messages in thread
* [PATCH 0/5] Add eeprom to the Olimex series of boards
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
` (4 preceding siblings ...)
2015-09-09 9:25 ` [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
@ 2015-09-09 14:05 ` Maxime Ripard
2015-09-09 14:26 ` Olliver Schinagl
5 siblings, 1 reply; 8+ messages in thread
From: Maxime Ripard @ 2015-09-09 14:05 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 09, 2015 at 11:25:10AM +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 have them according
> to the spec-sheets.
>
> I explicitly added my personal --Tested-by to boards I actually tested.
Testing your changes is the strict minimum before testing your
patches. Just like running checkpatch on them, which you clearly
failed to do, otherwise you would have seen that this is not the right
syntax. Drop the tested-by, fix your SoB.
> There are two boards, that according to the sheets have them as well
> and physically inspecting the boards shows them clearly, I did not
> actually test them on those the boards that are missing the
> --Tested-by.
Then don't send those patches.
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/20150909/b7a04104/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 0/5] Add eeprom to the Olimex series of boards
2015-09-09 14:05 ` [PATCH 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
@ 2015-09-09 14:26 ` Olliver Schinagl
0 siblings, 0 replies; 8+ messages in thread
From: Olliver Schinagl @ 2015-09-09 14:26 UTC (permalink / raw)
To: linux-arm-kernel
On 09-09-15 16:05, Maxime Ripard wrote:
> On Wed, Sep 09, 2015 at 11:25:10AM +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 have them according
>> to the spec-sheets.
>>
>> I explicitly added my personal --Tested-by to boards I actually tested.
> Testing your changes is the strict minimum before testing your
> patches. Just like running checkpatch on them, which you clearly
> failed to do, otherwise you would have seen that this is not the right
> syntax. Drop the tested-by, fix your SoB.
Actually, I did run check-patch and it complained about the format, but
it was the same as when outputted with a git -s. I obviously missed
something there! So I double check that. I will resubmit without a
tested-by for the boards I did test it on.
>
>> There are two boards, that according to the sheets have them as well
>> and physically inspecting the boards shows them clearly, I did not
>> actually test them on those the boards that are missing the
>> --Tested-by.
> Then don't send those patches.
I put them out there so someone could pick up on that with the least
amount of effort. I will drop them
>
> Maxime
>
--
Met vriendelijke groeten, Kind regards, ??????
Olliver Schinagl
Research & Development
Ultimaker B.V.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-09-09 14:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
2015-09-09 9:25 ` [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board Olliver Schinagl
2015-09-09 9:25 ` [PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
2015-09-09 9:25 ` [PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
2015-09-09 9:25 ` [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
2015-09-09 9:25 ` [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
2015-09-09 14:05 ` [PATCH 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
2015-09-09 14:26 ` Olliver Schinagl
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 NNTP newsgroup(s).