From 757dbbe9de58675646e603e7d0f7a081624617fa Mon Sep 17 00:00:00 2001 From: Matt Wagner Date: Thu, 1 Sep 2011 15:09:40 -0700 Subject: 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 Tested-by: Varun Colbert Rebase-Id: R759433a3cfd9b4c07216da4b2c9de6e515a8530d --- arch/arm/mach-tegra/include/mach/dc.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/include/mach/dc.h') 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; @@ -273,6 +279,14 @@ struct tegra_dc_sd_settings { struct platform_device *bl_device; }; +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, -- cgit v1.2.3