mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-10 05:20:21 +00:00
933898d1a9
This makes the backlight on teh 7" LCD cape work again. Also add a patch to print the hardware revision of the cape. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
28 lines
994 B
Diff
28 lines
994 B
Diff
From 22560ed5c9c2a4e693adf5981e47f3b5f363676d Mon Sep 17 00:00:00 2001
|
|
From: Koen Kooi <koen@dominion.thruhere.net>
|
|
Date: Tue, 17 Apr 2012 11:25:00 +0200
|
|
Subject: [PATCH 27/29] beaglebone: decrease PWM frequency to old value, LCD7
|
|
doesn't like it
|
|
|
|
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
|
|
---
|
|
arch/arm/mach-omap2/board-am335xevm.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
|
|
index 74a7e91..b0ee67e 100644
|
|
--- a/arch/arm/mach-omap2/board-am335xevm.c
|
|
+++ b/arch/arm/mach-omap2/board-am335xevm.c
|
|
@@ -136,7 +136,7 @@ static const struct display_panel disp_panel = {
|
|
/* LCD backlight platform Data */
|
|
#define AM335X_BACKLIGHT_MAX_BRIGHTNESS 100
|
|
#define AM335X_BACKLIGHT_DEFAULT_BRIGHTNESS 50
|
|
-#define AM335X_PWM_PERIOD_NANO_SECONDS (5000 * 10)
|
|
+#define AM335X_PWM_PERIOD_NANO_SECONDS (1000000 * 5)
|
|
|
|
#define PWM_DEVICE_ID "ecap.0"
|
|
|
|
--
|
|
1.7.7.6
|
|
|