diff mbox series

[v2,2/3] dt-bindings: arm: fsl: Add devicetree binding for Oxalis

Message ID 20190114102053.16013-3-manivannan.sadhasivam@linaro.org
State New
Headers show
Series [v2,1/3] dt-bindings: vendor-prefixes: Add EBS-SYSTART GmbH Vendor Prefix | expand

Commit Message

Manivannan Sadhasivam Jan. 14, 2019, 10:20 a.m. UTC
Add devicetree binding for Oxalis board in JSON format. While adding
that, let's fix the description for LS1012A also.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.17.1

Comments

Rob Herring Jan. 14, 2019, 6:02 p.m. UTC | #1
On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam
<manivannan.sadhasivam@linaro.org> wrote:
>

> Add devicetree binding for Oxalis board in JSON format. While adding

> that, let's fix the description for LS1012A also.

>

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)

>

> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml

> index d34fe0749199..0f30142fe316 100644

> --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> @@ -173,12 +173,13 @@ properties:

>                - fsl,vf610

>                - fsl,vf610m4

>

> -      - description: LS1021A based Boards

> +      - description: LS1012A based Boards


Well, yes that was wrong...

>          items:

>            - enum:

>                - fsl,ls1012a-rdb

>                - fsl,ls1012a-frdm

>                - fsl,ls1012a-qds

> +              - ebs-systart,oxalis


Sort alphabetically.

>            - const: fsl,ls1021a


And this is wrong too.

I you just change it, then we will be missing an entry for LS1021A.
What's the status of that SoC because there is no board dts file? We
should not have .dtsi files in the kernel which don't get built.

Rob
Manivannan Sadhasivam Jan. 14, 2019, 6:10 p.m. UTC | #2
Hi Rob,

On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote:
> On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam

> <manivannan.sadhasivam@linaro.org> wrote:

> >

> > Add devicetree binding for Oxalis board in JSON format. While adding

> > that, let's fix the description for LS1012A also.

> >

> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > ---

> >  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

> >  1 file changed, 2 insertions(+), 1 deletion(-)

> >

> > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml

> > index d34fe0749199..0f30142fe316 100644

> > --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> > @@ -173,12 +173,13 @@ properties:

> >                - fsl,vf610

> >                - fsl,vf610m4

> >

> > -      - description: LS1021A based Boards

> > +      - description: LS1012A based Boards

> 

> Well, yes that was wrong...

> 

> >          items:

> >            - enum:

> >                - fsl,ls1012a-rdb

> >                - fsl,ls1012a-frdm

> >                - fsl,ls1012a-qds

> > +              - ebs-systart,oxalis

> 

> Sort alphabetically.

> 


Okay.

> >            - const: fsl,ls1021a

> 

> And this is wrong too.

> 


Ah, I missed this ;-)

> I you just change it, then we will be missing an entry for LS1021A.

> What's the status of that SoC because there is no board dts file? We

> should not have .dtsi files in the kernel which don't get built.

> 


I don't know much about LS1021A. Shawn should have an idea!

Thanks,
Mani

> Rob
Shawn Guo Jan. 16, 2019, 2:21 a.m. UTC | #3
On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote:
> On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam

> <manivannan.sadhasivam@linaro.org> wrote:

> >

> > Add devicetree binding for Oxalis board in JSON format. While adding

> > that, let's fix the description for LS1012A also.

> >

> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > ---

> >  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

> >  1 file changed, 2 insertions(+), 1 deletion(-)

> >

> > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml

> > index d34fe0749199..0f30142fe316 100644

> > --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> > @@ -173,12 +173,13 @@ properties:

> >                - fsl,vf610

> >                - fsl,vf610m4

> >

> > -      - description: LS1021A based Boards

> > +      - description: LS1012A based Boards

> 

> Well, yes that was wrong...

> 

> >          items:

> >            - enum:

> >                - fsl,ls1012a-rdb

> >                - fsl,ls1012a-frdm

> >                - fsl,ls1012a-qds

> > +              - ebs-systart,oxalis

> 

> Sort alphabetically.

> 

> >            - const: fsl,ls1021a

> 

> And this is wrong too.

> 

> I you just change it, then we will be missing an entry for LS1021A.

> What's the status of that SoC because there is no board dts file? We

> should not have .dtsi files in the kernel which don't get built.


Hmm, I do not see any LS1021A SoC .dtsi in the tree.  I suspect it's
just a typo of LS1012A.

@Leo, do we have a LS1021A SoC?

