aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorArun Murthy <arun.murthy@stericsson.com>2010-05-18 15:54:40 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:28 -0600
commit0e674622db981e424eda3f0a621f6b385bf2e279 (patch)
tree9cd9b1d1bb3e81ba73c3974b7d19e7cdb1833f0a /arch
parent6ea44e0967b8d45611a78a42dbe3d6e7bcfdc315 (diff)
downloadlinux-2.6.34-ux500-0e674622db981e424eda3f0a621f6b385bf2e279.tar.gz
WP:239161 driver for backlight pwm control added
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/97 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2fc6cb8b8c0ec24ec7ed649861bc74cfef67f0af Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2368
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-ux500/board-mop500.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 56a19704847..dbe51a938e8 100755
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -1016,6 +1016,12 @@ static struct amba_device *amba_board_devs[] __initdata = {
&ux500_spi0_device,
&u8500_msp2_spi_device,
};
+/* LED device for LCD backlight */
+/* LCD backlight in LED device framework */
+static struct platform_device u8500_leds_controller = {
+ .name = "u8500-leds",
+ .id = 0,
+};
static struct platform_device *platform_board_devs[] __initdata = {
&u8500_msp0_device,
@@ -1049,6 +1055,7 @@ static struct platform_device *platform_board_devs[] __initdata = {
#ifdef CONFIG_CRYPTO_DEV_UX500_HASH
&ux500_hash1_device,
#endif
+ &u8500_leds_controller,
};
static void __init mop500_platdata_init(void)