devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning
@ 2024-05-20 20:41 Frank Li
  2024-05-20 20:41 ` [PATCH 1/2] arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep' Frank Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Frank Li @ 2024-05-20 20:41 UTC (permalink / raw)
  To: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, imx, Frank Li

Clean up some ls1028a dtb check warning

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep'
      arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning

 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 40 +++++++++++++-------------
 1 file changed, 20 insertions(+), 20 deletions(-)
---
base-commit: 50a93f763bb0c07c2093cf8ac89b29f29b464171
change-id: 20240520-ls_warning-da86335ae651

Best regards,
---
Frank Li <Frank.Li@nxp.com>


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

* [PATCH 1/2] arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep'
  2024-05-20 20:41 [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Frank Li
@ 2024-05-20 20:41 ` Frank Li
  2024-05-20 20:41 ` [PATCH 2/2] arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning Frank Li
  2024-06-15  8:32 ` [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2024-05-20 20:41 UTC (permalink / raw)
  To: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, imx, Frank Li

Remove the undocumented compatible string 'fsl,ls-pcie-ep' property from
the ls1028a device tree source to fix DTB_CHECK warnings.

arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: pcie-ep@3400000: compatible: ['fsl,ls1028a-pcie-ep', 'fsl,ls-pcie-ep'] is too long
	from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie-ep.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 83d19d040bdd4..f8b19b54e2afa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -674,7 +674,7 @@ pcie1: pcie@3400000 {
 		};
 
 		pcie_ep1: pcie-ep@3400000 {
-			compatible = "fsl,ls1028a-pcie-ep","fsl,ls-pcie-ep";
+			compatible = "fsl,ls1028a-pcie-ep";
 			reg = <0x00 0x03400000 0x0 0x00100000
 			       0x80 0x00000000 0x8 0x00000000>;
 			reg-names = "regs", "addr_space";
@@ -713,7 +713,7 @@ pcie2: pcie@3500000 {
 		};
 
 		pcie_ep2: pcie-ep@3500000 {
-			compatible = "fsl,ls1028a-pcie-ep","fsl,ls-pcie-ep";
+			compatible = "fsl,ls1028a-pcie-ep";
 			reg = <0x00 0x03500000 0x0 0x00100000
 			       0x88 0x00000000 0x8 0x00000000>;
 			reg-names = "regs", "addr_space";

-- 
2.34.1


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

* [PATCH 2/2] arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning
  2024-05-20 20:41 [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Frank Li
  2024-05-20 20:41 ` [PATCH 1/2] arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep' Frank Li
@ 2024-05-20 20:41 ` Frank Li
  2024-06-15  8:32 ` [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2024-05-20 20:41 UTC (permalink / raw)
  To: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, imx, Frank Li

Reorder the SAI dma-names to ensure "rx" precedes "tx" as required to fixes
the DTB_CHECK warning.

arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: audio-controller@f100000: dma-names:1: 'tx' was expected
	from schema $id: http://devicetree.org/schemas/sound/fsl,sai.yaml#
arm64/boot/dts/freescale/fsl-ls1028a-rdb.dtb: audio-controller@f110000: dma-names:1: 'tx' was expected

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 36 +++++++++++++-------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index f8b19b54e2afa..6552d404d1310 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -903,9 +903,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 4>,
-			       <&edma0 1 3>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 3>,
+			       <&edma0 1 4>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};
@@ -924,9 +924,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 6>,
-			       <&edma0 1 5>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 5>,
+			       <&edma0 1 6>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};
@@ -945,9 +945,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 8>,
-			       <&edma0 1 7>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 7>,
+			       <&edma0 1 8>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};
@@ -966,9 +966,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 10>,
-			       <&edma0 1 9>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 9>,
+			       <&edma0 1 10>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};
@@ -987,9 +987,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 12>,
-			       <&edma0 1 11>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 11>,
+			       <&edma0 1 12>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};
@@ -1008,9 +1008,9 @@ QORIQ_CLK_PLL_DIV(2)>,
 				 <&clockgen QORIQ_CLK_PLATFORM_PLL
 					    QORIQ_CLK_PLL_DIV(2)>;
 			clock-names = "bus", "mclk1", "mclk2", "mclk3";
-			dma-names = "tx", "rx";
-			dmas = <&edma0 1 14>,
-			       <&edma0 1 13>;
+			dma-names = "rx", "tx";
+			dmas = <&edma0 1 13>,
+			       <&edma0 1 14>;
 			fsl,sai-asynchronous;
 			status = "disabled";
 		};

-- 
2.34.1


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

* Re: [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning
  2024-05-20 20:41 [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Frank Li
  2024-05-20 20:41 ` [PATCH 1/2] arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep' Frank Li
  2024-05-20 20:41 ` [PATCH 2/2] arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning Frank Li
@ 2024-06-15  8:32 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2024-06-15  8:32 UTC (permalink / raw)
  To: Frank Li
  Cc: Shawn Guo, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-arm-kernel, devicetree, linux-kernel, imx

On Mon, May 20, 2024 at 04:41:30PM -0400, Frank Li wrote:
> Clean up some ls1028a dtb check warning
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Frank Li (2):
>       arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep'
>       arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning

Applied both, thanks!


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

end of thread, other threads:[~2024-06-15  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-20 20:41 [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning Frank Li
2024-05-20 20:41 ` [PATCH 1/2] arm64: dts: freescale: ls1028a: Remove undocumented 'fsl,ls-pcie-ep' Frank Li
2024-05-20 20:41 ` [PATCH 2/2] arm64: dts: freescale: ls1028a: Reorder sai dma-names to fix warning Frank Li
2024-06-15  8:32 ` [PATCH 0/2] arm64: dts: freescale: ls1028a: cleanup some DTB_CHECK Warning 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).