aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun4i_tcon.h
diff options
context:
space:
mode:
authorAndrey Lebedev <andrey@lebedev.lt>2020-02-19 20:08:54 +0200
committerMaxime Ripard <maxime@cerno.tech>2020-02-20 18:07:31 +0100
commit5627c9d8dd43ab30912705c4a55becc8cda7a6c8 (patch)
tree18bee22a04bb56dab0d1aef2fee741ea2b0bc962 /drivers/gpu/drm/sun4i/sun4i_tcon.h
parentdrm/sun4i: dsi: Avoid hotplug race with DRM driver bind (diff)
downloadlinux-dev-5627c9d8dd43ab30912705c4a55becc8cda7a6c8.tar.xz
linux-dev-5627c9d8dd43ab30912705c4a55becc8cda7a6c8.zip
drm/sun4i: tcon: Introduce LVDS setup routine setting
Different sunxi flavors require slightly different sequence for enabling LVDS output. This allows to differentiate between them. Signed-off-by: Andrey Lebedev <andrey@lebedev.lt> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20200219180858.4806-2-andrey.lebedev@gmail.com
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_tcon.h')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_tcon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.h b/drivers/gpu/drm/sun4i/sun4i_tcon.h
index a62ec826ae71..2974e59ef9f2 100644
--- a/drivers/gpu/drm/sun4i/sun4i_tcon.h
+++ b/drivers/gpu/drm/sun4i/sun4i_tcon.h
@@ -228,6 +228,9 @@ struct sun4i_tcon_quirks {
/* callback to handle tcon muxing options */
int (*set_mux)(struct sun4i_tcon *, const struct drm_encoder *);
+ /* handler for LVDS setup routine */
+ void (*setup_lvds_phy)(struct sun4i_tcon *tcon,
+ const struct drm_encoder *encoder);
};
struct sun4i_tcon {