OSDN Git Service

drm/stm: ltdc: add pinctrl for DPI encoder mode
authorYannick Fertré <yannick.fertre@st.com>
Fri, 6 Sep 2019 09:21:48 +0000 (11:21 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 9 Sep 2019 09:30:54 +0000 (11:30 +0200)
commit92a57b3fb500e2b908f9b297efc41f55df110602
tree4ddcffdff01bec6bfc3fd4199dc00fe29a6ab17f
parenta793f0eeb7f5ba0c2a19a40c5a238063f8d12f72
drm/stm: ltdc: add pinctrl for DPI encoder mode

The implementation of functions encoder_enable and encoder_disable
make possible to control the pinctrl according to the encoder type.
The pinctrl must be activated only if the encoder type is DPI.
This helps to move the DPI-related pinctrl configuration from
all the panel or bridge to the LTDC dt node.

Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1567761708-31777-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/ltdc.c