diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-08 23:35:27 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-11-21 18:43:22 -0500 |
commit | a2e6297153f8fc7185d119c59d8eed1ee7d4c74f (patch) | |
tree | 8f1cff478291576509c5c057ea8e8ea665f92213 /arch/arm | |
parent | 5e47431aabf716c9ad9eacf1a966e1fc1469c809 (diff) |
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')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 3 |
2 files changed, 5 insertions, 3 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 = { | |||
357 | .lane = 2, | 357 | .lane = 2, |
358 | .vsynw_offset = 20, | 358 | .vsynw_offset = 20, |
359 | .clksrc = 1, | 359 | .clksrc = 1, |
360 | .flags = SH_MIPI_DSI_HSABM | | 360 | .flags = SH_MIPI_DSI_HSABM | |
361 | SH_MIPI_DSI_SYNC_PULSES_MODE, | 361 | SH_MIPI_DSI_SYNC_PULSES_MODE | |
362 | SH_MIPI_DSI_HSbyteCLK, | ||
362 | .set_dot_clock = sh_mipi_set_dot_clock, | 363 | .set_dot_clock = sh_mipi_set_dot_clock, |
363 | }; | 364 | }; |
364 | 365 | ||
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 73503ed8bde2..904b608d1aa3 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -606,7 +606,8 @@ static struct sh_mipi_dsi_info mipidsi0_info = { | |||
606 | .lcd_chan = &lcdc_info.ch[0], | 606 | .lcd_chan = &lcdc_info.ch[0], |
607 | .lane = 2, | 607 | .lane = 2, |
608 | .vsynw_offset = 17, | 608 | .vsynw_offset = 17, |
609 | .flags = SH_MIPI_DSI_SYNC_PULSES_MODE, | 609 | .flags = SH_MIPI_DSI_SYNC_PULSES_MODE | |
610 | SH_MIPI_DSI_HSbyteCLK, | ||
610 | .set_dot_clock = sh_mipi_set_dot_clock, | 611 | .set_dot_clock = sh_mipi_set_dot_clock, |
611 | }; | 612 | }; |
612 | 613 | ||