Skip to content

Commit 60ac8a7

Browse files
agxShawn Guo
authored andcommitted
arm64: dts: imx8mq-librem5-devkit: Drop power-supply
It's not a valid binding. Instead move the sdio_rst line to the power sequence and use w_disable1 as the vmmc-supply bringing it more in line with other SDIO M2 cards. Resolves following warning: arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dtb: mmc@30b50000: Unevaluated properties are not allowed ('power-supply' was unexpected) from schema $id: http://devicetree.org/schemas/mmc/fsl-imx-esdhc.yaml# Reported-by: David Heidelberg <[email protected]> Signed-off-by: Guido Günther <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 74cec60 commit 60ac8a7

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,6 @@
139139
regulator-always-on;
140140
};
141141

142-
reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
143-
compatible = "regulator-fixed";
144-
pinctrl-names = "default";
145-
pinctrl-0 = <&pinctrl_usdhc2_pwr>;
146-
regulator-name = "VSD_3V3";
147-
regulator-min-microvolt = <3300000>;
148-
regulator-max-microvolt = <3300000>;
149-
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
150-
enable-active-high;
151-
regulator-always-on;
152-
};
153-
154142
wwan_codec: sound-wwan-codec {
155143
compatible = "option,gtm601";
156144
#sound-dai-cells = <0>;
@@ -242,6 +230,13 @@
242230
enable-active-high;
243231
regulator-always-on;
244232
};
233+
234+
wifi_pwr_seq: pwrseq {
235+
pinctrl-names = "default";
236+
pinctrl-0 = <&pinctrl_usdhc2_rst>;
237+
compatible = "mmc-pwrseq-simple";
238+
reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
239+
};
245240
};
246241

247242
&A53_0 {
@@ -808,7 +803,7 @@
808803
>;
809804
};
810805

811-
pinctrl_usdhc2_pwr: usdhc2pwrgrp {
806+
pinctrl_usdhc2_rst: usdhc2rstgrp {
812807
fsl,pins = <
813808
MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
814809
>;
@@ -1031,8 +1026,8 @@
10311026
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
10321027
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
10331028
bus-width = <4>;
1034-
vmmc-supply = <&reg_usdhc2_vmmc>;
1035-
power-supply = <&wifi_pwr_en>;
1029+
vmmc-supply = <&wifi_pwr_en>;
1030+
mmc-pwrseq = <&wifi_pwr_seq>;
10361031
broken-cd;
10371032
disable-wp;
10381033
cap-sdio-irq;

0 commit comments

Comments
 (0)