linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: lx2160a: Update can node property
@ 2022-04-02 19:08 Kuldeep Singh
  2022-04-11  1:04 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Kuldeep Singh @ 2022-04-02 19:08 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-kernel, devicetree, linux-kernel

fsl,clk-source property is of type uint8 and need to be defined as
"/bits/ 8 <0>". Simply setting value to 0 raise warning:
can@2180000: fsl,clk-source:0: [0, 0, 0, 0] is too long

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index c5daa15b020d..82bd8c0f318b 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -909,7 +909,7 @@ can0: can@2180000 {
 					    QORIQ_CLK_PLL_DIV(8)>,
 				 <&clockgen QORIQ_CLK_SYSCLK 0>;
 			clock-names = "ipg", "per";
-			fsl,clk-source = <0>;
+			fsl,clk-source = /bits/ 8 <0>;
 			status = "disabled";
 		};
 
@@ -921,7 +921,7 @@ can1: can@2190000 {
 					    QORIQ_CLK_PLL_DIV(8)>,
 				 <&clockgen QORIQ_CLK_SYSCLK 0>;
 			clock-names = "ipg", "per";
-			fsl,clk-source = <0>;
+			fsl,clk-source = /bits/ 8 <0>;
 			status = "disabled";
 		};
 
-- 
2.25.1


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

* Re: [PATCH] arm64: dts: lx2160a: Update can node property
  2022-04-02 19:08 [PATCH] arm64: dts: lx2160a: Update can node property Kuldeep Singh
@ 2022-04-11  1:04 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2022-04-11  1:04 UTC (permalink / raw)
  To: Kuldeep Singh
  Cc: Li Yang, Rob Herring, Krzysztof Kozlowski, linux-arm-kernel,
	devicetree, linux-kernel

On Sun, Apr 03, 2022 at 12:38:55AM +0530, Kuldeep Singh wrote:
> fsl,clk-source property is of type uint8 and need to be defined as
> "/bits/ 8 <0>". Simply setting value to 0 raise warning:
> can@2180000: fsl,clk-source:0: [0, 0, 0, 0] is too long
> 
> Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>

Applied, thanks!

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

end of thread, other threads:[~2022-04-11  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-02 19:08 [PATCH] arm64: dts: lx2160a: Update can node property Kuldeep Singh
2022-04-11  1:04 ` 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).