devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6q-prti6q: Fix the SDIO wifi node
@ 2023-07-31 20:36 Fabio Estevam
  2023-08-06 12:33 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-07-31 20:36 UTC (permalink / raw)
  To: shawnguo
  Cc: linux-arm-kernel, devicetree, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, Fabio Estevam

#address-cells, #size-cells and unit address are missing for the WL1271
Wifi chip description, which causes the following schema warning:

imx6q-prti6q.dtb: mmc@2194000: Unevaluated properties are not allowed ('wifi' was unexpected)

Pass the missing items to fix it.

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

diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts b/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts
index d8fa83effd63..3508a2cd928a 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts
@@ -359,8 +359,11 @@ &usdhc2 {
 	keep-power-in-suspend;
 	status = "okay";
 
-	wifi {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	wifi@2 {
 		compatible = "ti,wl1271";
+		reg = <2>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_wifi>;
 		interrupts-extended = <&gpio1 30 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.34.1


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

* Re: [PATCH] ARM: dts: imx6q-prti6q: Fix the SDIO wifi node
  2023-07-31 20:36 [PATCH] ARM: dts: imx6q-prti6q: Fix the SDIO wifi node Fabio Estevam
@ 2023-08-06 12:33 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2023-08-06 12:33 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: linux-arm-kernel, devicetree, robh+dt, krzysztof.kozlowski+dt,
	conor+dt

On Mon, Jul 31, 2023 at 05:36:10PM -0300, Fabio Estevam wrote:
> #address-cells, #size-cells and unit address are missing for the WL1271
> Wifi chip description, which causes the following schema warning:
> 
> imx6q-prti6q.dtb: mmc@2194000: Unevaluated properties are not allowed ('wifi' was unexpected)
> 
> Pass the missing items to fix it.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

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

end of thread, other threads:[~2023-08-06 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 20:36 [PATCH] ARM: dts: imx6q-prti6q: Fix the SDIO wifi node Fabio Estevam
2023-08-06 12: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).