devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
@ 2022-11-18 13:41 Fabio Estevam
  2022-11-19  3:21 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2022-11-18 13:41 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

make dtbs_check gives the following errors:

ref-clock-frequency: size (9) error for type uint32
tcxo-clock-frequency: size (9) error for type uint32

Fix it by passing the frequencies inside < > as documented in
Documentation/devicetree/bindings/net/wireless/ti,wlcore.yaml.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/imx6q-prti6q.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-prti6q.dts b/arch/arm/boot/dts/imx6q-prti6q.dts
index b4605edfd2ab..d8fa83effd63 100644
--- a/arch/arm/boot/dts/imx6q-prti6q.dts
+++ b/arch/arm/boot/dts/imx6q-prti6q.dts
@@ -364,8 +364,8 @@ wifi {
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_wifi>;
 		interrupts-extended = <&gpio1 30 IRQ_TYPE_LEVEL_HIGH>;
-		ref-clock-frequency = "38400000";
-		tcxo-clock-frequency = "19200000";
+		ref-clock-frequency = <38400000>;
+		tcxo-clock-frequency = <19200000>;
 	};
 };
 
-- 
2.25.1


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

* Re: [PATCH] ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
  2022-11-18 13:41 [PATCH] ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties Fabio Estevam
@ 2022-11-19  3:21 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2022-11-19  3:21 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	Fabio Estevam

On Fri, Nov 18, 2022 at 10:41:02AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> make dtbs_check gives the following errors:
> 
> ref-clock-frequency: size (9) error for type uint32
> tcxo-clock-frequency: size (9) error for type uint32
> 
> Fix it by passing the frequencies inside < > as documented in
> Documentation/devicetree/bindings/net/wireless/ti,wlcore.yaml.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Fixes: 0d446a505592 ("ARM: dts: add Protonic PRTI6Q board")

Applied with the Fixes tag, thanks!

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

end of thread, other threads:[~2022-11-19  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 13:41 [PATCH] ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties Fabio Estevam
2022-11-19  3:21 ` 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).