]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 13 Feb 2013 11:03:30 +0000 (20:03 +0900)
commiteac036ef9e1f16faba0691e219468300994ef882
tree0d4efd2b92392bf35bb5c38e204970a87c306ca0
parentb5cd061ca3a9320f639d3ee2b766dcfe61037352
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