From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manivannan Sadhasivam Subject: Re: [PATCH v2 10/34] dt-bindings: arm: Convert Actions Semi bindings to jsonschema Date: Mon, 14 Jan 2019 15:56:17 +0530 Message-ID: <20190114102614.GC13162@Mani-XPS-13-9360> References: <20181203213223.16986-1-robh@kernel.org> <20181203213223.16986-11-robh@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20181203213223.16986-11-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Hudson , Frank Rowand , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , arm@kernel.org, Andreas =?iso-8859-1?Q?F=E4rber?= , Mark Rutland List-Id: devicetree@vger.kernel.org On Mon, Dec 03, 2018 at 03:31:59PM -0600, Rob Herring wrote: > Convert Actions Semi SoC bindings to DT schema format using json-schema. > Andreas, Shall I just apply this patch to Actions sub-tree? Thanks, Mani > Cc: "Andreas Färber" > Cc: Manivannan Sadhasivam > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/arm/actions.txt | 56 ------------------- > .../devicetree/bindings/arm/actions.yaml | 38 +++++++++++++ > 2 files changed, 38 insertions(+), 56 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 > + - Manivannan Sadhasivam > + > +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 > -- > 2.19.1 >