]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: omap_hsmmc: Fix pbias for omap3_logic to enable CD pin
authorAdam Ford <aford173@gmail.com>
Wed, 5 Sep 2018 09:11:08 +0000 (04:11 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 26 Sep 2018 01:49:18 +0000 (21:49 -0400)
commitff01f0a91d0c56aac6e21690bb0c2c67dd44cf13
treeda43ec05246117a978feac86a0167ec6e8242dd0
parent48768531d131b94c8bd777f86ca39121e91bc7b8
mmc: omap_hsmmc: Fix pbias for omap3_logic to enable CD pin

The MMC card detect pin is connected to gpio127 on omap3_logic.
When setting up the pbias register for MMC, let's also enable
gpio_127 for the card detect.  As part of the package deal,
gpio_126 and gpio_129 are also enabled.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/include/asm/arch-omap3/mmc_host_def.h
drivers/mmc/omap_hsmmc.c