]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: marvell: samsung,coreprimevelte: Correct CD GPIO
authorDuje Mihanović <duje@dujemihanovic.xyz>
Sat, 13 Sep 2025 21:21:04 +0000 (23:21 +0200)
committerDuje Mihanović <duje@dujemihanovic.xyz>
Mon, 13 Oct 2025 10:11:37 +0000 (12:11 +0200)
Right now, the CD GPIO is defined as active high with a cd-inverted
property. Just define the GPIO as active low instead.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts

index cc54ab87424412142e9419b81962f0ff7e79ea15..0990c3e21bd394fe9392d74630bf5bb02fe8d536 100644 (file)
 &sdh0 {
        pinctrl-names = "default";
        pinctrl-0 = <&sdh0_pins_0 &sdh0_pins_1 &sdh0_pins_2>;
-       cd-gpios = <&gpio 11 0>;
-       cd-inverted;
+       cd-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
        bus-width = <4>;
        wp-inverted;
        vmmc-supply = <&ldo14>;