aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2017-07-30 08:09:38 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2017-07-31 17:26:26 +0100
commitf53bfeecd4d43d51d722b0ddca8e47b36c72b163 (patch)
tree8f0617e65b5f4e98665c76782b6e2ee4aca7cb98
parentc2fc52b9d0e2e511d50f95ac3d369b6af4a2c579 (diff)
include: rda: tgt_ap_panel_setting: RDA support
-rw-r--r--include/rda/tgt_ap_panel_setting.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/rda/tgt_ap_panel_setting.h b/include/rda/tgt_ap_panel_setting.h
new file mode 100644
index 0000000000..a414aedfe0
--- /dev/null
+++ b/include/rda/tgt_ap_panel_setting.h
@@ -0,0 +1,26 @@
+#ifndef __TGT_AP_PANEL_SETTING_H
+#define __TGT_AP_PANEL_SETTING_H
+
+#include <rda/rda_panel_comm.h>
+
+/* ***************************************************************
+ * The above list all the panel rda support, the following line to
+ * select panel
+ ***************************************************************
+*/
+
+#define PANEL_NAME AUTO_DET_LCD_PANEL_NAME
+#define PANEL_XSIZE WVGA_LCDD_DISP_X
+#define PANEL_YSIZE WVGA_LCDD_DISP_Y
+
+/* for multiple panel support, user can set AUTO_DETECR_SUPPORTED_PANEL_NUM to -1 and let kernel lookup all panel */
+#undef AUTO_DETECT_SUPPORTED_PANEL_NUM
+#undef AUTO_DETECT_SUPPORTED_PANEL_LIST
+
+#define AUTO_DETECT_SUPPORTED_PANEL_NUM 1
+
+#define AUTO_DETECT_SUPPORTED_PANEL_LIST \
+ ILI9806G_MCU_PANEL_NAME
+
+#define TARGET_AP_PANEL_ILI9806G_MCU 1
+#endif /* __TGT_AP_PANEL_SETTING_H */