Commit 60ac8a77 authored by Guido Günther's avatar Guido Günther Committed by Shawn Guo
Browse files

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: default avatarDavid Heidelberg <david@ixit.cz>
Signed-off-by: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 74cec60c
Loading
Loading
Loading
Loading
+10 −15
Original line number Original line Diff line number Diff line
@@ -139,18 +139,6 @@
		regulator-always-on;
		regulator-always-on;
	};
	};


	reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
		compatible = "regulator-fixed";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_usdhc2_pwr>;
		regulator-name = "VSD_3V3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
		enable-active-high;
		regulator-always-on;
	};

	wwan_codec: sound-wwan-codec {
	wwan_codec: sound-wwan-codec {
		compatible = "option,gtm601";
		compatible = "option,gtm601";
		#sound-dai-cells = <0>;
		#sound-dai-cells = <0>;
@@ -242,6 +230,13 @@
		enable-active-high;
		enable-active-high;
		regulator-always-on;
		regulator-always-on;
	};
	};

	wifi_pwr_seq: pwrseq {
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_usdhc2_rst>;
		compatible = "mmc-pwrseq-simple";
		reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
	};
};
};


&A53_0 {
&A53_0 {
@@ -808,7 +803,7 @@
		>;
		>;
	};
	};


	pinctrl_usdhc2_pwr: usdhc2pwrgrp {
	pinctrl_usdhc2_rst: usdhc2rstgrp {
		fsl,pins = <
		fsl,pins = <
			MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
			MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
		>;
		>;
@@ -1031,8 +1026,8 @@
	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
	bus-width = <4>;
	bus-width = <4>;
	vmmc-supply = <&reg_usdhc2_vmmc>;
	vmmc-supply = <&wifi_pwr_en>;
	power-supply = <&wifi_pwr_en>;
	mmc-pwrseq = <&wifi_pwr_seq>;
	broken-cd;
	broken-cd;
	disable-wp;
	disable-wp;
	cap-sdio-irq;
	cap-sdio-irq;