Shawn
Rob Herring Jan. 16, 2019, 4:07 a.m. UTC | #4
On Tue, Jan 15, 2019 at 8:21 PM Shawn Guo <shawnguo@kernel.org> wrote:
>

> On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote:

> > On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam

> > <manivannan.sadhasivam@linaro.org> wrote:

> > >

> > > Add devicetree binding for Oxalis board in JSON format. While adding

> > > that, let's fix the description for LS1012A also.

> > >

> > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > > ---

> > >  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

> > >  1 file changed, 2 insertions(+), 1 deletion(-)

> > >

> > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > index d34fe0749199..0f30142fe316 100644

> > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > @@ -173,12 +173,13 @@ properties:

> > >                - fsl,vf610

> > >                - fsl,vf610m4

> > >

> > > -      - description: LS1021A based Boards

> > > +      - description: LS1012A based Boards

> >

> > Well, yes that was wrong...

> >

> > >          items:

> > >            - enum:

> > >                - fsl,ls1012a-rdb

> > >                - fsl,ls1012a-frdm

> > >                - fsl,ls1012a-qds

> > > +              - ebs-systart,oxalis

> >

> > Sort alphabetically.

> >

> > >            - const: fsl,ls1021a

> >

> > And this is wrong too.

> >

> > I you just change it, then we will be missing an entry for LS1021A.

> > What's the status of that SoC because there is no board dts file? We

> > should not have .dtsi files in the kernel which don't get built.

>

> Hmm, I do not see any LS1021A SoC .dtsi in the tree.  I suspect it's

> just a typo of LS1012A.

>

> @Leo, do we have a LS1021A SoC?


arch/arm/boot/dts/ls1021a.dtsi

Rob
Shawn Guo Jan. 16, 2019, 10:14 a.m. UTC | #5
On Tue, Jan 15, 2019 at 10:07:12PM -0600, Rob Herring wrote:
> On Tue, Jan 15, 2019 at 8:21 PM Shawn Guo <shawnguo@kernel.org> wrote:

> >

> > On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote:

> > > On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam

> > > <manivannan.sadhasivam@linaro.org> wrote:

> > > >

> > > > Add devicetree binding for Oxalis board in JSON format. While adding

> > > > that, let's fix the description for LS1012A also.

> > > >

> > > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> > > > ---

> > > >  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

> > > >  1 file changed, 2 insertions(+), 1 deletion(-)

> > > >

> > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > index d34fe0749199..0f30142fe316 100644

> > > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > @@ -173,12 +173,13 @@ properties:

> > > >                - fsl,vf610

> > > >                - fsl,vf610m4

> > > >

> > > > -      - description: LS1021A based Boards

> > > > +      - description: LS1012A based Boards

> > >

> > > Well, yes that was wrong...

> > >

> > > >          items:

> > > >            - enum:

> > > >                - fsl,ls1012a-rdb

> > > >                - fsl,ls1012a-frdm

> > > >                - fsl,ls1012a-qds

> > > > +              - ebs-systart,oxalis

> > >

> > > Sort alphabetically.

> > >

> > > >            - const: fsl,ls1021a

> > >

> > > And this is wrong too.

> > >

> > > I you just change it, then we will be missing an entry for LS1021A.

> > > What's the status of that SoC because there is no board dts file? We

> > > should not have .dtsi files in the kernel which don't get built.

> >

> > Hmm, I do not see any LS1021A SoC .dtsi in the tree.  I suspect it's

> > just a typo of LS1012A.

> >

> > @Leo, do we have a LS1021A SoC?

> 

> arch/arm/boot/dts/ls1021a.dtsi


Oops, I only searched arm64 folder.

So it seems the compatible of the boards below are missing there.

  ls1021a-moxa-uc-8410a.dts
  ls1021a-qds.dts
  ls1021a-twr.dts

Shawn
Leo Li Jan. 21, 2019, 7:57 p.m. UTC | #6
> -----Original Message-----

> From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> Sent: Monday, January 21, 2019 12:10 AM

> To: Shawn Guo <shawnguo@kernel.org>; Rob Herring <robh+dt@kernel.org>

> Cc: Leo Li <leoyang.li@nxp.com>; moderated list:ARM/FREESCALE IMX / MXC

> ARM ARCHITECTURE <linux-arm-kernel@lists.infradead.org>;

> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;

> a.tropschug@ebs-systart.com; m.bittner@ebs-systart.com; Amit Kucheria

> <amit.kucheria@linaro.org>

> Subject: Re: [PATCH v2 2/3] dt-bindings: arm: fsl: Add devicetree binding for

> Oxalis

> 

