Commit 70c7d2dd authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Eric Miao

[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: default avatarHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent b3a85495
...@@ -451,10 +451,15 @@ static inline void saar_init_lcd(void) {} ...@@ -451,10 +451,15 @@ static inline void saar_init_lcd(void) {}
#endif #endif
#if defined(CONFIG_I2C_PXA) || defined(CONFIG_I2C_PXA_MODULE) #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[] = { static struct da903x_subdev_info saar_da9034_subdevs[] = {
[0] = { [0] = {
.name = "da903x-backlight", .name = "da903x-backlight",
.id = DA9034_ID_WLED, .id = DA9034_ID_WLED,
.platform_data = &saar_da9034_backlight,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment