diff options
author | Joseph Lehrer <jlehrer@nvidia.com> | 2011-02-08 11:47:47 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-02-22 18:29:39 -0800 |
commit | d1f4c7e18e8217da1aab042d2bff66847caf522f (patch) | |
tree | a4cc19d138e85a73a060497fb41f943f1e766d3d /arch/arm/mach-tegra | |
parent | 8848cbcacee9065d65413f19150bcb4e919b82fb (diff) |
video: tegra: Add support for pin output overridestegra-11.2.0-hotfix
bug 773671
Change-Id: Ia3d5ff4843a3da48a9a43123040b8bb75497cfef
Reviewed-on: http://git-master/r/18757
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 409d7c6adcb4..d6c8d2494296 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -72,6 +72,23 @@ enum { TEGRA_DC_ERRDIFF_DITHER, }; +enum { + TEGRA_PIN_OUT_CONFIG_SEL_LHP0_LD21, + TEGRA_PIN_OUT_CONFIG_SEL_LHP1_LD18, + TEGRA_PIN_OUT_CONFIG_SEL_LHP2_LD19, + TEGRA_PIN_OUT_CONFIG_SEL_LVP0_LVP0_Out, + TEGRA_PIN_OUT_CONFIG_SEL_LVP1_LD20, + + TEGRA_PIN_OUT_CONFIG_SEL_LM1_M1, + TEGRA_PIN_OUT_CONFIG_SEL_LM1_LD21, + TEGRA_PIN_OUT_CONFIG_SEL_LM1_PM1, + + TEGRA_PIN_OUT_CONFIG_SEL_LDI_LD22, + TEGRA_PIN_OUT_CONFIG_SEL_LPP_LD23, + TEGRA_PIN_OUT_CONFIG_SEL_LDC_SDC, + TEGRA_PIN_OUT_CONFIG_SEL_LSPI_DE, +}; + struct tegra_dc_out { int type; unsigned flags; @@ -97,6 +114,9 @@ struct tegra_dc_out { struct tegra_dc_out_pin *out_pins; unsigned n_out_pins; + u8 *out_sel_configs; + unsigned n_out_sel_configs; + int (*enable)(void); int (*postpoweron)(void); int (*disable)(void); |