OSDN Git Service

drm/bridge/synopsys: dsi: add support for non-continuous HS clock
authorAntonio Borneo <antonio.borneo@st.com>
Wed, 1 Jul 2020 19:42:34 +0000 (21:42 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 7 Sep 2020 08:04:43 +0000 (10:04 +0200)
commitc6d94e37bdbb6dfe7e581e937a915ab58399b8a5
tree407ad4f8e617bc45e17c5e938c8fd2b6c7b2347f
parent9e025e80660fe35432c81e67d401109d8e7b0ff4
drm/bridge/synopsys: dsi: add support for non-continuous HS clock

Current code enables the HS clock when video mode is started or to
send out a HS command, and disables the HS clock to send out a LP
command. This is not what DSI spec specify.

Enable HS clock either in command and in video mode.
Set automatic HS clock management for panels and devices that
support non-continuous HS clock.

Signed-off-by: Antonio Borneo <antonio.borneo@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701194234.18123-1-yannick.fertre@st.com
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c