Mike Rapoport wrote at Monday, March 07, 2011 7:57 AM:
> TrimSlice has MicroSD and standard MMC/SD slots.
> Register sdhci devices and enable GPIOs for MMC/SD slot.
> 
> Signed-off-by: Mike Rapoport <[email protected]>
> @@ -139,7 +142,13 @@ static __initdata struct tegra_pingroup_config
> trimslice_pinmux[] = {
>       {TEGRA_PINGROUP_XM2D,  TEGRA_MUX_NONE,          TEGRA_PUPD_NORMAL,
> TEGRA_TRI_NORMAL},
>  };
> 
> +static struct tegra_gpio_table gpio_table[] = {
> +     { .gpio = TEGRA_GPIO_PP1,       .enable = true  }, /* mmc4 cd */
> +     { .gpio = TEGRA_GPIO_PP2,       .enable = true  }, /* mmc4 wp */
> +};
> +

Not a big deal, but it'd be great if this could use defines that name the
GPIOs, like other boards do now; see Olof's boards-for-next tree for examples
on Harmony and Seaboard.

-- 
nvpublic

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to