summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-whistler-panel.c
diff options
context:
space:
mode:
authorJoseph Lehrer <jlehrer@nvidia.com>2011-08-11 21:43:21 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:22 -0800
commitc66129b26d5d7de0c28bb454ed349427dae276bf (patch)
tree551c371c576c33c75b18dffeb09ce42bc0d9c158 /arch/arm/mach-tegra/board-whistler-panel.c
parentbd1b40d021d4b98fb3fbd84f6fb45ecf0afa4831 (diff)
arm: tegra: whistler: remove SFIO setting for PWM signal
bug 858120 Original-Change-Id: Ia2ea872870f4d043907214ff829a5c0ee6d3e308 Reviewed-on: http://git-master/r/46855 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rb76da1f9ff81f23f2a290637c96c019540f02b82
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-whistler-panel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c
index b01400ed4d50..9b548faf8fdd 100644
--- a/arch/arm/mach-tegra/board-whistler-panel.c
+++ b/arch/arm/mach-tegra/board-whistler-panel.c
@@ -42,11 +42,19 @@
static struct regulator *whistler_hdmi_reg = NULL;
static struct regulator *whistler_hdmi_pll = NULL;
+/*
+ * In case which_pwm is TEGRA_PWM_PM0,
+ * gpio_conf_to_sfio should be TEGRA_GPIO_PW0: set LCD_CS1_N pin to SFIO
+ * In case which_pwm is TEGRA_PWM_PM1,
+ * gpio_conf_to_sfio should be TEGRA_GPIO_PW1: set LCD_M1 pin to SFIO
+ */
static struct platform_tegra_pwm_backlight_data whistler_disp1_backlight_data = {
.which_dc = 0,
.which_pwm = TEGRA_PWM_PM1,
.max_brightness = 256,
.dft_brightness = 77,
+ .gpio_conf_to_sfio = TEGRA_GPIO_PW1,
+ .switch_to_sfio = &tegra_gpio_disable,
.period = 0x1F,
.clk_div = 3,
.clk_select = 2,