summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/dc.h
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-09-01 15:09:40 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:28 -0800
commit757dbbe9de58675646e603e7d0f7a081624617fa (patch)
treebe476921e278fa4791712798eaeb112c11d2b04b /arch/arm/mach-tegra/include/mach/dc.h
parentdc99490d1a30d3dde9cc4bc5af5f9956466dbccc (diff)
video: tegra: Phase in DIDIM
Settings in DIDIM driver are now phased in over a defined number of steps in order to minimize the perception of changes to the settings during runtime Bug 840155 Reviewed-on: http://git-master/r/52495 (cherry picked from commit a33d4f5c677b657751fd017f8419df88016122a5) Change-Id: I0af84609d0f2ebadf23463473ebf0211dfa594a3 Reviewed-on: http://git-master/r/55789 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R759433a3cfd9b4c07216da4b2c9de6e515a8530d
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/dc.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/dc.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h
index 600df748fc56..a05d35f198ae 100644
--- a/arch/arm/mach-tegra/include/mach/dc.h
+++ b/arch/arm/mach-tegra/include/mach/dc.h
@@ -258,8 +258,14 @@ struct tegra_dc_sd_settings {
unsigned enable;
bool use_auto_pwm;
u8 hw_update_delay;
- unsigned bin_width;
+ short bin_width;
u8 aggressiveness;
+ u8 phase_in;
+ u8 cmd;
+ u16 cur_agg_step;
+ u8 final_agg;
+ u16 cur_phase_step;
+ u16 phase_in_steps;
bool use_vid_luma;
struct tegra_dc_sd_rgb coeff;
@@ -274,6 +280,14 @@ struct tegra_dc_sd_settings {
};
enum {
+ NO_CMD = 0x0,
+ ENABLE = 0x1,
+ DISABLE = 0x2,
+ PHASE_IN = 0x4,
+ AGG_CHG = 0x8,
+};
+
+enum {
TEGRA_PIN_OUT_CONFIG_SEL_LHP0_LD21,
TEGRA_PIN_OUT_CONFIG_SEL_LHP1_LD18,
TEGRA_PIN_OUT_CONFIG_SEL_LHP2_LD19,