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 /include/video | |
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 'include/video')
-rw-r--r-- | include/video/sh_mipi_dsi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/sh_mipi_dsi.h b/include/video/sh_mipi_dsi.h index 310b883bb312..434d56b4a1a5 100644 --- a/include/video/sh_mipi_dsi.h +++ b/include/video/sh_mipi_dsi.h | |||
@@ -35,6 +35,10 @@ struct sh_mobile_lcdc_chan_cfg; | |||
35 | #define SH_MIPI_DSI_HSEE (1 << 5) | 35 | #define SH_MIPI_DSI_HSEE (1 << 5) |
36 | #define SH_MIPI_DSI_HSAE (1 << 6) | 36 | #define SH_MIPI_DSI_HSAE (1 << 6) |
37 | 37 | ||
38 | #define SH_MIPI_DSI_HSbyteCLK (1 << 24) | ||
39 | #define SH_MIPI_DSI_HS6divCLK (1 << 25) | ||
40 | #define SH_MIPI_DSI_HS4divCLK (1 << 26) | ||
41 | |||
38 | #define SH_MIPI_DSI_SYNC_PULSES_MODE (SH_MIPI_DSI_VSEE | \ | 42 | #define SH_MIPI_DSI_SYNC_PULSES_MODE (SH_MIPI_DSI_VSEE | \ |
39 | SH_MIPI_DSI_HSEE | \ | 43 | SH_MIPI_DSI_HSEE | \ |
40 | SH_MIPI_DSI_HSAE) | 44 | SH_MIPI_DSI_HSAE) |