ARM: arch-shmobile: support SDHI card detection on mackerel, using a GPIO
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 11 May 2011 16:51:20 +0000 (16:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 26 May 2011 06:07:10 +0000 (15:07 +0900)
commit4bff4a7ee4b9e487a1bc1d31082e77b6a381418a
treee5f55b2c6924e252e5e4be040bbda2dc670e7704
parentdce65a6a92f34fbc425ffb4302f8e747d89c9792
ARM: arch-shmobile: support SDHI card detection on mackerel, using a GPIO

On sh7372 the card-detection pin of SDHI0 can also produce interrupts,
when configured as GPIO. Use this feature to power down SDHI0, when no
card is plugged in.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-mackerel.c