Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-04-05 Thread Pratyush Yadav
On 01/04/21 03:13PM, Mark Brown wrote: > On Thu, Apr 01, 2021 at 01:09:32AM +0530, Pratyush Yadav wrote: > > > I did take a look by running git log on > > Documentation/devicetree/bindings/spi/ and there is no single style > > being used. Using "dt-bindings: spi:" is a popular choice. Some

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-04-01 Thread Mark Brown
On Thu, Apr 01, 2021 at 01:09:32AM +0530, Pratyush Yadav wrote: > I did take a look by running git log on > Documentation/devicetree/bindings/spi/ and there is no single style > being used. Using "dt-bindings: spi:" is a popular choice. Some other > commits just use "spi:". And then some use

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-04-01 Thread Pratyush Yadav
On 01/04/21 01:57PM, Vignesh Raghavendra wrote: > > > On 3/29/21 11:52 PM, Pratyush Yadav wrote: > >>> + cdns,fifo-depth: > >>> +description: > >>> + Size of the data FIFO in words. > >>> +$ref: "/schemas/types.yaml#/definitions/uint32" > >>> +enum: [ 128, 256 ] > >>> +

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-04-01 Thread Vignesh Raghavendra
On 3/29/21 11:52 PM, Pratyush Yadav wrote: >>> + cdns,fifo-depth: >>> +description: >>> + Size of the data FIFO in words. >>> +$ref: "/schemas/types.yaml#/definitions/uint32" >>> +enum: [ 128, 256 ] >>> +default: 128 >>> + >>> + cdns,fifo-width: >>> +$ref:

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-03-31 Thread Pratyush Yadav
On 31/03/21 08:11PM, Mark Brown wrote: > On Fri, Mar 26, 2021 at 06:30:34PM +0530, Pratyush Yadav wrote: > > From: Ramuthevar Vadivel Murugan > > > > > > There is no way as of now to have a parent or bus defining properties > > for child nodes. For now, avoid it in the example to silence

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-03-31 Thread Mark Brown
On Fri, Mar 26, 2021 at 06:30:34PM +0530, Pratyush Yadav wrote: > From: Ramuthevar Vadivel Murugan > > There is no way as of now to have a parent or bus defining properties > for child nodes. For now, avoid it in the example to silence warnings on > dt_schema_check. We can figure out how to deal

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-03-29 Thread Pratyush Yadav
On 27/03/21 12:36PM, Rob Herring wrote: > On Fri, Mar 26, 2021 at 06:30:34PM +0530, Pratyush Yadav wrote: > > From: Ramuthevar Vadivel Murugan > > > > > > There is no way as of now to have a parent or bus defining properties > > for child nodes. For now, avoid it in the example to silence

Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-03-27 Thread Rob Herring
On Fri, Mar 26, 2021 at 06:30:34PM +0530, Pratyush Yadav wrote: > From: Ramuthevar Vadivel Murugan > > There is no way as of now to have a parent or bus defining properties > for child nodes. For now, avoid it in the example to silence warnings on > dt_schema_check. We can figure out how to deal

[PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2021-03-26 Thread Pratyush Yadav
From: Ramuthevar Vadivel Murugan There is no way as of now to have a parent or bus defining properties for child nodes. For now, avoid it in the example to silence warnings on dt_schema_check. We can figure out how to deal with actual dts files later. Signed-off-by: Ramuthevar Vadivel Murugan