]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:41 +0000 (11:08 +0100)
commit2c7a26926ec656bc8c9adbd515f24fce8dd3f2d6
treedc87f8791b191f4bb91bf95eb8934804af242cdb
parent418121257b0c4761198126c4925bc666d5ed5e8e
drm/bridge/synopsys: dsi: add support for non-continuous HS clock

[ Upstream commit c6d94e37bdbb6dfe7e581e937a915ab58399b8a5 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c