diff options
author | Kishore Kadiyala <kishore.kadiyala@ti.com> | 2011-03-01 13:12:56 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-03-01 13:12:56 -0800 |
commit | 6ab8946f672497a55625d2106250d2923125fdfb (patch) | |
tree | ccf86208fb9cf4f33d243c51bc01a915d593dfd9 /arch/arm/plat-omap/include | |
parent | 17203bdaf2fd0cda6ac941a7b3fb8416c57303c7 (diff) | |
download | blackbird-op-linux-6ab8946f672497a55625d2106250d2923125fdfb.tar.gz blackbird-op-linux-6ab8946f672497a55625d2106250d2923125fdfb.zip |
OMAP: hwmod data: Add dev_attr and use in the host driver
Add a device attribute to hwmod data of omap2430, omap3, omap4.
Currently the device attribute holds information regarding dual volt MMC card
support by the controller which will be later passed to the host driver via
platform data.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Acked-by: Benoit Cousson<b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mmc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h index e5de5d452b3e..a7afab095716 100644 --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h @@ -43,6 +43,12 @@ #define OMAP_MMC_MAX_SLOTS 2 +#define OMAP_HSMMC_SUPPORTS_DUAL_VOLT BIT(1) + +struct omap_mmc_dev_attr { + u8 flags; +}; + struct omap_mmc_platform_data { /* back-link to device */ struct device *dev; @@ -71,6 +77,9 @@ struct omap_mmc_platform_data { u64 dma_mask; + /* Integrating attributes from the omap_hwmod layer */ + u8 controller_flags; + /* Register offset deviation */ u16 reg_offset; |