linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
@ 2019-05-17 15:32 Rob Herring
  2019-06-13 22:44 ` Rob Herring
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2019-05-17 15:32 UTC (permalink / raw)
  To: Andreas Färber, Manivannan Sadhasivam
  Cc: Mark Rutland, devicetree, linux-kernel, linux-arm-kernel

Convert Actions Semi SoC bindings to DT schema format using json-schema.

Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
v3:
- update MAINTAINERS

 .../devicetree/bindings/arm/actions.txt       | 56 -------------------
 .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 39 insertions(+), 57 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
 create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml

diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt
deleted file mode 100644
index d54f33c4e0da..000000000000
--- a/Documentation/devicetree/bindings/arm/actions.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-Actions Semi platforms device tree bindings
--------------------------------------------
-
-
-S500 SoC
-========
-
-Required root node properties:
-
- - compatible :  must contain "actions,s500"
-
-
-Modules:
-
-Root node property compatible must contain, depending on module:
-
- - LeMaker Guitar: "lemaker,guitar"
-
-
-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"
-
-
-S700 SoC
-========
-
-Required root node properties:
-
-- compatible :  must contain "actions,s700"
-
-
-Boards:
-
-Root node property compatible must contain, depending on board:
-
- - Cubietech CubieBoard7: "cubietech,cubieboard7"
-
-
-S900 SoC
-========
-
-Required root node properties:
-
-- compatible :  must contain "actions,s900"
-
-
-Boards:
-
-Root node property compatible must contain, depending on board:
-
- - uCRobotics Bubblegum-96: "ucrobotics,bubblegum-96"
diff --git a/Documentation/devicetree/bindings/arm/actions.yaml b/Documentation/devicetree/bindings/arm/actions.yaml
new file mode 100644
index 000000000000..60abd371e474
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/actions.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/actions.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Actions Semi platforms device tree bindings
+
+maintainers:
+  - Andreas Färber <afaerber@suse.de>
+  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
+
+properties:
+  compatible:
+    oneOf:
+      # The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC.
+      - items:
+          - enum:
+              - allo,sparky # Allo.com Sparky
+              - cubietech,cubieboard6 # Cubietech CubieBoard6
+          - const: actions,s500
+      - items:
+          - enum:
+              - lemaker,guitar-bb-rev-b # LeMaker Guitar Base Board rev. B
+          - const: lemaker,guitar
+          - const: actions,s500
+
+      # The Actions Semi S700 is a quad-core ARM Cortex-A53 SoC.
+      - items:
+          - enum:
+              - cubietech,cubieboard7 # Cubietech CubieBoard7
+          - const: actions,s700
+
+      # The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC.
+      - items:
+          - enum:
+              - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
+          - const: actions,s900
diff --git a/MAINTAINERS b/MAINTAINERS
index 005902ea1450..be8c3564804c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1338,7 +1338,7 @@ F:	drivers/pinctrl/actions/*
 F:	drivers/soc/actions/
 F:	include/dt-bindings/power/owl-*
 F:	include/linux/soc/actions/
-F:	Documentation/devicetree/bindings/arm/actions.txt
+F:	Documentation/devicetree/bindings/arm/actions.yaml
 F:	Documentation/devicetree/bindings/clock/actions,owl-cmu.txt
 F:	Documentation/devicetree/bindings/dma/owl-dma.txt
 F:	Documentation/devicetree/bindings/i2c/i2c-owl.txt
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  2019-05-17 15:32 [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Rob Herring
@ 2019-06-13 22:44 ` Rob Herring
  2019-06-14 17:04   ` Manivannan Sadhasivam
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2019-06-13 22:44 UTC (permalink / raw)
  To: Andreas Färber, Manivannan Sadhasivam
  Cc: Mark Rutland, devicetree, linux-kernel, linux-arm-kernel

On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote:
> Convert Actions Semi SoC bindings to DT schema format using json-schema.
> 
> Cc: "Andreas Färber" <afaerber@suse.de>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> v3:
> - update MAINTAINERS
> 
>  .../devicetree/bindings/arm/actions.txt       | 56 -------------------
>  .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
>  MAINTAINERS                                   |  2 +-
>  3 files changed, 39 insertions(+), 57 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
>  create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml

Ping. Please apply or modify this how you'd prefer. I'm not going to 
keep respinning this.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  2019-06-13 22:44 ` Rob Herring
@ 2019-06-14 17:04   ` Manivannan Sadhasivam
  2019-06-14 17:07     ` Andreas Färber
  0 siblings, 1 reply; 6+ messages in thread