> On Wed, Jan 16, 2019 at 06:14:43PM +0800, Shawn Guo wrote:

> > On Tue, Jan 15, 2019 at 10:07:12PM -0600, Rob Herring wrote:

> > > On Tue, Jan 15, 2019 at 8:21 PM Shawn Guo <shawnguo@kernel.org>

> wrote:

> > > >

> > > > On Mon, Jan 14, 2019 at 12:02:47PM -0600, Rob Herring wrote:

> > > > > On Mon, Jan 14, 2019 at 4:21 AM Manivannan Sadhasivam

> > > > > <manivannan.sadhasivam@linaro.org> wrote:

> > > > > >

> > > > > > Add devicetree binding for Oxalis board in JSON format. While

> > > > > > adding that, let's fix the description for LS1012A also.

> > > > > >

> > > > > > Signed-off-by: Manivannan Sadhasivam

> > > > > > <manivannan.sadhasivam@linaro.org>

> > > > > > ---

> > > > > >  Documentation/devicetree/bindings/arm/fsl.yaml | 3 ++-

> > > > > >  1 file changed, 2 insertions(+), 1 deletion(-)

> > > > > >

> > > > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > > > b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > > > index d34fe0749199..0f30142fe316 100644

> > > > > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml

> > > > > > @@ -173,12 +173,13 @@ properties:

> > > > > >                - fsl,vf610

> > > > > >                - fsl,vf610m4

> > > > > >

> > > > > > -      - description: LS1021A based Boards

> > > > > > +      - description: LS1012A based Boards

> > > > >

> > > > > Well, yes that was wrong...

> > > > >

> > > > > >          items:

> > > > > >            - enum:

> > > > > >                - fsl,ls1012a-rdb

> > > > > >                - fsl,ls1012a-frdm

> > > > > >                - fsl,ls1012a-qds

> > > > > > +              - ebs-systart,oxalis

> > > > >

> > > > > Sort alphabetically.

> > > > >

> > > > > >            - const: fsl,ls1021a

> > > > >

> > > > > And this is wrong too.

> > > > >

> > > > > I you just change it, then we will be missing an entry for LS1021A.

> > > > > What's the status of that SoC because there is no board dts

> > > > > file? We should not have .dtsi files in the kernel which don't get built.

> > > >

> > > > Hmm, I do not see any LS1021A SoC .dtsi in the tree.  I suspect

> > > > it's just a typo of LS1012A.

> > > >

> > > > @Leo, do we have a LS1021A SoC?

> > >

> > > arch/arm/boot/dts/ls1021a.dtsi

> >

> > Oops, I only searched arm64 folder.

> >

> > So it seems the compatible of the boards below are missing there.

> >

> >   ls1021a-moxa-uc-8410a.dts

> >   ls1021a-qds.dts

> >   ls1021a-twr.dts

> 

> So how should we proceed here? The above mentioned boards are lacking

> compatible in dts files and I guess that's the reason they didn't get

> mentioned in "fsl" binding file.

> 

> Should I just go ahead and add the compatibles for these boards and list

> them in binding file?


Please go ahead and do that.  One thing is that the moxa-uc-8410a board is a 3rd-party board, not sure if it should belong to the fsl binding file.

Regards,
Leo
Shawn Guo Jan. 22, 2019, 3 a.m. UTC | #7
On Mon, Jan 21, 2019 at 07:57:20PM +0000, Leo Li wrote:
> > > So it seems the compatible of the boards below are missing there.

> > >

> > >   ls1021a-moxa-uc-8410a.dts

> > >   ls1021a-qds.dts

> > >   ls1021a-twr.dts

> > 

> > So how should we proceed here? The above mentioned boards are lacking

> > compatible in dts files and I guess that's the reason they didn't get

> > mentioned in "fsl" binding file.

> > 

> > Should I just go ahead and add the compatibles for these boards and list

> > them in binding file?

> 

> Please go ahead and do that.  One thing is that the moxa-uc-8410a board is a 3rd-party board, not sure if it should belong to the fsl binding file.


The fsl.yaml is designed to contain various boards using fsl SoCs, so
it's fine.

Shawn
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index d34fe0749199..0f30142fe316 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -173,12 +173,13 @@  properties:
               - fsl,vf610
               - fsl,vf610m4
 
-      - description: LS1021A based Boards
+      - description: LS1012A based Boards
         items:
           - enum:
               - fsl,ls1012a-rdb
               - fsl,ls1012a-frdm
               - fsl,ls1012a-qds
+              - ebs-systart,oxalis
           - const: fsl,ls1021a
 
       - description: LS1043A based Boards