Skip to contentSkip to conversation

ARM: dts: oxnas: Update support for OX820 and use dt-bindings

PATCH Superseded Neil Armstrong 2 participants 7 messages Oct 21, 2016 – Oct 31, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: oxnas: Update support for OX820 and use dt-bindings

This patchset updates the ARM DTS for the Oxnas platform by :
- Add support for the Oxford Semicondutor OX820 and the PogoPlug V3
- Update the OX810SE to use the dt-bindings includes files introduced in [1] and [2]
- Fix the MAINTAINERS entry and add the PogoPlug V3 file maintainance

This patchset depends on dt-bindings include headers posted at [1] and [2], that were accepted/merged in the subsystem trees.

How could I manage this dependency for 4.10 ?

[1] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00008.html
[2] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00007.html

Neil Armstrong (3):
ARM: dts: Add support for OX820 and Pogoplug V3
ARM: dts: OX810: Update with dt-bindings includes
MAINTAINERS: oxnas: Add new files definitions

 Documentation/devicetree/bindings/arm/oxnas.txt    |   5 +
 MAINTAINERS                                        |   3 +-
 arch/arm/boot/dts/Makefile                         |   3 +-
 .../boot/dts/cloudengines-pogoplug-series-3.dts    |  94 +++++++
 arch/arm/boot/dts/ox810se.dtsi                     |  10 +-
 arch/arm/boot/dts/ox820.dtsi                       | 298 +++++++++++++++++++++
 6 files changed, 407 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
 create mode 100644 arch/arm/boot/dts/ox820.dtsi
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/3 ARM: dts: Add support for OX820 and Pogoplug V3

Add device tree for the Oxford Seminconductor OX820 SoC and the Cloud Engines PogoPlug v3 board.
Add the SoC and board compatible strings to oxnas bindings.

---
 Documentation/devicetree/bindings/arm/oxnas.txt    |   5 +
 arch/arm/boot/dts/Makefile                         |   3 +-
 .../boot/dts/cloudengines-pogoplug-series-3.dts    |  94 +++++++
 arch/arm/boot/dts/ox820.dtsi                       | 298 +++++++++++++++++++++
 4 files changed, 399 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
 create mode 100644 arch/arm/boot/dts/ox820.dtsi
Documentation/devicetree/bindings/arm/oxnas.txt +5 -0
index b9e4971..ac64e60 100644
@@ -5,5 +5,10 @@ Boards with the OX810SE SoC shall have the following properties:
   Required root node property:
     compatible: "oxsemi,ox810se"
 
+Boards with the OX820 SoC shall have the following properties:
+  Required root node property:
+    compatible: "oxsemi,ox820"
+
 Board compatible values:
   - "wd,mbwe" (OX810SE)
+  - "cloudengines,pogoplugv3" (OX820)
arch/arm/boot/dts/Makefile +2 -1
index befcd26..3b0c74f 100644
@@ -604,7 +604,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
 dtb-$(CONFIG_ARCH_PRIMA2) += \
 	prima2-evb.dtb
 dtb-$(CONFIG_ARCH_OXNAS) += \
-	wd-mbwe.dtb
+	wd-mbwe.dtb \
+	cloudengines-pogoplug-series-3.dtb
 dtb-$(CONFIG_ARCH_QCOM) += \
 	qcom-apq8060-dragonboard.dtb \
 	qcom-apq8064-arrow-sd-600eval.dtb \
arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts new file +94 -0

94 lines not on this page · raw message

arch/arm/boot/dts/ox820.dtsi new file +298 -0

298 lines not on this page · raw message

Signature · 1 line
2.7.0
#2 lore raw

PATCH 2/3 ARM: dts: OX810: Update with dt-bindings includes

In reply to Neil Armstrong

Add OX810SE dt-bindings includes files for clocks and resets, replace resets numbers by human readable defines.

---
 arch/arm/boot/dts/ox810se.dtsi | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
arch/arm/boot/dts/ox810se.dtsi +6 -4
index ce13705..46aa6db 100644
@@ -7,6 +7,8 @@
  */
 
 /include/ "skeleton.dtsi"
+#include <dt-bindings/clock/oxsemi,ox810se.h>
+#include <dt-bindings/reset/oxsemi,ox810se.h>
 
 / {
 	compatible = "oxsemi,ox810se";
@@ -242,7 +244,7 @@
 			       current-speed = <115200>;
 			       no-loopback-test;
 			       status = "disabled";
-			       resets = <&reset 17>;
+			       resets = <&reset RESET_UART1>;
 			};
 
 			uart1: serial at 300000 {
@@ -256,7 +258,7 @@
 			       current-speed = <115200>;
 			       no-loopback-test;
 			       status = "disabled";
-			       resets = <&reset 18>;
+			       resets = <&reset RESET_UART2>;
 			};
 
 			uart2: serial at 900000 {
@@ -270,7 +272,7 @@
 			       current-speed = <115200>;
 			       no-loopback-test;
 			       status = "disabled";
-			       resets = <&reset 22>;
+			       resets = <&reset RESET_UART3>;
 			};
 
 			uart3: serial at a00000 {
@@ -284,7 +286,7 @@
 			       current-speed = <115200>;
 			       no-loopback-test;
 			       status = "disabled";
-			       resets = <&reset 23>;
+			       resets = <&reset RESET_UART4>;
 			};
 		};
 
Signature · 1 line
2.7.0
#3 lore raw

PATCH 3/3 MAINTAINERS: oxnas: Add new files definitions

In reply to Neil Armstrong

Fix the dts files maintained by the OXNAS platform, add a new board.

