]> 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>
Tue, 19 Feb 2013 02:00:18 +0000 (11:00 +0900)
commit7fb5931e4b594da1e22abe8e02751a3ed9d4a0bd
tree93d808da3e2fcf572899347147a55765c614aa02
parentcc522d94e8104119b2a8b302dad90e8270d84a33
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