82cf818d54
omap4: mmc driver support on OMAP4
...
Add basic support for all 5 MMC controllers on OMAP4.
This patch doesn't include mmc-regulator support
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com >
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com >
Acked-by: Madhusudhan Chikkature <madhu.cr@ti.com >
Cc: Russell King <linux@arm.linux.org.uk >
Acked-by: Tony Lindgren <tony@atomide.com >
Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com >
Cc: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com >
Cc: <linux-mmc@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:37 -07:00
9b7c18e070
ARM: OMAP: mmc-twl4030: add regulator sleep / wake function
...
Add the ability for the driver to put the card power regulators to sleep
and wake them up again.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com >
Acked-by: Matt Fleming <matt@console-pimps.org >
Cc: Ian Molton <ian@mnementh.co.uk >
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com >
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com >
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com >
Cc: Pierre Ossman <pierre@ossman.eu >
Cc: Philip Langdale <philipl@overt.org >
Cc: "Madhusudhan" <madhu.cr@ti.com >
Cc: <linux-mmc@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:35 -07:00
dd498effcf
omap_hsmmc: support for deeper power saving states
...
Support for multi-level dynamic power saving states in omap_hsmmc
(ENABLED->DISABLED->OFF). In the "deepest" state (OFF) we switch off the
voltage regulators.
Signed-off-by: Denis Karpov <ext-denis.2.karpov@nokia.com >
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com >
Acked-by: Matt Fleming <matt@console-pimps.org >
Cc: Ian Molton <ian@mnementh.co.uk >
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com >
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com >
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com >
Cc: Pierre Ossman <pierre@ossman.eu >
Cc: Philip Langdale <philipl@overt.org >
Cc: "Madhusudhan" <madhu.cr@ti.com >
Cc: <linux-mmc@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:35 -07:00
23d99bb923
omap_hsmmc: make use of new MMC_CAP_NONREMOVABLE host capability
...
Let the board specify that a card is nonremovable e.g. eMMC
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com >
Acked-by: Matt Fleming <matt@console-pimps.org >
Cc: Ian Molton <ian@mnementh.co.uk >
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com >
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com >
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com >
Cc: Pierre Ossman <pierre@ossman.eu >
Cc: Philip Langdale <philipl@overt.org >
Cc: "Madhusudhan" <madhu.cr@ti.com >
Cc: <linux-mmc@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:35 -07:00
1887bde391
ARM: OMAP: mmc-twl4030: add context loss counter support
...
PM dynamic OFF state results in context loss. That is, the host
controller has been powered off at some point, which means the registers
have been reset. The driver must detect when this happens, and restore
the context. This patch adds the means to detect context loss.
Note, the PM side is not yet implemented.
Signed-off-by: Denis Karpov <ext-denis.2.karpov@nokia.com >
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com >
Acked-by: Matt Fleming <matt@console-pimps.org >
Cc: Ian Molton <ian@mnementh.co.uk >
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com >
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com >
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com >
Cc: Pierre Ossman <pierre@ossman.eu >
Cc: Philip Langdale <philipl@overt.org >
Cc: "Madhusudhan" <madhu.cr@ti.com >
Cc: <linux-mmc@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:34 -07:00
1748ae0e95
ARM: OMAP: MMC: Remove unused power_pin
...
Remove unused power_pin
Signed-off-by: Ladislav Michl <ladis@linux-mips.org >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2009-04-23 11:10:44 -07:00
01971f65ff
ARM: OMAP3: mmc-twl4030 init passes device nodes back, v2
...
When setting up HSMMC devices, pass the device nodes back so
board code can linking them to their power supply regulators.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2009-03-23 18:51:22 -07:00
0dffb5c57a
ARM: OMAP: Fix hsmmc init, v2
...
The naming accidentally broke while changing the name for the
driver to not to conflict with the other mmc driver.
Signed-off-by: Tony Lindgren <tony@atomide.com >
2009-01-29 08:57:16 -08:00
90c62bf08f
omap mmc: Add low-level initialization for hsmmc controller
...
Add low-level initialization for hsmmc controller. Merged into
this patch patch are various improvments and board support by
Grazvydas Ignotas and David Brownell.
Also change wire4 to be wires, as some newer controllers support
8 data lines.
Cc: Pierre Ossman <drzeus-mmc@drzeus.cx >
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com >
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2008-12-10 17:37:17 -08:00
d88746652b
omap mmc: Add better MMC low-level init
...
This will simplify the MMC low-level init, and make it more
flexible to add support for a newer MMC controller in the
following patches.
The patch rearranges platform data and gets rid of slot vs
controller confusion in the old data structures. Also fix
device id numbering in the clock code.
Some code snippets are based on an earlier patch by
Russell King <linux@arm.linux.org.uk >.
Cc: Pierre Ossman <drzeus-mmc@drzeus.cx >
Signed-off-by: Tony Lindgren <tony@atomide.com >
2008-12-10 17:37:16 -08:00
a09e64fbc0
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2008-08-07 09:55:48 +01:00