[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-288-g974fb11
Brought to you by:
sszy
|
From: Nicolas <th...@us...> - 2011-02-08 15:03:04
|
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 974fb11c2a59d4ce4ce9f9263a1d8f68ee62d0e2 (commit)
from ef508c9ec1374d8d2f5da8fda873298616fe1a7e (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 974fb11c2a59d4ce4ce9f9263a1d8f68ee62d0e2
Author: Nicolas Colombain <nic...@ar...>
Date: Tue Feb 8 16:02:34 2011 +0100
[LINUX] add IPU clock polarity support for iMX51
-----------------------------------------------------------------------
Summary of changes:
.../408-armadeus-add_apf51-dev_baseboard.patch | 2 +-
.../408b-armadeus-add_apf51-proto_baseboard.patch | 2 +-
...deus-mx5fb-add_ipu_clock_polarity_support.patch | 25 ++++++++++++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/419-armadeus-mx5fb-add_ipu_clock_polarity_support.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408-armadeus-add_apf51-dev_baseboard.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408-armadeus-add_apf51-dev_baseboard.patch
index 9e2c3d7..5a6a3ce 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408-armadeus-add_apf51-dev_baseboard.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408-armadeus-add_apf51-dev_baseboard.patch
@@ -193,7 +193,7 @@ Index: linux-2.6.38-rc3/arch/arm/mach-mx5/apf51dev-baseboard.c
+ .left_margin = 96, .right_margin = 96,
+ .upper_margin = 0x14, .lower_margin = 0x15,
+ .hsync_len = 64, .vsync_len = 4,
-+ .sync = FB_SYNC_CLK_IDLE_EN,
++ .sync = FB_SYNC_CLK_IDLE_EN | FB_SYNC_CLK_LAT_FALL,
+ .vmode = FB_VMODE_NONINTERLACED,
+ .flag = 0,
+ },
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408b-armadeus-add_apf51-proto_baseboard.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408b-armadeus-add_apf51-proto_baseboard.patch
index 23cd60a..3122ead 100644
--- a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408b-armadeus-add_apf51-proto_baseboard.patch
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/408b-armadeus-add_apf51-proto_baseboard.patch
@@ -127,7 +127,7 @@ Index: linux-2.6.38-rc3/arch/arm/mach-mx5/apf51proto-baseboard.c
+ .left_margin = 96, .right_margin = 96,
+ .upper_margin = 0x14, .lower_margin = 0x15,
+ .hsync_len = 64, .vsync_len = 4,
-+ .sync = FB_SYNC_CLK_IDLE_EN,
++ .sync = FB_SYNC_CLK_IDLE_EN | FB_SYNC_CLK_LAT_FALL,
+ .vmode = FB_VMODE_NONINTERLACED,
+ .flag = 0,
+ },
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/419-armadeus-mx5fb-add_ipu_clock_polarity_support.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/419-armadeus-mx5fb-add_ipu_clock_polarity_support.patch
new file mode 100644
index 0000000..d5e9854
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.38/419-armadeus-mx5fb-add_ipu_clock_polarity_support.patch
@@ -0,0 +1,25 @@
+Add clock polarity support for non interlaced mode to ipu.
+
+Signed-off-by: Nicolas Colombain <nic...@ar...>
+
+Index: linux-2.6.38-rc3/drivers/mfd/imx-ipu-v3/ipu-di.c
+===================================================================
+--- linux-2.6.38-rc3.orig/drivers/mfd/imx-ipu-v3/ipu-di.orig 2011-02-08 14:49:41.000000000 +0100
++++ linux-2.6.38-rc3/drivers/mfd/imx-ipu-v3/ipu-di.c 2011-02-08 15:09:30.000000000 +0100
+@@ -113,6 +113,7 @@ enum di_sync_wave {
+ #define DI_DW_GEN_COMPONENT_SIZE_OFFSET 16
+
+ #define DI_GEN_DI_CLK_EXT (1 << 20)
++#define DI_GEN_DI_CLK_POL (1 << 17)
+ #define DI_GEN_POLARITY_1 (1 << 0)
+ #define DI_GEN_POLARITY_2 (1 << 1)
+ #define DI_GEN_POLARITY_3 (1 << 2)
+@@ -405,6 +406,8 @@ int ipu_di_init_sync_panel(struct ipu_di
+ di_gen |= DI_GEN_POLARITY_2;
+ if (sig->Vsync_pol)
+ di_gen |= DI_GEN_POLARITY_3;
++ if (sig->clk_pol)
++ di_gen |= DI_GEN_DI_CLK_POL;
+ }
+
+ ipu_di_write(di, di_gen, DI_GENERAL);
hooks/post-receive
--
armadeus
|