Skip to contentSkip to conversation

arm: owl: Add initial Allo Sparky support

PATCH In review Andreas Färber 3 participants 11 messages Nov 14, 2017 – Nov 27, 2017

Subsystems (3)
lore
Share & tools
lore

Andreas Färber

author maintainer
#0 lore raw

cover arm: owl: Add initial Allo Sparky support

Hello,

This series adds a Device Tree for the Allo.com Sparky SBC.

Cf. https://en.opensuse.org/HCL:Sparky

Work branch:
https://github.com/afaerber/linux/commits/bg96-next

Have a lot of fun!

Cheers,
Andreas

Cc Andre M. Strul <[email protected]>
Cc Ioan B. <[email protected]>
Cc Sudeep Kumar <[email protected]>
Cc Jeff Chen <[email protected]>
Cc devicetree at vger.kernel.org

Andreas F?rber (3):
dt-bindings: Add vendor prefix for Allo.com
dt-bindings: arm: actions: Add Sparky
arm: dts: owl-s500: Add Sparky

 Documentation/devicetree/bindings/arm/actions.txt  |  1 +
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 arch/arm/boot/dts/Makefile                         |  3 +-
 arch/arm/boot/dts/owl-s500-sparky.dts              | 44 ++++++++++++++++++++++
 4 files changed, 48 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/owl-s500-sparky.dts
Signature · 1 line
2.13.6
author maintainer
#1 lore raw

PATCH 1/3 dt-bindings: Add vendor prefix for Allo.com

ALLO is a Canadian-Indian manufacturer of telecommunications hardware.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 0994bdd82cd3..9bce76f3118d 100644
@@ -15,6 +15,7 @@ adi	Analog Devices, Inc.
 advantech	Advantech Corporation
 aeroflexgaisler	Aeroflex Gaisler AB
 al	Annapurna Labs
+allo	Allo.com
 allwinner	Allwinner Technology Co., Ltd.
 alphascale	AlphaScale Integrated Circuits Systems, Inc.
 altr	Altera Corp.
Signature · 1 line
2.13.6
author maintainer
#5 lore raw

PATCH 2/3 dt-bindings: arm: actions: Add Sparky

In reply to Andreas Färber

Define a binding for Allo.com Sparky SBC.

---
 Documentation/devicetree/bindings/arm/actions.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/actions.txt +1 -0
index 544a8855fad5..d54f33c4e0da 100644
@@ -21,6 +21,7 @@ Boards:
 
 Root node property compatible must contain, depending on board:
 
+ - Allo.com Sparky: "allo,sparky"
  - Cubietech CubieBoard6: "cubietech,cubieboard6"
  - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar"
 
Signature · 1 line
2.13.6
author maintainer
#8 lore raw

PATCH 3/3 arm: dts: owl-s500: Add Sparky

In reply to Andreas Färber

Add a Device Tree for the Allo.com Sparky SBC.

---
 arch/arm/boot/dts/Makefile            |  3 ++-
 arch/arm/boot/dts/owl-s500-sparky.dts | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/owl-s500-sparky.dts
arch/arm/boot/dts/Makefile +2 -1
index d0381e9caf21..ad77f7656a70 100644
@@ -707,7 +707,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
 	orion5x-rd88f5182-nas.dtb
 dtb-$(CONFIG_ARCH_ACTIONS) += \
 	owl-s500-cubieboard6.dtb \
-	owl-s500-guitar-bb-rev-b.dtb
+	owl-s500-guitar-bb-rev-b.dtb \
+	owl-s500-sparky.dtb
 dtb-$(CONFIG_ARCH_PRIMA2) += \
 	prima2-evb.dtb
 dtb-$(CONFIG_ARCH_OXNAS) += \
arch/arm/boot/dts/owl-s500-sparky.dts new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.13.6
Acked-by sudeep on v1 3/3
#9 lore raw

RE: [PATCH 3/3] arm: dts: owl-s500: Add Sparky

In reply to Andreas Färber
Acked-by sudeep

