summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ag5evm.c
diff options
context:
space:
mode:
authorKuninori Morimoto2011-11-09 05:35:27 +0100
committerFlorian Tobias Schandinat2011-11-22 00:43:22 +0100
commita2e6297153f8fc7185d119c59d8eed1ee7d4c74f (patch)
tree8f1cff478291576509c5c057ea8e8ea665f92213 /arch/arm/mach-shmobile/board-ag5evm.c
parentfbdev: sh_mipi_dsi: add set_dot_clock() for each platform (diff)
downloadkernel-qcow2-linux-a2e6297153f8fc7185d119c59d8eed1ee7d4c74f.tar.gz
kernel-qcow2-linux-a2e6297153f8fc7185d119c59d8eed1ee7d4c74f.tar.xz
kernel-qcow2-linux-a2e6297153f8fc7185d119c59d8eed1ee7d4c74f.zip
fbdev: sh_mipi_dsi: add HSxxCLK support
SH MIPI manual explains the calculation method of HBP/HFP. it is based on HSbyteCLK settings. SH73a0 chip can use HS6divCLK/HS4divCLK for it. This patch has compatibility to SH7372 mipi Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-ag5evm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index 15072c51e035..7e3dd7326827 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
@@ -357,8 +357,9 @@ static struct sh_mipi_dsi_info mipidsi0_info = {
.lane = 2,
.vsynw_offset = 20,
.clksrc = 1,
- .flags = SH_MIPI_DSI_HSABM |
- SH_MIPI_DSI_SYNC_PULSES_MODE,
+ .flags = SH_MIPI_DSI_HSABM |
+ SH_MIPI_DSI_SYNC_PULSES_MODE |
+ SH_MIPI_DSI_HSbyteCLK,
.set_dot_clock = sh_mipi_set_dot_clock,
};