summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun4i_rgb.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-29 09:37:32 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-04-28 10:30:05 +0200
commit29e57fab97fcdac9bf04db5f8f59ee63ab11b866 (patch)
treedf1e390b767f303376ef30aab4a4ae568962319e /drivers/gpu/drm/sun4i/sun4i_rgb.h
parent9026e0d122ac87d329b76a9b631622b03941af64 (diff)
downloadtalos-obmc-linux-29e57fab97fcdac9bf04db5f8f59ee63ab11b866.tar.gz
talos-obmc-linux-29e57fab97fcdac9bf04db5f8f59ee63ab11b866.zip
drm: sun4i: Add RGB output
One of the A10 display pipeline possible output is an RGB interface to drive LCD panels directly. This is done through the first channel of the TCON that will output our video signals directly. Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_rgb.h')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_rgb.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_rgb.h b/drivers/gpu/drm/sun4i/sun4i_rgb.h
new file mode 100644
index 000000000000..7c4da4c8acdd
--- /dev/null
+++ b/drivers/gpu/drm/sun4i/sun4i_rgb.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2015 Free Electrons
+ * Copyright (C) 2015 NextThing Co
+ *
+ * Maxime Ripard <maxime.ripard@free-electrons.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ */
+
+#ifndef _SUN4I_RGB_H_
+#define _SUN4I_RGB_H_
+
+int sun4i_rgb_init(struct drm_device *drm);
+
+#endif /* _SUN4I_RGB_H_ */
OpenPOWER on IntegriCloud