Skip to contentSkip to conversation

dt-bindings: arm: at91: Document Kizbox2-2 board binding

PATCH Applied Kamel Bouhara 2 participants 4 messages Nov 5, 2019 – Nov 6, 2019

Subsystems (3)

v3 of 6 Applied Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 dt-bindings: arm: at91: Document Kizbox2-2 board binding

Document devicetree's binding for the Kizbox2-2 board of Overkiz SAS based on SAMA5D31 SoC.

---
Changes in v2:
==============
- Removed other kizbox2 boards as the main difference between them is the usart configuration, only add the two heads variant for now.
Changes in v3:
==============
- Added R-b tag from Rob Herring.

---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/atmel-at91.yaml +7 -0
index c0869cb860f3..6dd8be401673 100644
@@ -80,6 +80,13 @@ properties:
           - const: atmel,sama5d3
           - const: atmel,sama5
 
+      - description: Overkiz kizbox2 board with two heads
+        items:
+          - const: overkiz,kizbox2-2
+          - const: atmel,sama5d31
+          - const: atmel,sama5d3
+          - const: atmel,sama5
+
       - items:
           - enum:
               - atmel,sama5d31
Signature · 1 line
2.24.0.rc1
#1 lore raw

PATCH v3 2/2 ARM: dts: at91: add a dts and dtsi file for kizbox2 based boards

There are several boards available depending on the PCB
(3 antennas support and several revison). Add a dtsi file to share common binding between all kizbox2 boards. This patch also add support for the kizbox2-2 variant.

---
Changes in v2:
==============
- Replaced "_" by "-" in dts/dtsi file names
- Fixed unusual C++ Style comments

Changes in v3:
==============
- Removed the kizbox changes from this patch

---
 arch/arm/boot/dts/Makefile                 |   2 +-
 arch/arm/boot/dts/at91-kizbox2-2.dts       |  26 +++
 arch/arm/boot/dts/at91-kizbox2-common.dtsi | 258 +++++++++++++++++++++
 arch/arm/boot/dts/at91-kizbox2.dts         | 244 -------------------
 4 files changed, 285 insertions(+), 245 deletions(-)
 create mode 100644 arch/arm/boot/dts/at91-kizbox2-2.dts
 create mode 100644 arch/arm/boot/dts/at91-kizbox2-common.dtsi
 delete mode 100644 arch/arm/boot/dts/at91-kizbox2.dts
arch/arm/boot/dts/Makefile +1 -1
index 3bda216c41be..4ac053115a8e 100644
@@ -45,7 +45,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \
 	at91sam9x25ek.dtb \
 	at91sam9x35ek.dtb
 dtb-$(CONFIG_SOC_SAM_V7) += \
-	at91-kizbox2.dtb \
+	at91-kizbox2-2.dtb \
 	at91-kizbox3-hs.dtb \
 	at91-nattis-2-natte-2.dtb \
 	at91-sama5d27_som1_ek.dtb \
arch/arm/boot/dts/at91-kizbox2-2.dts new file +26 -0
new file mode 100644
index 000000000000..cab8b3579efa
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * at91-kizbox2-2.dts - Device Tree file for the Kizbox2 with
+ * two head board
+ *
+ * Copyright (C) 2015 Overkiz SAS
+ *
+ * Authors: Antoine Aubert <[email protected]>
+ *	    Kévin Raymond <[email protected]>
+ */
+/dts-v1/;
+#include "at91-kizbox2-common.dtsi"
+
+/ {
+	model = "Overkiz Kizbox 2 with two heads";
+	compatible = "overkiz,kizbox2-2", "atmel,sama5d31",
+		     "atmel,sama5d3", "atmel,sama5";
+};
+
+&usart1 {
+	status = "okay";
+};
+
+&usart2 {
+	status = "okay";
+};
arch/arm/boot/dts/at91-kizbox2-common.dtsi new file +258 -0

258 lines not on this page · raw message

arch/arm/boot/dts/at91-kizbox2.dts deleted +0 -244

244 lines not on this page · raw message

Signature · 1 line
2.24.0.rc1
maintainer Applied
#2 lore raw

Re: [PATCH v3 2/2] ARM: dts: at91: add a dts and dtsi file for kizbox2 based boards

Quoted 19 lines · Kamel Bouhara

There are several boards available depending on the PCB
(3 antennas support and several revison). Add a dtsi file to share common binding between all kizbox2 boards. This patch also add support for the kizbox2-2 variant.

---
Changes in v2:
==============
- Replaced "_" by "-" in dts/dtsi file names
- Fixed unusual C++ Style comments

Changes in v3:
==============
- Removed the kizbox changes from this patch

Quoted 10 lines
---
 arch/arm/boot/dts/Makefile                 |   2 +-
 arch/arm/boot/dts/at91-kizbox2-2.dts       |  26 +++
 arch/arm/boot/dts/at91-kizbox2-common.dtsi | 258 +++++++++++++++++++++
 arch/arm/boot/dts/at91-kizbox2.dts         | 244 -------------------
 4 files changed, 285 insertions(+), 245 deletions(-)
 create mode 100644 arch/arm/boot/dts/at91-kizbox2-2.dts
 create mode 100644 arch/arm/boot/dts/at91-kizbox2-common.dtsi
 delete mode 100644 arch/arm/boot/dts/at91-kizbox2.dts

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
maintainer Applied
#3 lore raw
In reply to Kamel Bouhara
Quoted 14 lines · Kamel Bouhara

Document devicetree's binding for the Kizbox2-2 board of Overkiz SAS based on SAMA5D31 SoC.

---
Changes in v2:
==============
- Removed other kizbox2 boards as the main difference between them is the usart configuration, only add the two heads variant for now.
Changes in v3:
==============
- Added R-b tag from Rob Herring.

Quoted 4 lines
---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com