diff options
author | Joseph Lehrer <jlehrer@nvidia.com> | 2011-08-11 21:43:21 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-18 13:51:05 -0700 |
commit | ce3578e6eec793bdc6b008af7f1fe242804565b4 (patch) | |
tree | 2d193f58f779d57575774d4790ae9c8b02ad1961 /arch/arm/mach-tegra/board-whistler-panel.c | |
parent | 0123424383106fddd462bc80f2ecb61e93448248 (diff) |
arm: tegra: whistler: remove SFIO setting for PWM signal
bug 858120
Change-Id: Ia2ea872870f4d043907214ff829a5c0ee6d3e308
Reviewed-on: http://git-master/r/46855
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-panel.c | 8 |
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 346b9cc1dfb1..d455941b6f7a 100644 --- a/arch/arm/mach-tegra/board-whistler-panel.c +++ b/arch/arm/mach-tegra/board-whistler-panel.c @@ -44,11 +44,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, |