-----Original Message-----
From: Andreas F?rber [mailto:afaerber at suse.de]
Sent: Tuesday, November 14, 2017 11:31 PM
To: linux-arm-kernel at lists.infradead.org
Cc: Thomas Liau <[email protected]>; Jeff Chen <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; Ioan B <[email protected]>; Sudeep Kumar <[email protected]>; linux-kernel at vger.kernel.org; Andreas F?rber <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Russell King <[email protected]>; devicetree at vger.kernel.org
Subject: [PATCH 3/3] arm: dts: owl-s500: Add Sparky

Add a Device Tree for the Allo.com Sparky SBC.

---
 arch/arm/boot/dts/Makefile            |  3 ++-
 arch/arm/boot/dts/owl-s500-sparky.dts | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletion(-)  create mode 100644 arch/arm/boot/dts/owl-s500-sparky.dts
arch/arm/boot/dts/Makefile +2 -1
@@ -707,7 +707,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
 	orion5x-rd88f5182-nas.dtb
 dtb-$(CONFIG_ARCH_ACTIONS) += \
 	owl-s500-cubieboard6.dtb \
-	owl-s500-guitar-bb-rev-b.dtb
+	owl-s500-guitar-bb-rev-b.dtb \
+	owl-s500-sparky.dtb
 dtb-$(CONFIG_ARCH_PRIMA2) += \
 	prima2-evb.dtb
 dtb-$(CONFIG_ARCH_OXNAS) += \
arch/arm/boot/dts/owl-s500-sparky.dts new file +43 -0

43 lines not on this page · raw message

--
2.13.6

author maintainer
#10 lore raw

Re: [PATCH 3/3] arm: dts: owl-s500: Add Sparky

Hi Sudeep,

Am 20.11.2017 um 10:02 schrieb sudeep kumar:

Quoted 1 line
Acked-by sudeep

Thanks. Note it's full name <email>, I can adjust that for you.

https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-and-cc

What about the preceding two patches? Can Allo/CEM ack them, too? Without the two bindings patches I can't merge this one.

Regards,
Andreas

Quoted 81 lines

-----Original Message-----
From: Andreas F?rber [mailto:afaerber at suse.de]
Sent: Tuesday, November 14, 2017 11:31 PM
To: linux-arm-kernel at lists.infradead.org
Cc: Thomas Liau <[email protected]>; Jeff Chen <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; Ioan B <[email protected]>; Sudeep Kumar <[email protected]>; linux-kernel at vger.kernel.org; Andreas F?rber <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Russell King <[email protected]>; devicetree at vger.kernel.org
Subject: [PATCH 3/3] arm: dts: owl-s500: Add Sparky

Add a Device Tree for the Allo.com Sparky SBC.

---
 arch/arm/boot/dts/Makefile            |  3 ++-
 arch/arm/boot/dts/owl-s500-sparky.dts | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletion(-)  create mode 100644 arch/arm/boot/dts/owl-s500-sparky.dts
arch/arm/boot/dts/Makefile +2 -1
@@ -707,7 +707,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
 	orion5x-rd88f5182-nas.dtb
 dtb-$(CONFIG_ARCH_ACTIONS) += \
 	owl-s500-cubieboard6.dtb \
-	owl-s500-guitar-bb-rev-b.dtb
+	owl-s500-guitar-bb-rev-b.dtb \
+	owl-s500-sparky.dtb
 dtb-$(CONFIG_ARCH_PRIMA2) += \
 	prima2-evb.dtb
 dtb-$(CONFIG_ARCH_OXNAS) += \
arch/arm/boot/dts/owl-s500-sparky.dts new file +43 -1
new file mode 100644
index 000000000000..f620548c6c0b
@@ -0,0 +1,44 @@
+/*
+ * Allo.com Sparky
+ *
+ * Copyright (c) 2017 Andreas F?rber
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)  */
+
+/dts-v1/;
+
+#include "owl-s500.dtsi"
+
+/ {
+	compatible = "allo,sparky", "actions,s500";
+	model = "Allo.com Sparky";
+
+	aliases {
+		serial3 = &uart3;
+	};
+
+	chosen {
+		stdout-path = "serial3:115200n8";
+	};
+
+	memory at 0 {
+		device_type = "memory";
+		reg = <0x0 0x40000000>; /* 1 or 2 GiB */
+	};
+
+	uart3_clk: uart3-clk {
+		compatible = "fixed-clock";
+		clock-frequency = <921600>;
+		#clock-cells = <0>;
+	};
+};
+
+&timer {
+	clocks = <&hosc>;
+};
+
+&uart3 {
+	status = "okay";
+	clocks = <&uart3_clk>;
+};
--

