OSDN Git Service

drm/exynos: mipi-dsi: consider non-continuous clock mode
authorInki Dae <inki.dae@samsung.com>
Wed, 13 Aug 2014 08:03:12 +0000 (17:03 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:08 +0000 (00:56 +0900)
commit78d3a8c6134fbe1fe048b13bddb8e7602affabaa
tree6f5b8c23086bddffb3c41bc31d31c88ac106e47d
parentd87f09abb31d2d52dda261b5128c39d3944afbab
drm/exynos: mipi-dsi: consider non-continuous clock mode

This patch adds non-continuous clock mode support

Clock mode on Clock Lane is continuous clock by default.
So if we want to transmit data in non-continuous clock mode
to reduce power consumption, then host driver should set
DSIM_CLKLANE_STOP bit. In this case, host controller turns off
HS clock between high speed transmissions.

For this, this patch adds a new bit, DSIM_CLKLANE_STOP, and makes
the host driver sets this bit only in case that dsi->mode_flags has
MIPI_DSI_CLOCK_NON_CONTINUOUS flag.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c