aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/zylonite_pxa300.c
diff options
context:
space:
mode:
authoreric miao <eric.miao@marvell.com>2008-04-13 21:46:34 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-03 13:25:02 +0100
commit5cca91479b8ac6a60b61bc56e72389c681387211 (patch)
treeabc618cb4b94145fe3400dbc80ea8c0e271106fa /arch/arm/mach-pxa/zylonite_pxa300.c
parent42796d37da6ef4fd851dc6d5d0387baf7e2b0c3c (diff)
downloadkernel_samsung_smdk4412-5cca91479b8ac6a60b61bc56e72389c681387211.zip
kernel_samsung_smdk4412-5cca91479b8ac6a60b61bc56e72389c681387211.tar.gz
kernel_samsung_smdk4412-5cca91479b8ac6a60b61bc56e72389c681387211.tar.bz2
[ARM] pxa: make zylonite use the generic PWM backlight driver
Patch mostly by Eric Miao, minor edits by rmk. Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite_pxa300.c')
-rw-r--r--arch/arm/mach-pxa/zylonite_pxa300.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa300.c b/arch/arm/mach-pxa/zylonite_pxa300.c
index 324fb9d..6f7ae97 100644
--- a/arch/arm/mach-pxa/zylonite_pxa300.c
+++ b/arch/arm/mach-pxa/zylonite_pxa300.c
@@ -50,6 +50,7 @@ static mfp_cfg_t common_mfp_cfg[] __initdata = {
GPIO75_LCD_BIAS,
GPIO76_LCD_VSYNC,
GPIO127_LCD_CS_N,
+ GPIO20_PWM3_OUT, /* backlight */
/* BTUART */
GPIO111_UART2_RTS,
@@ -200,9 +201,6 @@ void __init zylonite_pxa300_init(void)
/* detect LCD panel */
zylonite_detect_lcd_panel();
- /* GPIO pin assignment */
- gpio_backlight = mfp_to_gpio(MFP_PIN_GPIO20);
-
/* MMC card detect & write protect for controller 0 */
zylonite_mmc_slot[0].gpio_cd = EXT_GPIO(0);
zylonite_mmc_slot[0].gpio_wp = EXT_GPIO(2);