]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sunxi: h3-h5: remove mmc0 card detection pin from pinctrl
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Thu, 8 Feb 2018 12:01:38 +0000 (14:01 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 14 Feb 2018 12:18:03 +0000 (13:18 +0100)
The GPIO card detection pin (mmc0_cd_pin) is already requested and
configured by mmc_gpiod_request_cd() in drivers/mmc/core/slot-gpio.c
so pinctrl is not needed.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi
arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
arch/arm/boot/dts/sunxi-h3-h5.dtsi

index 3a196a86a984a49376b5ac949934ad68e359d653..781270fb79c3e5ae4ac305ed659a715c6512d185 100644 (file)
@@ -137,7 +137,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 7824f0dbf022f0a630bb248ed59d7aa032d052e3..20bbe2d712d0c5415a378c14ddfac519345926ec 100644 (file)
@@ -116,7 +116,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 48563adc74304788224d1f189cc7e4799c6d5a45..1e2aa6bc7a7f923690f00e8b4f02559057645b04 100644 (file)
@@ -81,7 +81,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_LOW>; /* PF6 */
index e9af61394f5d379f375e22b6c44b26edfaa4555b..32bf624dc59d9b12771cba303b0fc181be21f424 100644 (file)
@@ -97,7 +97,7 @@ &mmc0 {
        bus-width = <4>;
        cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default";
-       pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
+       pinctrl-0 = <&mmc0_pins_a>;
        status = "okay";
        vmmc-supply = <&reg_vcc3v3>;
 };
index 629f76b85005a85960f06032a51a21c751e68f6a..99bce9822cad4c2cbb7a22c5ceb74b626e35cda6 100644 (file)
@@ -133,7 +133,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 398f975b380d415cb1358f21ee8498a4b4de810f..df444056001a0957929d626b85c6aa2c74a70dc5 100644 (file)
@@ -107,7 +107,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 40941fef4ff3b0d46f5d2c654a8896bad7ddeb65..4a4236b13220eb97542796e761535eed59f767a7 100644 (file)
@@ -107,7 +107,7 @@ &emac {
 
 &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 c4769def8cd646b7dff8d2cc7410d65136a1344d..583aae37694dc1df6a5b31bb30f7b35513ec7e9f 100644 (file)
@@ -129,7 +129,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 7a83b15225c7ce4d1d181cdc9d7671e5479b1dc7..6521d0f6a282be6e798839076f2fb9f0141c5f9b 100644 (file)
@@ -356,12 +356,6 @@ mmc0_pins_a: mmc0 {
                                bias-pull-up;
                        };
 
-                       mmc0_cd_pin: mmc0_cd_pin {
-                               pins = "PF6";
-                               function = "gpio_in";
-                               bias-pull-up;
-                       };
-
                        mmc1_pins_a: mmc1 {
                                pins = "PG0", "PG1", "PG2", "PG3",
                                       "PG4", "PG5";