From 273508080837e0dcaf90b2fdf95b587e71517e0e Mon Sep 17 00:00:00 2001 From: naveenk Date: Fri, 25 May 2012 15:19:01 +0530 Subject: arm: tegra: enable 1.8 volts through ocr_mask for sdio sdio supports 1.8 volts, setting 1.8 volts for cardhu, kai, ventana, whistler Bug 979504 Change-Id: I8f03b01e0792ac0e6abe74ce898934e65762fb85 Signed-off-by: naveen kumar arepalli Reviewed-on: http://git-master/r/104712 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/include/mach/sdhci.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/mach-tegra/include/mach') diff --git a/arch/arm/mach-tegra/include/mach/sdhci.h b/arch/arm/mach-tegra/include/mach/sdhci.h index 5dc8cd2ddf76..e307506eb40b 100644 --- a/arch/arm/mach-tegra/include/mach/sdhci.h +++ b/arch/arm/mach-tegra/include/mach/sdhci.h @@ -20,6 +20,14 @@ #include #include +/* + * MMC_OCR_1V8_MASK will be used in board sdhci file + * Example for cardhu it will be used in board-cardhu-sdhci.c + * for built_in = 0 devices enabling ocr_mask to MMC_OCR_1V8_MASK + * sets the voltage to 1.8V + */ +#define MMC_OCR_1V8_MASK 0x8 + struct tegra_sdhci_platform_data { int cd_gpio; int wp_gpio; -- cgit v1.2.3