summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/saar.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2009-11-05 10:31:01 -0500
committerEric Miao <eric.y.miao@gmail.com>2009-12-01 09:02:35 +0800
commit70c7d2dd276dfb6aa802186a2be4efe80d380d15 (patch)
treee5cb09221957013eb0ab14a7d7e1dc7f583da74b /arch/arm/mach-pxa/saar.c
parentb3a8549593696f5f3efcdbf280e2c8e0fe894855 (diff)
downloadlinux-70c7d2dd276dfb6aa802186a2be4efe80d380d15.tar.gz
linux-70c7d2dd276dfb6aa802186a2be4efe80d380d15.tar.bz2
linux-70c7d2dd276dfb6aa802186a2be4efe80d380d15.zip
[ARM] pxa/saar: set default WLED output current
Set default WLED output current in saar. Otherwise, LCD backlight won't be effective. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/saar.c')
-rw-r--r--arch/arm/mach-pxa/saar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/saar.c b/arch/arm/mach-pxa/saar.c
index 8241a63ea589..de588636f724 100644
--- a/arch/arm/mach-pxa/saar.c
+++ b/arch/arm/mach-pxa/saar.c
@@ -451,10 +451,15 @@ static inline void saar_init_lcd(void) {}
#endif
#if defined(CONFIG_I2C_PXA) || defined(CONFIG_I2C_PXA_MODULE)
+static struct da9034_backlight_pdata saar_da9034_backlight = {
+ .output_current = 4, /* 4mA */
+};
+
static struct da903x_subdev_info saar_da9034_subdevs[] = {
[0] = {
.name = "da903x-backlight",
.id = DA9034_ID_WLED,
+ .platform_data = &saar_da9034_backlight,
},
};