---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
index 1cd38a7..29d8853 100644
@@ -1478,8 +1478,9 @@ L:	linux-arm-kernel at lists.infradead.org (moderated for non-subscribers)
 L:	linux-oxnas at lists.tuxfamily.org (moderated for non-subscribers)
 S:	Maintained
 F:	arch/arm/mach-oxnas/
-F:	arch/arm/boot/dts/oxnas*
+F:	arch/arm/boot/dts/ox8*.dtsi
 F:	arch/arm/boot/dts/wd-mbwe.dts
+F:	arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
 N:	oxnas
 
 ARM/Mediatek RTC DRIVER
Signature · 1 line
2.7.0
#4 lore raw

cover ARM: dts: oxnas: Update support for OX820 and use dt-bindings

In reply to Neil Armstrong
Quoted 18 lines · Neil Armstrong

This patchset updates the ARM DTS for the Oxnas platform by :
- Add support for the Oxford Semicondutor OX820 and the PogoPlug V3
- Update the OX810SE to use the dt-bindings includes files introduced in [1] and [2]
- Fix the MAINTAINERS entry and add the PogoPlug V3 file maintainance

This patchset depends on dt-bindings include headers posted at [1] and [2], that were accepted/merged in the subsystem trees.

How could I manage this dependency for 4.10 ?

[1] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00008.html
[2] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00007.html

Neil Armstrong (3):
ARM: dts: Add support for OX820 and Pogoplug V3
ARM: dts: OX810: Update with dt-bindings includes
MAINTAINERS: oxnas: Add new files definitions

Quoted 10 lines
 Documentation/devicetree/bindings/arm/oxnas.txt    |   5 +
 MAINTAINERS                                        |   3 +-
 arch/arm/boot/dts/Makefile                         |   3 +-
 .../boot/dts/cloudengines-pogoplug-series-3.dts    |  94 +++++++
 arch/arm/boot/dts/ox810se.dtsi                     |  10 +-
 arch/arm/boot/dts/ox820.dtsi                       | 298 +++++++++++++++++++++
 6 files changed, 407 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
 create mode 100644 arch/arm/boot/dts/ox820.dtsi

Hi,

I'm ready to send a pull request for arm-soc-dt, but I need to understand how this dependency should be worked out.

Should this be sent as a late pull request ?

Thanks,
Neil

#5 lore raw

cover ARM: dts: oxnas: Update support for OX820 and use dt-bindings

Hi,

Quoted 30 lines · Neil Armstrong
Quoted 18 lines · Neil Armstrong

This patchset updates the ARM DTS for the Oxnas platform by :
- Add support for the Oxford Semicondutor OX820 and the PogoPlug V3
- Update the OX810SE to use the dt-bindings includes files introduced in [1] and [2]
- Fix the MAINTAINERS entry and add the PogoPlug V3 file maintainance

This patchset depends on dt-bindings include headers posted at [1] and [2], that were accepted/merged in the subsystem trees.

How could I manage this dependency for 4.10 ?

[1] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00008.html
[2] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00007.html

Neil Armstrong (3):
ARM: dts: Add support for OX820 and Pogoplug V3
ARM: dts: OX810: Update with dt-bindings includes
MAINTAINERS: oxnas: Add new files definitions

Quoted 10 lines
 Documentation/devicetree/bindings/arm/oxnas.txt    |   5 +
 MAINTAINERS                                        |   3 +-
 arch/arm/boot/dts/Makefile                         |   3 +-
 .../boot/dts/cloudengines-pogoplug-series-3.dts    |  94 +++++++
 arch/arm/boot/dts/ox810se.dtsi                     |  10 +-
 arch/arm/boot/dts/ox820.dtsi                       | 298 +++++++++++++++++++++
 6 files changed, 407 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts
 create mode 100644 arch/arm/boot/dts/ox820.dtsi
Quoted 6 lines

Hi,

I'm ready to send a pull request for arm-soc-dt, but I need to understand how this dependency should be worked out.

Should this be sent as a late pull request ?

The need for dt-include changes is one of my pet peeves these days, since they require coordination between trees.

There's two ways to solve this:

1) Make sure that the branches you sent to other maintainers are stable, that they merge them as-is and don't rebase. This is a three-way handshake (we want to be cc:d on it). Then base your branch on top of those two branches.

or:

2) Avoid using the includes now, using numerical constants instead. Then, after next merge window, follow up with a patch that converts to symbols.

-Olof

#6 lore raw

cover ARM: dts: oxnas: Update support for OX820 and use dt-bindings

Hi Olof,

Quoted 13 lines · Olof Johansson

Hi,

Quoted 7 lines

Hi,

I'm ready to send a pull request for arm-soc-dt, but I need to understand how this dependency should be worked out.

Should this be sent as a late pull request ?

The need for dt-include changes is one of my pet peeves these days, since they require coordination between trees.

Quoted 6 lines

There's two ways to solve this:

1) Make sure that the branches you sent to other maintainers are stable, that they merge them as-is and don't rebase. This is a three-way handshake (we want to be cc:d on it). Then base your branch on top of those two branches.

It may be possible, at least from the clock tree.

Anyway, it's good to know, if I had a single tree to synchronize with, I'll eventually select this option...

Quoted 6 lines

or:

2) Avoid using the includes now, using numerical constants instead. Then, after next merge window, follow up with a patch that converts to symbols.

I will select this option for now, my ultimate goal is to have something booting for 4.10, cleanup can really wait 4.11...

Quoted 3 lines

-Olof

Thanks,

Neil