[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-91-g42728b6
Brought to you by:
sszy
|
From: Gwenhael Goavec-M. <gwe...@us...> - 2012-12-28 11:19:41
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 42728b6afed5139539dce960756b40d6eda59931 (commit)
via d51cf847a9af87d6b32b4c1eea0349a4c17a1740 (commit)
from c7a9a8229d26aae1a4b0d5161ec6c1632c0b424c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 42728b6afed5139539dce960756b40d6eda59931
Merge: d51cf84 c7a9a82
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Fri Dec 28 12:19:16 2012 +0100
Merge branch 'master' of ssh://git.code.sf.net/p/armadeus/code
commit d51cf847a9af87d6b32b4c1eea0349a4c17a1740
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Fri Dec 28 12:18:47 2012 +0100
[LINUX][3.7] mx27: backlight: fix constrast pwm issue
-----------------------------------------------------------------------
Summary of changes:
...rmadeus-mx27-imxfb-fix_pwm_contrast_issue.patch | 33 ++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 patches/linux/3.7/0204-armadeus-mx27-imxfb-fix_pwm_contrast_issue.patch
diff --git a/patches/linux/3.7/0204-armadeus-mx27-imxfb-fix_pwm_contrast_issue.patch b/patches/linux/3.7/0204-armadeus-mx27-imxfb-fix_pwm_contrast_issue.patch
new file mode 100644
index 0000000..88008b9
--- /dev/null
+++ b/patches/linux/3.7/0204-armadeus-mx27-imxfb-fix_pwm_contrast_issue.patch
@@ -0,0 +1,33 @@
+Pin contrast level is always high when LPCR PCD is equal to 0. By setting
+per3clk_div to have a 134 MHz clock, PCD is greater than 0 and the PWM is
+working.
+
+Signed-off-by: Gwenhael Goavec-Merou <gwe...@ar...>
+---
+
+Index: linux-3.7/drivers/video/imxfb.c
+===================================================================
+--- linux-3.7.orig/drivers/video/imxfb.c
++++ linux-3.7/drivers/video/imxfb.c
+@@ -747,6 +747,7 @@ static int __init imxfb_probe(struct pla
+ struct imx_fb_platform_data *pdata;
+ struct resource *res;
+ int ret, i;
++ unsigned long per3clk;
+
+ dev_info(&pdev->dev, "i.MX Framebuffer driver\n");
+
+@@ -800,6 +801,13 @@ static int __init imxfb_probe(struct pla
+ goto failed_getclock;
+ }
+
++ if (cpu_is_mx27()) {
++ per3clk = clk_round_rate(fbi->clk_per, 134000000);
++ if (clk_set_rate(fbi->clk_per, per3clk)) {
++ pr_debug("mx2fb: Unable to set clock to %lu\n", per3clk);
++ }
++ }
++
+ fbi->regs = ioremap(res->start, resource_size(res));
+ if (fbi->regs == NULL) {
+ dev_err(&pdev->dev, "Cannot map frame buffer registers\n");
hooks/post-receive
--
armadeus
|