diff options
author | Animesh Kishore <ankishore@nvidia.com> | 2012-08-20 18:11:09 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-08-20 18:22:57 -0700 |
commit | 1f74119059449dfa131e95746a4d09e0dde1bf8e (patch) | |
tree | c3024d1b032226d20cead6104ca8268a4d74d475 /arch/arm/mach-tegra/board-dalmore-panel.c | |
parent | 871642f6f748d8461ea48fb75f43cfb65106f0dc (diff) |
arm: tegra: dalmore: Add ganged mode support
Ganged mode support is with disp1 since dsi
is default display client for disp1.
Bug 1017715
Change-Id: Icfbc771b173e49c22be0e6f89b2d5f58ddf7466a
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/124642
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dalmore-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dalmore-panel.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-panel.c b/arch/arm/mach-tegra/board-dalmore-panel.c index 85816c6040f1..ba83ce51ca5a 100644 --- a/arch/arm/mach-tegra/board-dalmore-panel.c +++ b/arch/arm/mach-tegra/board-dalmore-panel.c @@ -35,6 +35,7 @@ #if TEGRA_PANEL_ENABLE +#define TEGRA_DSI_GANGED_MODE 0 #define DSI_PANEL_RESET 1 #define DC_CTRL_MODE TEGRA_DC_OUT_CONTINUOUS_MODE @@ -57,12 +58,27 @@ static struct resource dalmore_disp1_resources[] __initdata = { .end = 0, /* Filled in by dalmore_panel_init() */ .flags = IORESOURCE_MEM, }, +#if TEGRA_DSI_GANGED_MODE + { + .name = "ganged_dsia_regs", + .start = TEGRA_DSI_BASE, + .end = TEGRA_DSI_BASE + TEGRA_DSI_SIZE - 1, + .flags = IORESOURCE_MEM, + }, + { + .name = "ganged_dsib_regs", + .start = TEGRA_DSIB_BASE, + .end = TEGRA_DSIB_BASE + TEGRA_DSIB_SIZE - 1, + .flags = IORESOURCE_MEM, + }, +#else { .name = "dsi_regs", .start = TEGRA_DSI_BASE, .end = TEGRA_DSI_BASE + TEGRA_DSI_SIZE - 1, .flags = IORESOURCE_MEM, }, +#endif }; static struct resource dalmore_disp2_resources[] __initdata = { |