Skip to content

Commit ac9c908

Browse files
spinal84tmlind
authored andcommitted
ARM: dts: n900: fix mmc1 card detect gpio polarity
Wrong polarity of card detect GPIO pin leads to the system not booting from external mmc, if the back cover of N900 is closed. When the cover is open the system boots fine. This wasn't noticed before, because of a bug, which was fixed by commit e63201f (mmc: omap_hsmmc: Delete platform data GPIO CD and WP). Kernels up to 4.19 ignored the card detect GPIO from DT. Fixes: e63201f ("mmc: omap_hsmmc: Delete platform data GPIO CD and WP") Signed-off-by: Arthur Demchenkov <spinal.by@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 5b90df4 commit ac9c908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/omap3-n900.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@
814814
/* For debugging, it is often good idea to remove this GPIO.
815815
It means you can remove back cover (to reboot by removing
816816
battery) and still use the MMC card. */
817-
cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */
817+
cd-gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* 160 */
818818
};
819819

820820
/* most boards use vaux3, only some old versions use vmmc2 instead */

0 commit comments

Comments
 (0)