Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: logicpd-som-lv: Fix MMC1 card detect

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>

authored by

Adam Ford and committed by
Tony Lindgren
6a38df67 11e600a8

+1 -1
+1 -1
arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
··· 153 153 pinctrl-names = "default"; 154 154 pinctrl-0 = <&mmc1_pins>; 155 155 wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ 156 - cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */ 156 + cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* gpio_110 */ 157 157 vmmc-supply = <&vmmc1>; 158 158 bus-width = <4>; 159 159 cap-power-off-card;