ARM: dts: logicpd-som-lv: Fix MMC1 card detect
authorAdam Ford <aford173@gmail.com>
Tue, 30 Apr 2019 12:47:44 +0000 (07:47 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 30 Apr 2019 15:49:25 +0000 (08:49 -0700)
The card detect pin was incorrectly using IRQ_TYPE_LEVEL_LOW
instead of GPIO_ACTIVE_LOW when reading the state of the CD pin.

This was previosly fixed on Torpedo, but missed on the SOM-LV

Fixes: 5cb8b0fa55a9 ("ARM: dts: Move most of logicpd-som-lv-37xx-devkit.dts to logicpd-som-lv-baseboard.dtsi")
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi

index 4990ed90dcea44020002b7de85c951d8396acfc5..3e39b9a1f35d02b9d87aa9d0b9840a65b75157bc 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&mmc1_pins>;
        wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;                /* gpio_126 */
-       cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>;              /* gpio_110 */
+       cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>;                 /* gpio_110 */
        vmmc-supply = <&vmmc1>;
        bus-width = <4>;
        cap-power-off-card;