summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMin-wuk Lee <mlee@nvidia.com>2011-08-02 11:39:53 +0900
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:04 -0800
commitbd3ac96ba64f0899d18d898ad2439a6668c697e0 (patch)
treedd8d1df448b4e3e8b0088a9c759e9b1b685ebf21 /include
parent3f262a2e2eb5b0ebf6fccba596cceab207d77565 (diff)
video: tegra: dc: Set PWM pin to SFIO in default
Set PWM pin to SFIO before it is configured to DC output pin: Having too early SFIO setting for this pin makes black screen in display transition from bootloader to kenel and android since backlight can be turned off. Bug 858120 Original-Change-Id: I952aa73c50d1df57b1cedf0a5f9ffee0044048ea Reviewed-on: http://git-master/r/44304 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R89903c1f14f1b867638834bd1581d8637b079c94
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_pwm_bl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h
index 4eac77b04203..ee924842bf84 100644
--- a/include/linux/tegra_pwm_bl.h
+++ b/include/linux/tegra_pwm_bl.h
@@ -15,6 +15,8 @@
struct platform_tegra_pwm_backlight_data {
int which_dc;
int which_pwm;
+ void (*switch_to_sfio)(int);
+ int gpio_conf_to_sfio;
unsigned int dft_brightness;
unsigned int max_brightness;
unsigned int period;