diff options
author | Andrey Lebedev <andrey@lebedev.lt> | 2020-02-19 21:08:54 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-02-20 20:07:31 +0300 |
commit | 5627c9d8dd43ab30912705c4a55becc8cda7a6c8 (patch) | |
tree | 18bee22a04bb56dab0d1aef2fee741ea2b0bc962 /drivers/gpu/drm/sun4i/sun4i_tcon.h | |
parent | 80579bf36c11a01c618d43ec6eb8056ef974c9cb (diff) | |
download | linux-5627c9d8dd43ab30912705c4a55becc8cda7a6c8.tar.xz |
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.h | 3 |
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 { |