]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: alt: use correct logic for SD WP pins
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 5 Sep 2017 17:26:31 +0000 (19:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:20:08 +0000 (11:20 +0200)
The WP pins are ACTIVE_HIGH, fix it in the DTS.

Fixes: 2b41091b896b ("ARM: dts: alt: add SDHI0 and 1 support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7794-alt.dts

index e45f92b5eb1107900f9d5f152d9ad4702bc60928..bd98790d964e13a7afbf50c67ef9ce6a8e3490f6 100644 (file)
        vmmc-supply = <&vcc_sdhi0>;
        vqmmc-supply = <&vccq_sdhi0>;
        cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
-       wp-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>;
+       wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
        sd-uhs-sdr50;
        sd-uhs-sdr104;
        status = "okay";
        vmmc-supply = <&vcc_sdhi1>;
        vqmmc-supply = <&vccq_sdhi1>;
        cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
-       wp-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
+       wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
        sd-uhs-sdr50;
        status = "okay";
 };