From: Manivannan Sadhasivam @ 2019-06-14 17:04 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Mark Rutland, Rob Herring, linux-kernel, linux-arm-kernel, devicetree

On Thu, Jun 13, 2019 at 04:44:35PM -0600, Rob Herring wrote:
> On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote:
> > Convert Actions Semi SoC bindings to DT schema format using json-schema.
> > 
> > Cc: "Andreas Färber" <afaerber@suse.de>
> > Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > Cc: Mark Rutland <mark.rutland@arm.com>
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: devicetree@vger.kernel.org
> > Signed-off-by: Rob Herring <robh@kernel.org>
> > ---
> > v3:
> > - update MAINTAINERS
> > 
> >  .../devicetree/bindings/arm/actions.txt       | 56 -------------------
> >  .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
> >  MAINTAINERS                                   |  2 +-
> >  3 files changed, 39 insertions(+), 57 deletions(-)
> >  delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
> >  create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml
> 
> Ping. Please apply or modify this how you'd prefer. I'm not going to 
> keep respinning this.
> 

Sorry for that Rob.

Andreas, are you going to take this patch? Else I'll pick it up (If you
want me to do the PR for next cycle)

Thanks,
Mani

> Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  2019-06-14 17:04   ` Manivannan Sadhasivam
@ 2019-06-14 17:07     ` Andreas Färber
  2019-06-14 19:33       ` Rob Herring
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Färber @ 2019-06-14 17:07 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Rob Herring
  Cc: Mark Rutland, devicetree, linux-kernel, linux-arm-kernel

Am 14.06.19 um 19:04 schrieb Manivannan Sadhasivam:
> On Thu, Jun 13, 2019 at 04:44:35PM -0600, Rob Herring wrote:
>> On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote:
>>> Convert Actions Semi SoC bindings to DT schema format using json-schema.
>>>
>>> Cc: "Andreas Färber" <afaerber@suse.de>
>>> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
>>> Cc: Mark Rutland <mark.rutland@arm.com>
>>> Cc: linux-arm-kernel@lists.infradead.org
>>> Cc: devicetree@vger.kernel.org
>>> Signed-off-by: Rob Herring <robh@kernel.org>
>>> ---
>>> v3:
>>> - update MAINTAINERS
>>>
>>>  .../devicetree/bindings/arm/actions.txt       | 56 -------------------
>>>  .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
>>>  MAINTAINERS                                   |  2 +-
>>>  3 files changed, 39 insertions(+), 57 deletions(-)
>>>  delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
>>>  create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml
>>
>> Ping. Please apply or modify this how you'd prefer. I'm not going to 
>> keep respinning this.
>>
> 
> Sorry for that Rob.

Well, it was simply not clear whether we were supposed to or not. :)

> Andreas, are you going to take this patch? Else I'll pick it up (If you
> want me to do the PR for next cycle)

I had checked that all previous changes to the .txt file were by myself,
so I would prefer if we not license it under GPLv2-only but under the
same dual-license (MIT/GPLv2+) as the DTs. That modification would need
Rob's approval then.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  2019-06-14 17:07     ` Andreas Färber
@ 2019-06-14 19:33       ` Rob Herring
  2019-08-20 16:06         ` Manivannan Sadhasivam
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2019-06-14 19:33 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Mark Rutland, devicetree, linux-kernel,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	Manivannan Sadhasivam

On Fri, Jun 14, 2019 at 11:07 AM Andreas Färber <afaerber@suse.de> wrote:
>
> Am 14.06.19 um 19:04 schrieb Manivannan Sadhasivam:
> > On Thu, Jun 13, 2019 at 04:44:35PM -0600, Rob Herring wrote:
> >> On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote:
> >>> Convert Actions Semi SoC bindings to DT schema format using json-schema.
> >>>
> >>> Cc: "Andreas Färber" <afaerber@suse.de>
> >>> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> >>> Cc: Mark Rutland <mark.rutland@arm.com>
> >>> Cc: linux-arm-kernel@lists.infradead.org
> >>> Cc: devicetree@vger.kernel.org
> >>> Signed-off-by: Rob Herring <robh@kernel.org>
> >>> ---
> >>> v3:
> >>> - update MAINTAINERS
> >>>
> >>>  .../devicetree/bindings/arm/actions.txt       | 56 -------------------
> >>>  .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
> >>>  MAINTAINERS                                   |  2 +-
> >>>  3 files changed, 39 insertions(+), 57 deletions(-)
> >>>  delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
> >>>  create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml
> >>
> >> Ping. Please apply or modify this how you'd prefer. I'm not going to
> >> keep respinning this.
> >>
> >
> > Sorry for that Rob.
>
> Well, it was simply not clear whether we were supposed to or not. :)

