* [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
@ 2024-07-03 16:59 Frank Li
2024-07-03 16:59 ` [PATCH v2 2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi' Frank Li
2024-07-08 14:25 ` [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2024-07-03 16:59 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#
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v1 to v2
- Add Krzysztof's review tag
---
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 bd28335a6ac86..f16ac22291456 100644
--- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
+++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
@@ -48,6 +48,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 [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi'
2024-07-03 16:59 [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
@ 2024-07-03 16:59 ` Frank Li
2024-07-08 14:25 ` [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2024-07-03 16:59 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 compatible string 'fsl,lx2160a-dspi' and allow fall back to
'fsl,ls2085a-dspi'.
Fix below CHECK_DTBS warning.
arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb: spi@2100000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,lx2160a-dspi', 'fsl,ls2085a-dspi'] is too long
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change from v1 to v2
- new patch
---
Documentation/devicetree/bindings/spi/fsl,dspi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
index f16ac22291456..7ca8fceda7179 100644
--- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
+++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml
@@ -34,6 +34,9 @@ properties:
- items:
- const: fsl,ls2080a-dspi
- const: fsl,ls2085a-dspi
+ - items:
+ - const: fsl,lx2160a-dspi
+ - const: fsl,ls2085a-dspi
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
2024-07-03 16:59 [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
2024-07-03 16:59 ` [PATCH v2 2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi' Frank Li
@ 2024-07-08 14:25 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-07-08 14:25 UTC (permalink / raw)
To: Vladimir Oltean, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-spi, devicetree, linux-kernel, Frank Li
Cc: imx
On Wed, 03 Jul 2024 12:59:30 -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#
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties
commit: 2de9ae2044c4f6490dbbfb8d93fe6b8cc60c91d1
[2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi'
commit: 0f17a12787573dda66d2528fff27cd7362b34bfd
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-08 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03 16:59 [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Frank Li
2024-07-03 16:59 ` [PATCH v2 2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi' Frank Li
2024-07-08 14:25 ` [PATCH v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®