summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
new file mode 100644
index 00000000..d170569f
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0017-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
@@ -0,0 +1,27 @@
1From f4574c67479c3c86f5eb78a1806f627740c91483 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 1 Feb 2012 14:10:38 +0100
4Subject: [PATCH 17/22] beaglebone: set default brightness to 50% for pwm
5 backlights
6
7Signed-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(-)
11
12diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
13index 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 = {
17
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)
23
24 #define PWM_DEVICE_ID "ecap.0"
25--
261.7.9.4
27