summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sun4i/sun4i_lvds.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-21 14:02:33 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2018-01-04 22:37:17 +0300
commita0c1214e4764047d90803f3b61ace7471696f316 (patch)
tree74e2eedf12243554c56f6cca8ca72a050263b1a4 /drivers/gpu/drm/sun4i/sun4i_lvds.h
parentec08d5966b57abc1e7da4832f0dc57d43eb031b8 (diff)
downloadlinux-a0c1214e4764047d90803f3b61ace7471696f316.tar.xz
drm/sun4i: Add LVDS support
The TCON supports the LVDS interface to output to a panel or a bridge. Let's add support for it. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Link: https://patchwork.freedesktop.org/patch/msgid/7fbb85f33ee1d5009fde4f0d7d236e11ca58b114.1513854122.git-series.maxime.ripard@free-electrons.com
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_lvds.h')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_lvds.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_lvds.h b/drivers/gpu/drm/sun4i/sun4i_lvds.h
new file mode 100644
index 000000000000..f3e90faa3082
--- /dev/null
+++ b/drivers/gpu/drm/sun4i/sun4i_lvds.h
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2017 Free Electrons
+ * Maxime Ripard <maxime.ripard@free-electrons.com>
+ */
+
+#ifndef _SUN4I_LVDS_H_
+#define _SUN4I_LVDS_H_
+
+int sun4i_lvds_init(struct drm_device *drm, struct sun4i_tcon *tcon);
+
+#endif /* _SUN4I_LVDS_H_ */