ARM: shmobile: streamline mackerel SD and MMC devices
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 12 Feb 2013 17:15:33 +0000 (18:15 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2013 12:27:02 +0000 (21:27 +0900)
commit626a645eb75415255aad3162f4da3f6988f0c8ec
treed98f1d01a511909c8be616d38455576cc095312f
parent3a5eed5f9e0734c4d3b5b42f7db443a33e2ba665
ARM: shmobile: streamline mackerel SD and MMC devices

This patch fixes the following issues with SD and MMC interfaces on mackerel:
1. replace custom card-detection functions with standard GPIO CD API
2. resources don't have to be numbered
3. add SDHI interrupt names
4. remove OCR masks, where regulators are used
5. only specify SDHI CD interrupts on interfaces where a CD pin is present -
   SDHI0
6. don't instantiate an MMCIF device and initialise MMCIF pins if SDHI1 is
   selected

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-mackerel.c