Skip to contentSkip to conversation

dt-bindings: arm: Convert RDA Micro board/soc bindings to json-schema

PATCH In review Rob Herring 2 participants 7 messages Jun 18, 2019 – Jul 9, 2019

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: arm: Convert RDA Micro board/soc bindings to json-schema

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

 Documentation/devicetree/bindings/arm/rda.txt | 17 ----------------
 .../devicetree/bindings/arm/rda.yaml          | 20 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 21 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/rda.txt
 create mode 100644 Documentation/devicetree/bindings/arm/rda.yaml
Documentation/devicetree/bindings/arm/rda.txt deleted +0 -17
deleted file mode 100644
index 43c80762c428..000000000000
@@ -1,17 +0,0 @@
-RDA Micro platforms device tree bindings
-----------------------------------------
-
-RDA8810PL SoC
-=============
-
-Required root node properties:
-
- - compatible :  must contain "rda,8810pl"
-
-
-Boards:
-
-Root node property compatible must contain, depending on board:
-
- - Orange Pi 2G-IoT: "xunlong,orangepi-2g-iot"
- - Orange Pi i96: "xunlong,orangepi-i96"
Documentation/devicetree/bindings/arm/rda.yaml new file +20 -0
new file mode 100644
index 000000000000..51cec2b63b04
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/rda.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RDA Micro platforms device tree bindings
+
+maintainers:
+  - Manivannan Sadhasivam <[email protected]>
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - xunlong,orangepi-2g-iot     # Orange Pi 2G-IoT
+          - xunlong,orangepi-i96        # Orange Pi i96
+      - const: rda,8810pl
+
+...
MAINTAINERS +1 -1
index 2c6f4d15805e..56ee276088eb 100644
@@ -2111,7 +2111,7 @@ F:	arch/arm/boot/dts/rda8810pl-*
 F:	drivers/clocksource/timer-rda.c
 F:	drivers/irqchip/irq-rda-intc.c
 F:	drivers/tty/serial/rda-uart.c
-F:	Documentation/devicetree/bindings/arm/rda.txt
+F:	Documentation/devicetree/bindings/arm/rda.yaml
 F:	Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt
 F:	Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
 F:	Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#1 lore raw
Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

Ping.

Quoted 7 lines
 Documentation/devicetree/bindings/arm/rda.txt | 17 ----------------
 .../devicetree/bindings/arm/rda.yaml          | 20 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 21 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/rda.txt
 create mode 100644 Documentation/devicetree/bindings/arm/rda.yaml
#2 lore raw
In reply to Rob Herring

Hi Rob,

Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

I'm fine with GPL-2.0. Since there isn't any other RDA specific patches in my tree, you want to take this patch? Else I have to send the Pull Request to ARM SoC folks with this patch alone.

Thanks,
Mani

Quoted 73 lines
 Documentation/devicetree/bindings/arm/rda.txt | 17 ----------------
 .../devicetree/bindings/arm/rda.yaml          | 20 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 21 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/rda.txt
 create mode 100644 Documentation/devicetree/bindings/arm/rda.yaml
Documentation/devicetree/bindings/arm/rda.txt deleted +0 -17
deleted file mode 100644
index 43c80762c428..000000000000
@@ -1,17 +0,0 @@
-RDA Micro platforms device tree bindings
-----------------------------------------
-
-RDA8810PL SoC
-=============
-
-Required root node properties:
-
- - compatible :  must contain "rda,8810pl"
-
-
-Boards:
-
-Root node property compatible must contain, depending on board:
-
- - Orange Pi 2G-IoT: "xunlong,orangepi-2g-iot"
- - Orange Pi i96: "xunlong,orangepi-i96"
Documentation/devicetree/bindings/arm/rda.yaml new file +20 -0
new file mode 100644
index 000000000000..51cec2b63b04
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/rda.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RDA Micro platforms device tree bindings
+
+maintainers:
+  - Manivannan Sadhasivam <[email protected]>
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - xunlong,orangepi-2g-iot     # Orange Pi 2G-IoT
+          - xunlong,orangepi-i96        # Orange Pi i96
+      - const: rda,8810pl
+
+...
MAINTAINERS +1 -1
index 2c6f4d15805e..56ee276088eb 100644
@@ -2111,7 +2111,7 @@ F:	arch/arm/boot/dts/rda8810pl-*
 F:	drivers/clocksource/timer-rda.c
 F:	drivers/irqchip/irq-rda-intc.c
 F:	drivers/tty/serial/rda-uart.c
-F:	Documentation/devicetree/bindings/arm/rda.txt
+F:	Documentation/devicetree/bindings/arm/rda.yaml
 F:	Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt
 F:	Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
 F:	Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt
Signature · 1 line
2.20.1
author maintainer
#3 lore raw
Quoted 13 lines · Manivannan Sadhasivam

Hi Rob,

Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

Quoted 3 lines

I'm fine with GPL-2.0. Since there isn't any other RDA specific patches in my tree, you want to take this patch? Else I have to send the Pull Request to ARM SoC folks with this patch alone.

Okay, I can take it. The preference is actually dual licensed which is why I asked, but that can be done later.

Rob

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author maintainer
#4 lore raw
Quoted 16 lines · Rob Herring
Quoted 13 lines · Manivannan Sadhasivam

Hi Rob,

Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

Quoted 6 lines
Quoted 3 lines

I'm fine with GPL-2.0. Since there isn't any other RDA specific patches in my tree, you want to take this patch? Else I have to send the Pull Request to ARM SoC folks with this patch alone.

Okay, I can take it. The preference is actually dual licensed which is why I asked, but that can be done later.

And is that an ack from you?

Rob

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#5 lore raw
Quoted 17 lines · Rob Herring
Quoted 16 lines · Rob Herring
Quoted 13 lines · Manivannan Sadhasivam

Hi Rob,

Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I'm fine with GPL-2.0. Since there isn't any other RDA specific patches in my tree, you want to take this patch? Else I have to send the Pull Request to ARM SoC folks with this patch alone.

Okay, I can take it. The preference is actually dual licensed which is why I asked, but that can be done later.

And is that an ack from you?

Yes, here is the formal tag:

Also, Andreas asked to switch to Dual license for Actions platform since he is the maintainer of it. But for RDA he is not, so I don't think there will be a concern here (I'm fine with GPL-2.0).

Thanks,
Mani

Quoted 2 lines

Rob

author maintainer
#6 lore raw
Quoted 28 lines · Manivannan Sadhasivam
Quoted 17 lines · Rob Herring
Quoted 16 lines · Rob Herring
Quoted 13 lines · Manivannan Sadhasivam

Hi Rob,

Quoted 8 lines · Rob Herring

Convert RDA Micro SoC bindings to DT schema format using json-schema.

Cc "Andreas Färber" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
Andreas, Update the license on this one too to dual licensed if you want.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I'm fine with GPL-2.0. Since there isn't any other RDA specific patches in my tree, you want to take this patch? Else I have to send the Pull Request to ARM SoC folks with this patch alone.

Okay, I can take it. The preference is actually dual licensed which is why I asked, but that can be done later.

And is that an ack from you?

Quoted 7 lines

Yes, here is the formal tag:

Also, Andreas asked to switch to Dual license for Actions platform since he is the maintainer of it. But for RDA he is not, so I don't think there will be a concern here (I'm fine with GPL-2.0).

It's authorship that matters and Andreas was the author on the original file. The maintainer only has a say in what license they'll accept.

Rob

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel