]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: imx35-eukrea-mbimxsd35-baseboard: Fix the 'cd-gpios' property
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 16 Oct 2017 22:34:03 +0000 (20:34 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Oct 2017 00:19:41 +0000 (08:19 +0800)
The GPIO polarity is missing in the cd-gpios property.

Fix it, so that the following build warning is gone:

  DTC     arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dtb
arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dtb: Warning (gpios_property): cd-gpios property size (8) too small for cell size 2 in /soc/aips@53f00000/esdhc@53fb400

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx35-eukrea-mbimxsd35-baseboard.dts

index e9357131b026e33140d3928cd284ef976d0278be..ae98d67590747adf8eae32a57cc018e73c4bfdd6 100644 (file)
@@ -65,7 +65,7 @@
 &esdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_esdhc1>;
-       cd-gpios = <&gpio3 24>;
+       cd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
        status = "okay";
 };