I thought 'To' you and a single patch should be clear enough.

> > Andreas, are you going to take this patch? Else I'll pick it up (If you
> > want me to do the PR for next cycle)
>
> I had checked that all previous changes to the .txt file were by myself,
> so I would prefer if we not license it under GPLv2-only but under the
> same dual-license (MIT/GPLv2+) as the DTs. That modification would need
> Rob's approval then.

That's fine and dual license is preferred. Can you adjust that when
applying. Note that the preference for schema is (GPL-2.0 OR
BSD-2-Clause), but MIT/GPLv2+ is fine by me.

Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema
  2019-06-14 19:33       ` Rob Herring
@ 2019-08-20 16:06         ` Manivannan Sadhasivam
  0 siblings, 0 replies; 6+ messages in thread
From: Manivannan Sadhasivam @ 2019-08-20 16:06 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Mark Rutland, Rob Herring, linux-kernel,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	devicetree

On Fri, Jun 14, 2019 at 01:33:47PM -0600, Rob Herring wrote:
> On Fri, Jun 14, 2019 at 11:07 AM Andreas Färber <afaerber@suse.de> wrote:
> >
> > Am 14.06.19 um 19:04 schrieb Manivannan Sadhasivam:
> > > On Thu, Jun 13, 2019 at 04:44:35PM -0600, Rob Herring wrote:
> > >> On Fri, May 17, 2019 at 10:32:23AM -0500, Rob Herring wrote:
> > >>> Convert Actions Semi SoC bindings to DT schema format using json-schema.
> > >>>
> > >>> Cc: "Andreas Färber" <afaerber@suse.de>
> > >>> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > >>> Cc: Mark Rutland <mark.rutland@arm.com>
> > >>> Cc: linux-arm-kernel@lists.infradead.org
> > >>> Cc: devicetree@vger.kernel.org
> > >>> Signed-off-by: Rob Herring <robh@kernel.org>
> > >>> ---
> > >>> v3:
> > >>> - update MAINTAINERS
> > >>>
> > >>>  .../devicetree/bindings/arm/actions.txt       | 56 -------------------
> > >>>  .../devicetree/bindings/arm/actions.yaml      | 38 +++++++++++++
> > >>>  MAINTAINERS                                   |  2 +-
> > >>>  3 files changed, 39 insertions(+), 57 deletions(-)
> > >>>  delete mode 100644 Documentation/devicetree/bindings/arm/actions.txt
> > >>>  create mode 100644 Documentation/devicetree/bindings/arm/actions.yaml
> > >>
> > >> Ping. Please apply or modify this how you'd prefer. I'm not going to
> > >> keep respinning this.
> > >>
> > >
> > > Sorry for that Rob.
> >
> > Well, it was simply not clear whether we were supposed to or not. :)
> 
> I thought 'To' you and a single patch should be clear enough.
> 
> > > Andreas, are you going to take this patch? Else I'll pick it up (If you
> > > want me to do the PR for next cycle)
> >
> > I had checked that all previous changes to the .txt file were by myself,
> > so I would prefer if we not license it under GPLv2-only but under the
> > same dual-license (MIT/GPLv2+) as the DTs. That modification would need
> > Rob's approval then.
> 
> That's fine and dual license is preferred. Can you adjust that when
> applying. Note that the preference for schema is (GPL-2.0 OR
> BSD-2-Clause), but MIT/GPLv2+ is fine by me.

Andreas, are you going to take this patch? Else, we can ask Rob to take
this through his tree as we don't have any queued patches for v5.4 yet.

Thanks,
Mani

> 
> Rob

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-20 16:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-17 15:32 [PATCH v3] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Rob Herring
2019-06-13 22:44 ` Rob Herring
2019-06-14 17:04   ` Manivannan Sadhasivam
2019-06-14 17:07     ` Andreas Färber
2019-06-14 19:33       ` Rob Herring
2019-08-20 16:06         ` Manivannan Sadhasivam

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).