[lkml]   [2011]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[RFC PATCH v2 03/13] arm/tegra: board-dt: Add AUXDATA for tegra-gpio and tegra-pinmux
    Add AUXDATA so that Tegra GPIO and pinmux devices that are instantiated
    from device-tree are named consistently with the static platform devices
    in mach-tegra/devices.c. Note that the device-tree file tegra20.dtsi
    already includes a node for the Tegra GPIO controller, whereas the node
    for the Tegra pinmux controller will be added in a subsequent commit.

    Signed-off-by: Stephen Warren <>
    arch/arm/mach-tegra/board-dt.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/arch/arm/mach-tegra/board-dt.c b/arch/arm/mach-tegra/board-dt.c
    index 9f47e04..1995b79 100644
    --- a/arch/arm/mach-tegra/board-dt.c
    +++ b/arch/arm/mach-tegra/board-dt.c
    @@ -50,6 +50,8 @@ void seaboard_pinmux_init(void);

    struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = {
    + OF_DEV_AUXDATA("nvidia,tegra20-gpio", TEGRA_GPIO_BASE, "tegra-gpio", NULL),
    + OF_DEV_AUXDATA("nvidia,tegra20-pinmux", TEGRA_APB_MISC_BASE, "tegra-pinmux", NULL),
    OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL),
    OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC2_BASE, "sdhci-tegra.1", NULL),
    OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC3_BASE, "sdhci-tegra.2", NULL),

     \ /
      Last update: 2011-08-15 22:31    [W:0.023 / U:3.516 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site