OSDN Git Service

drm/bridge/synopsys: dsi: Allow VPG to be enabled via debugfs
authorMatt Redfearn <matt.redfearn@thinci.com>
Tue, 30 Apr 2019 08:17:04 +0000 (08:17 +0000)
committerAndrzej Hajda <a.hajda@samsung.com>
Mon, 24 Jun 2019 11:41:07 +0000 (13:41 +0200)
commit1effe5a3bb3ddf172649e06f7a5607317e077930
treec5e7d0c4a60000315fb14b188c11a7c32daea57b
parent0e343b086b05abcb9820c90b057a2f237ce8bc1c
drm/bridge/synopsys: dsi: Allow VPG to be enabled via debugfs

The Synopsys MIPI DSI IP contains a video test pattern generator which
is helpful in debugging video timing with connected displays.
Add a debugfs directory containing files which allow the VPG to be
enabled and disabled, and its orientation to be changed.

Signed-off-by: Matt Redfearn <matt.redfearn@thinci.com>
Tested-by: Yannick Fertré <yannick.fertre@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190430081646.23845-1-matt.redfearn@thinci.com
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c