2.13.6

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
Acked-by on v1 2/3
#7 lore raw

RE: [PATCH 2/3] dt-bindings: arm: actions: Add Sparky

In reply to Andreas Färber

-----Original Message-----
From: Andreas F?rber [mailto:afaerber at suse.de]
Sent: Tuesday, November 14, 2017 11:31 PM
To: linux-arm-kernel at lists.infradead.org
Cc: Thomas Liau <[email protected]>; Jeff Chen <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; Ioan B <[email protected]>; Sudeep Kumar <[email protected]>; linux-kernel at vger.kernel.org; Andreas F?rber <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; devicetree at vger.kernel.org
Subject: [PATCH 2/3] dt-bindings: arm: actions: Add Sparky

Define a binding for Allo.com Sparky SBC.

---
 Documentation/devicetree/bindings/arm/actions.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/actions.txt +1 -0
index 544a8855fad5..d54f33c4e0da 100644
@@ -21,6 +21,7 @@ Boards:
 
 Root node property compatible must contain, depending on board:
 
+ - Allo.com Sparky: "allo,sparky"
  - Cubietech CubieBoard6: "cubietech,cubieboard6"
  - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar"
 
Signature · 1 line
2.13.6
Acked-by on v1 1/3
#3 lore raw

RE: [PATCH 1/3] dt-bindings: Add vendor prefix for Allo.com

In reply to Andreas Färber

-----Original Message-----
From: Andreas F?rber [mailto:afaerber at suse.de]
Sent: Tuesday, November 14, 2017 11:31 PM
To: linux-arm-kernel at lists.infradead.org
Cc: Thomas Liau <[email protected]>; Jeff Chen <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; Ioan B <[email protected]>; Sudeep Kumar <[email protected]>; linux-kernel at vger.kernel.org; Andreas F?rber <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; devicetree at vger.kernel.org
Subject: [PATCH 1/3] dt-bindings: Add vendor prefix for Allo.com

ALLO is a Canadian-Indian manufacturer of telecommunications hardware.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 0994bdd82cd3..9bce76f3118d 100644
@@ -15,6 +15,7 @@ adi	Analog Devices, Inc.
 advantech	Advantech Corporation
 aeroflexgaisler	Aeroflex Gaisler AB
 al	Annapurna Labs
+allo	Allo.com
 allwinner	Allwinner Technology Co., Ltd.
 alphascale	AlphaScale Integrated Circuits Systems, Inc.
 altr	Altera Corp.
Signature · 1 line
2.13.6
author maintainer
#4 lore raw

Re: [PATCH 1/3] dt-bindings: Add vendor prefix for Allo.com

Am 24.11.2017 um 05:01 schrieb sudeep kumar:

Quoted 1 line

Thanks, adjusted, and all three queued on v4.16/dt:
https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions.git/log/?h=v4.16/dt

Quoted 7 lines

-----Original Message-----
From: Andreas F?rber [mailto:afaerber at suse.de]
Sent: Tuesday, November 14, 2017 11:31 PM
To: linux-arm-kernel at lists.infradead.org
Cc: Thomas Liau <[email protected]>; Jeff Chen <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; ??? <[email protected]>; ?? <[email protected]>; Ioan B <[email protected]>; Sudeep Kumar <[email protected]>; linux-kernel at vger.kernel.org; Andreas F?rber <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>; devicetree at vger.kernel.org
Subject: [PATCH 1/3] dt-bindings: Add vendor prefix for Allo.com

Quoted 7 lines

ALLO is a Canadian-Indian manufacturer of telecommunications hardware.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)