Re: [PATCH 11/11] AM3517: Add mmc platform data for am3517evm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Hunter wrote:
Stanley.Miao wrote:
Add mmc platform data. Besides, the mmc slot on UI board has a pin conflict
with LCD, so add macros to resolve it.

<snip>
+static struct omap2_hsmmc_info mmc[] = {
+    {
+        .mmc            = 1,
+        .wires          = 4,
+        .gpio_cd        = 127,
+        .gpio_wp        = 126,
+        .ocr_mask       = MMC_VDD_165_195 |
+                MMC_VDD_26_27 | MMC_VDD_27_28 |
+                MMC_VDD_29_30 |
+                MMC_VDD_30_31 | MMC_VDD_31_32,

How can you support 1.8V and 3V cards without controlling power
to the card?

Just modify the MMCHS_HCTL register.
I don't have a 1.8V card, so I didn't test the 1.8V mode. I just wrote it according to TRM.

Stanley.


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux