summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tilcdc/tilcdc_slave.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-01-23 02:02:21 +0400
committerRob Clark <robdclark@gmail.com>2013-02-20 02:57:44 +0400
commit6e8de0bd6a51fdeebd5d975c4fcc426f730b339b (patch)
tree16578d6569e031751ddfbb3db2991833c70201dd /drivers/gpu/drm/tilcdc/tilcdc_slave.h
parente7792ce2da5ded80861db787ace9b57ecf7bc96c (diff)
downloadlinux-6e8de0bd6a51fdeebd5d975c4fcc426f730b339b.tar.xz
drm/tilcdc: add encoder slave (v2)
Add output panel driver for i2c encoder slaves. v1: original v2: add DT bindings docs, and minor updates for review comments Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Tested-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_slave.h')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_slave.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave.h b/drivers/gpu/drm/tilcdc/tilcdc_slave.h
new file mode 100644
index 000000000000..2f8504848320
--- /dev/null
+++ b/drivers/gpu/drm/tilcdc/tilcdc_slave.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 Texas Instruments
+ * Author: Rob Clark <robdclark@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __TILCDC_SLAVE_H__
+#define __TILCDC_SLAVE_H__
+
+/* sub-module for i2c slave encoder output */
+
+int tilcdc_slave_init(void);
+void tilcdc_slave_fini(void);
+
+#endif /* __TILCDC_SLAVE_H__ */