]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: allwinner: H5: remove redundant MMC0 card detect pin
authorAndre Przywara <andre.przywara@arm.com>
Sat, 25 Nov 2017 12:01:59 +0000 (12:01 +0000)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 27 Nov 2017 08:23:28 +0000 (09:23 +0100)
PF6 is mostly used as the CD pin for the microSD slot on H5 based
boards. So far we were referencing this pin twice: once using the
mmc0_cd_pin phandle, and then again directly as a GPIO via the pinctrl
phandle.
This will cause problems if the pinctrl driver enables strict mode, as
the second request will fail now, leading to a driver init failure.
Remove the redundant pin reference via the mmc0_cd_pin phandle.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reported-by: Chris Obbard <obbardc@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts

index 7c028af58f476b713911865df1831191d14e2949..ea1101293892aafaafc2a1a71f1ed549c362d580 100644 (file)
@@ -135,7 +135,7 @@ &ehci3 {
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
index 6eb8092d8e575a04682a3f5f7af514529f2a95c7..f1447003ea3cb112a2dca9aacbb1d0d468356a28 100644 (file)
@@ -127,7 +127,7 @@ ext_rgmii_phy: ethernet-phy@7 {
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
index a0ca925175aaca0a2c86d7d74bda3b50124feaf3..9e51d3a5f4e6baf6bd7a93269e64ef9285dcb483 100644 (file)
@@ -161,7 +161,7 @@ &ir {
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
index b477906501444fff0a1aab2d9da94e6065333f4d..0f25c4a6f15d36d2da6ca3b92fb7d4a82bd714a5 100644 (file)
@@ -168,7 +168,7 @@ &ir {
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
index ddc4d7071a011349a835f7a1ff65a18d05daac02..d34939909b9f9323d620b004d77958ea6f41ccca 100644 (file)
@@ -75,7 +75,7 @@ wifi_pwrseq: wifi_pwrseq {
 
 &mmc0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;