android_kernel_xiaomi_sdm845/arch/arm/mach-shmobile
Arnd Hannemann 68accd7370 ARM: mach-shmobile: ap4evb: Fix hotplug for SDHI1
On AP4EVB the card detect pin of the top SD/MMC slot is not directly
connected to the tmio/mmcif controller but to a GPIO pin, so polling
needs to be done for SDHI1 and MMCIF in order to support hotplug for
that slot. SHDI1 and MMCIF share that slot, and the used controller
is selected by a DIP switch.
This patch adds a helper function to check if a card is present in that
particular slot, registers this function with SDHI1 and MMCIF and enables
polling for SDHI1.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-10-29 00:29:14 +02:00
..
include/mach ARM: mach-shmobile: extend clock definitions on sh7372 2010-08-04 16:12:06 +09:00
board-ap4evb.c ARM: mach-shmobile: ap4evb: Fix hotplug for SDHI1 2010-10-29 00:29:14 +02:00
board-g3evm.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-g4evm.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
clock-sh7367.c ARM: mach-shmobile: sh7367 clock framework V2 2010-05-22 17:22:57 +09:00
clock-sh7372.c ARM: mach-shmobile: do not enable the PLLC2 clock on init 2010-08-18 16:31:12 +09:00
clock-sh7377.c ARM: mach-shmobile: sh7377 clock framework V2 2010-05-22 17:23:14 +09:00
clock.c ARM: mach-shmobile: Clock framework comment fix 2010-08-18 16:31:00 +09:00
console.c ARM: mach-shmobile: early console support using earlyprintk 2010-02-09 10:34:12 +09:00
intc-sh7367.c ARM: mach-shmobile: Add missing __initdata on intcs sh7367/sh7377 2010-04-07 16:26:47 +09:00
intc-sh7372.c ARM: mach-shmobile: sh7372 INTCS support 2010-05-20 12:00:44 +09:00
intc-sh7377.c ARM: mach-shmobile: Add missing __initdata on intcs sh7367/sh7377 2010-04-07 16:26:47 +09:00
Kconfig ARM: mach-shmobile: ap4evb: Add LCD panel selection 2010-08-04 15:32:46 +09:00
Makefile ARM: mach-shmobile: Runtime PM V3 2010-08-16 13:16:19 +09:00
Makefile.boot ARM: mach-shmobile: SH-Mobile G3 support. 2010-02-08 12:44:11 +09:00
pfc-sh7367.c ARM: mach-shmobile: sh7367 and G3EVM pinmux support 2010-02-12 14:10:47 +09:00
pfc-sh7372.c ARM: mach-shmobile: add GPIO definitions for switching between LCDC0 and LCDC1 2010-08-04 15:34:27 +09:00
pfc-sh7377.c ARM: mach-shmobile: pfc-sh7377: modify KEYIN settings 2010-02-23 11:17:30 +09:00
pm_runtime.c ARM: mach-shmobile: Runtime PM V3 2010-08-16 13:16:19 +09:00
setup-sh7367.c ARM: mach-shmobile: sh7367/G3EVM evt2irq() update 2010-05-22 17:22:55 +09:00
setup-sh7372.c ARM: mach-shmobile: add SCIFA and SCIFB DMA slave definitions for sh7372 2010-05-31 13:45:00 +09:00
setup-sh7377.c ARM: mach-shmobile: sh7377/G4EVM evt2irq() update 2010-05-22 17:22:56 +09:00
timer.c ARM: mach-shmobile: SH-Mobile G3 support. 2010-02-08 12:44:11 +09:00