RE: [PATCH] ARM: tegra: trimslice: enable MMC/SD slots

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

 



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 <mike@xxxxxxxxxxxxxx>
> @@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux