[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / beaglebone / 0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
1 From f4574c67479c3c86f5eb78a1806f627740c91483 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Wed, 1 Feb 2012 14:10:38 +0100
4 Subject: [PATCH 17/22] beaglebone: set default brightness to 50% for pwm
5 backlights
7 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
8 ---
9 arch/arm/mach-omap2/board-am335xevm.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
13 index 6a77194..c31c0aa 100644
14 --- a/arch/arm/mach-omap2/board-am335xevm.c
15 +++ b/arch/arm/mach-omap2/board-am335xevm.c
16 @@ -131,7 +131,7 @@ static const struct display_panel disp_panel = {
18 /* LCD backlight platform Data */
19 #define AM335X_BACKLIGHT_MAX_BRIGHTNESS 100
20 -#define AM335X_BACKLIGHT_DEFAULT_BRIGHTNESS 100
21 +#define AM335X_BACKLIGHT_DEFAULT_BRIGHTNESS 50
22 #define AM335X_PWM_PERIOD_NANO_SECONDS (1000000 * 5)
24 #define PWM_DEVICE_ID "ecap.0"
25 --
26 1.7.9.4