From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001
From: Srikant Patnaik
Date: Sun, 11 Jan 2015 12:28:04 +0530
Subject: Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
---
drivers/video/wmt/cec.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100755 drivers/video/wmt/cec.h
(limited to 'drivers/video/wmt/cec.h')
diff --git a/drivers/video/wmt/cec.h b/drivers/video/wmt/cec.h
new file mode 100755
index 00000000..887be767
--- /dev/null
+++ b/drivers/video/wmt/cec.h
@@ -0,0 +1,64 @@
+/*++
+ * linux/drivers/video/wmt/cec.h
+ * WonderMedia HDMI CEC driver
+ *
+ * Copyright c 2013 WonderMedia Technologies, Inc.
+ *
+ * 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.
+ *
+ * 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 .
+ *
+ * WonderMedia Technologies, Inc.
+ * 4F, 533, Chung-Cheng Road, Hsin-Tien, Taipei 231, R.O.C
+--*/
+
+#include "vpp-osif.h"
+#include "./hw/wmt-vpp-hw.h"
+#include "hw/wmt-cec-reg.h"
+
+#ifdef WMT_FTBLK_CEC
+
+#ifndef CEC_H
+#define CEC_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef CEC_C
+#define EXTERN
+#else
+#define EXTERN extern
+#endif
+
+EXTERN void wmt_cec_tx_data(char *buf, int size);
+EXTERN void wmt_cec_clr_int(int sts);
+EXTERN int wmt_cec_get_int(void);
+
+EXTERN void wmt_cec_enable_loopback(int enable);
+EXTERN void wmt_cec_tx_data(char *buf, int size);
+EXTERN int wmt_cec_rx_data(char *buf);
+EXTERN void wmt_cec_hotplug_notify(int plug_status);
+EXTERN void wmt_cec_do_hotplug_notify(int no, int plug_status);
+
+EXTERN void wmt_cec_init_hw(void);
+EXTERN void wmt_cec_set_logical_addr(int no, char addr, int enable);
+EXTERN void wmt_cec_rx_enable(int enable);
+EXTERN void wmt_cec_do_suspend(void);
+EXTERN void wmt_cec_do_resume(void);
+
+#undef EXTERN
+#ifdef __cplusplus
+}
+#endif
+#endif /* CEC_H */
+#endif /* WMT_FTBLK_CEC */
--
cgit
From 63058268f9ab1c96396d3d138aefc3f7b0f72869 Mon Sep 17 00:00:00 2001
From: Srikant Patnaik
Date: Sun, 11 Jan 2015 20:10:08 +0530
Subject: Fix white screen issue during bootup
Signed-off-by: Manish Patel
---
drivers/video/wmt/cec.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
mode change 100755 => 100644 drivers/video/wmt/cec.h
(limited to 'drivers/video/wmt/cec.h')
diff --git a/drivers/video/wmt/cec.h b/drivers/video/wmt/cec.h
old mode 100755
new mode 100644
index 887be767..d11d27b3
--- a/drivers/video/wmt/cec.h
+++ b/drivers/video/wmt/cec.h
@@ -23,7 +23,8 @@
#include "vpp-osif.h"
#include "./hw/wmt-vpp-hw.h"
-#include "hw/wmt-cec-reg.h"
+#include "vpp.h"
+#include "com-cec.h"
#ifdef WMT_FTBLK_CEC
--
cgit