* [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
@ 2024-06-27 20:33 Frank Li
2024-06-27 21:53 ` Vladimir Oltean
2024-06-28 7:21 ` Krzysztof Kozlowski
0 siblings, 2 replies; 6+ messages in thread
From: Frank Li @ 2024-06-27 20:33 UTC (permalink / raw)
To: Vladimir Oltean, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
Add dmas and dma-names properties because dspi support dma transfer.
Fix below warnings:
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/spi/fsl,dspi.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
index eb3deac49bb1a..7ca8fceda7179 100644
--- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
+++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
@@ -51,6 +51,16 @@ properties:
items:
- const: dspi
+ dmas:
+ items:
+ - description: DMA controller phandle and request line for TX
+ - description: DMA controller phandle and request line for RX
+
+ dma-names:
+ items:
+ - const: tx
+ - const: rx
+
spi-num-chipselects:
$ref: /schemas/types.yaml#/definitions/uint32
description:
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-06-27 20:33 [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
@ 2024-06-27 21:53 ` Vladimir Oltean
2024-06-27 22:07 ` Frank Li
2024-06-28 12:38 ` Mark Brown
2024-06-28 7:21 ` Krzysztof Kozlowski
1 sibling, 2 replies; 6+ messages in thread
From: Vladimir Oltean @ 2024-06-27 21:53 UTC (permalink / raw)
To: Frank Li
Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Thu, Jun 27, 2024 at 04:33:08PM -0400, Frank Li wrote:
> Add dmas and dma-names properties because dspi support dma transfer.
> Fix below warnings:
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
> from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
For the contents:
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
and FWIW, I noticed this as well, but didn't want to put yet another
roadblock in the conversion of a binding which was way overdue.
I was planning to send a patch as well, once the binding was merged.
But... to whose tree is this targeted? I only got a notification
from Shawn for patch 3/3 (the device tree change), but none for the
acceptance of the other 2 patches.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-06-27 21:53 ` Vladimir Oltean
@ 2024-06-27 22:07 ` Frank Li
2024-06-27 22:13 ` Vladimir Oltean
2024-06-28 12:38 ` Mark Brown
1 sibling, 1 reply; 6+ messages in thread
From: Frank Li @ 2024-06-27 22:07 UTC (permalink / raw)
To: Vladimir Oltean
Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Fri, Jun 28, 2024 at 12:53:38AM +0300, Vladimir Oltean wrote:
> On Thu, Jun 27, 2024 at 04:33:08PM -0400, Frank Li wrote:
> > Add dmas and dma-names properties because dspi support dma transfer.
> > Fix below warnings:
> > arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
> > from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
>
> For the contents:
>
> Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
>
> and FWIW, I noticed this as well, but didn't want to put yet another
> roadblock in the conversion of a binding which was way overdue.
> I was planning to send a patch as well, once the binding was merged.
>
> But... to whose tree is this targeted? I only got a notification
> from Shawn for patch 3/3 (the device tree change), but none for the
> acceptance of the other 2 patches.
This patch base on the below patch:
https://lore.kernel.org/imx/20240624-ls_qspi-v4-0-3d1c6f5005bf@nxp.com/T/#t
Sorry, I miss understand 3 patches already picked. Actually only pick 3rd
one.
Frank
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-06-27 22:07 ` Frank Li
@ 2024-06-27 22:13 ` Vladimir Oltean
0 siblings, 0 replies; 6+ messages in thread
From: Vladimir Oltean @ 2024-06-27 22:13 UTC (permalink / raw)
To: Frank Li
Cc: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Thu, Jun 27, 2024 at 06:07:08PM -0400, Frank Li wrote:
> On Fri, Jun 28, 2024 at 12:53:38AM +0300, Vladimir Oltean wrote:
> > On Thu, Jun 27, 2024 at 04:33:08PM -0400, Frank Li wrote:
> > > Add dmas and dma-names properties because dspi support dma transfer.
> > > Fix below warnings:
> > > arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
> > > from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
> > >
> > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > > ---
> >
> > For the contents:
> >
> > Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
> >
> > and FWIW, I noticed this as well, but didn't want to put yet another
> > roadblock in the conversion of a binding which was way overdue.
> > I was planning to send a patch as well, once the binding was merged.
> >
> > But... to whose tree is this targeted? I only got a notification
> > from Shawn for patch 3/3 (the device tree change), but none for the
> > acceptance of the other 2 patches.
>
> This patch base on the below patch:
> https://lore.kernel.org/imx/20240624-ls_qspi-v4-0-3d1c6f5005bf@nxp.com/T/#t
>
> Sorry, I miss understand 3 patches already picked. Actually only pick 3rd
> one.
>
> Frank
>
Yup. I guess it's best to resend a new version of the (reduced) series
to the SPI tree now, with this patch rolled up into the dt-schema
conversion, and the review tags preserved.
But you might want to wait at least 24 hours since you sent this patch,
to allow people a chance to respond.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-06-27 21:53 ` Vladimir Oltean
2024-06-27 22:07 ` Frank Li
@ 2024-06-28 12:38 ` Mark Brown
1 sibling, 0 replies; 6+ messages in thread
From: Mark Brown @ 2024-06-28 12:38 UTC (permalink / raw)
To: Vladimir Oltean
Cc: Frank Li, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
On Fri, Jun 28, 2024 at 12:53:38AM +0300, Vladimir Oltean wrote:
> and FWIW, I noticed this as well, but didn't want to put yet another
> roadblock in the conversion of a binding which was way overdue.
> I was planning to send a patch as well, once the binding was merged.
If I've seen a report that a new binding introduces errors then I'm very
unlikely to apply it, I'd guess that's true for other maintainers too -
it's probably best to fix reported errors promptly by default.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-06-27 20:33 [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
2024-06-27 21:53 ` Vladimir Oltean
@ 2024-06-28 7:21 ` Krzysztof Kozlowski
1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-28 7:21 UTC (permalink / raw)
To: Frank Li, Vladimir Oltean, Mark Brown, Rob Herring,
Krzysztof Kozlowski, Conor Dooley,
open list:FREESCALE DSPI DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
On 27/06/2024 22:33, Frank Li wrote:
> Add dmas and dma-names properties because dspi support dma transfer.
> Fix below warnings:
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected)
> from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-06-28 12:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 20:33 [PATCH 1/1] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
2024-06-27 21:53 ` Vladimir Oltean
2024-06-27 22:07 ` Frank Li
2024-06-27 22:13 ` Vladimir Oltean
2024-06-28 12:38 ` Mark Brown
2024-06-28 7:21 ` Krzysztof Kozlowski
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).