[PATCH] [OMAP] HTCHERALD: MMC, I2C, HTCPLD, SPI, TSC2046

Michał Mirosław mirqus at gmail.com
Fri Sep 24 05:23:13 EDT 2010


2010/8/18 Cory Maccarrone <darkstar6262 at gmail.com>:
> This change adds in MMC and I2C support to the HTC Herald board, as well
> as adding the HTCPLD driver for the PLD used on this phone.  It also
> adds in the gpio-keys entries for the front directional keys and
> selector and the cursor keys on the slide-out keyboard, and gpio-leds
> support for the LEDs attached to the htcpld.
>
> Additionally, SPI bus support (using the spi100k driver) and
> touchscreen support (using the ads7846 driver) were added.
>
> Signed-off-by: Cory Maccarrone <darkstar6262 at gmail.com>
> ---
[...]
> +/* MMC Card */
> +#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)
> +static struct omap_mmc_platform_data htc_mmc1_data = {
> +       .nr_slots                       = 1,
> +       .switch_slot                    = NULL,
> +       .slots[0]       = {
> +               .ocr_mask               = MMC_VDD_28_29 | MMC_VDD_30_31 |
> +                                         MMC_VDD_32_33 | MMC_VDD_33_34,
> +               .name                   = "mmcblk",
> +               .nomux                  = 1,
> +               .wires                  = 4,
> +               .switch_pin             = -1,
> +       },
> +};
[...]

What voltages can this MMC controller provide? That's a rather unusual OCR mask.

Best Regards,
Michał Mirosław



More information about the linux-arm-kernel mailing list