linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6sll: Use 'dma-names'
@ 2025-09-08 16:44 Fabio Estevam
  2025-09-08 20:50 ` Frank Li
  2025-09-11  3:33 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-09-08 16:44 UTC (permalink / raw)
  To: shawnguo
  Cc: robh, krzk+dt, conor+dt, imx, devicetree, linux-arm-kernel,
	Fabio Estevam

'dma-name' is not a valid property and causes the following dt-schema
warning:

dma-name: b'rx\x00tx\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'

Fix it by using 'dma-names' instead.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
index 8c5ca4f9b87f..704870e8c10c 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
@@ -309,7 +309,7 @@ uart3: serial@2034000 {
 					reg = <0x02034000 0x4000>;
 					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
 					dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
-					dma-name = "rx", "tx";
+					dma-names = "rx", "tx";
 					clocks = <&clks IMX6SLL_CLK_UART3_IPG>,
 						 <&clks IMX6SLL_CLK_UART3_SERIAL>;
 					clock-names = "ipg", "per";
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: imx6sll: Use 'dma-names'
  2025-09-08 16:44 [PATCH] ARM: dts: imx6sll: Use 'dma-names' Fabio Estevam
@ 2025-09-08 20:50 ` Frank Li
  2025-09-11  3:33 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Li @ 2025-09-08 20:50 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: shawnguo, robh, krzk+dt, conor+dt, imx, devicetree,
	linux-arm-kernel

On Mon, Sep 08, 2025 at 01:44:31PM -0300, Fabio Estevam wrote:
> 'dma-name' is not a valid property and causes the following dt-schema
> warning:
>
> dma-name: b'rx\x00tx\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'
>
> Fix it by using 'dma-names' instead.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

>  arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
> index 8c5ca4f9b87f..704870e8c10c 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi
> @@ -309,7 +309,7 @@ uart3: serial@2034000 {
>  					reg = <0x02034000 0x4000>;
>  					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
>  					dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
> -					dma-name = "rx", "tx";
> +					dma-names = "rx", "tx";
>  					clocks = <&clks IMX6SLL_CLK_UART3_IPG>,
>  						 <&clks IMX6SLL_CLK_UART3_SERIAL>;
>  					clock-names = "ipg", "per";
> --
> 2.34.1
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: imx6sll: Use 'dma-names'
  2025-09-08 16:44 [PATCH] ARM: dts: imx6sll: Use 'dma-names' Fabio Estevam
  2025-09-08 20:50 ` Frank Li
@ 2025-09-11  3:33 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2025-09-11  3:33 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: shawnguo, robh, krzk+dt, conor+dt, imx, devicetree,
	linux-arm-kernel

On Mon, Sep 08, 2025 at 01:44:31PM -0300, Fabio Estevam wrote:
> 'dma-name' is not a valid property and causes the following dt-schema
> warning:
> 
> dma-name: b'rx\x00tx\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'
> 
> Fix it by using 'dma-names' instead.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied, thanks!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-11  3:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 16:44 [PATCH] ARM: dts: imx6sll: Use 'dma-names' Fabio Estevam
2025-09-08 20:50 ` Frank Li
2025-09-11  3:33 ` Shawn Guo

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).