.name = "rk29_vout",
};
-/*HANNSTAR_P1003 touch*/
+/* HANNSTAR_P1003 touch I2C */
#if defined (CONFIG_HANNSTAR_P1003)
#define TOUCH_RESET_PIN RK29_PIN6_PC3
#define TOUCH_INT_PIN RK29_PIN4_PD5
};
#endif
+/* EETI_EGALAX touch I2C */
+
#if defined (CONFIG_EETI_EGALAX)
#define TOUCH_RESET_PIN RK29_PIN6_PC3
#define TOUCH_INT_PIN RK29_PIN4_PD5
};
#endif
+
+/* GT801 touch I2C */
+#if defined (CONFIG_GT801)
+#include <drivers/input/touchscreen/gt801.h>
+#define TOUCH_RESET_PIN RK29_PIN6_PC3
+#define TOUCH_INT_PIN RK29_PIN4_PD5
+
+static struct gt801_platform_data gt801_info = {
+ .model = 801,
+ .swap_xy = 0,
+ .x_min = 0,
+ .x_max = 480,
+ .y_min = 0,
+ .y_max = 800,
+ .gpio_reset = TOUCH_RESET_PIN,
+ .gpio_reset_active_low = 1,
+ .gpio_pendown = TOUCH_INT_PIN,
+ .pendown_iomux_name = GPIO4D5_CPUTRACECTL_NAME,
+ .resetpin_iomux_name = "FFF",
+ .pendown_iomux_mode = GPIO4H_GPIO4D5,
+ .resetpin_iomux_mode = 0,
+ .get_pendown_state = NULL,
+};
+#endif
+
/*MMA8452 gsensor*/
#if defined (CONFIG_GS_MMA8452)
#define MMA8452_INT_PIN RK29_PIN6_PC4
.platform_data = >801_info,
},
#endif
+#if defined (CONFIG_GT801)
+ {
+ .type = "gt801_touch",
+ .addr = 0x55,
+ .flags = 0,
+ .irq = RK29_PIN4_PD5,
+ .platform_data = >801_info,
+ },
+#endif
#if defined (CONFIG_MFD_WM831X_I2C)
{
.type = "wm8310",
void (*exit_platform_hw)(void);
};
-
struct akm8975_platform_data {
char layouts[3][3];
char project_name[64];
config TOUCHSCREEN_XPT2046_SPI
tristate "XPT2046 based touchscreens:SPI Interface"
- depends on SPIM_RK29
+ depends on SPIM_RK2818 || SPIM_RK29
config TOUCHSCREEN_XPT2046_NORMAL_SPI
tristate "normal mode"
tristate "320X480 resolution"
depends on TOUCHSCREEN_XPT2046_CBN_SPI
-#choice
-# prompt "XPT2046 based touchscreens: SPI Interface"
-# default TOUCHSCREEN_XPT2046_CBN_SPI
-
-# config TOUCHSCREEN_XPT2046_SPI_NOCHOOSE
-# bool "DO NOT CHOOSE TOUCHSCREEN_XPT2046"
-
-# config TOUCHSCREEN_XPT2046_SPI
-# bool "800X480 TOUCHSCREEN"
-# depends on SPIM_RK2818 || SPIM_RK29
-
-# config TOUCHSCREEN_XPT2046_CBN_SPI
-# bool "800X480 CALIBRATION TOUCHSCREEN"
-# depends on SPIM_RK2818 || SPIM_RK29
-
-# config TOUCHSCREEN_XPT2046_320X480_SPI
-# bool "320X480 TOUCHSCREEN"
-# depends on SPIM_RK2818 || SPIM_RK29
-
-# config TOUCHSCREEN_XPT2046_320X480_CBN_SPI
-# bool "320X480 CALIBRATION TOUCHSCREEN"
-# depends on SPIM_RK2818 || SPIM_RK29
-#endchoice
-
-
config TOUCHSCREEN_ADS7846
tristate "ADS7846/TSC2046 and ADS7843 based touchscreens"
depends on SPI_MASTER
To compile this driver as a module, choose M here: the
module will be called ad7877.
-
-
config RK28_I2C_TS_NTP070
tristate "NTP070 based touchscreens: NTP070 Interface"
depends on I2C_RK2818
config TOUCHSCREEN_GT801_IIC
tristate "GT801_IIC based touchscreens"
depends on I2C2_RK29
+
endif
obj-$(CONFIG_EETI_EGALAX) += eeti_egalax_i2c.o
obj-$(CONFIG_ATMEL_MXT224) += atmel_mxt224.o
obj-$(CONFIG_TOUCHSCREEN_GT801_IIC) += gt801_ts.o
+
bool "RGB_HL070VM4AU"
config LCD_HSD070IDW1
bool "RGB Hannstar800x480"
+config LCD_RGB_TFT480800_25_E
+ bool "RGB TFT480800_25_E"
config LCD_HSD100PXN
bool "RGB Hannstar HSD100PXN(1024X768)"
config LCD_B101AW06
bool "MCU TFT480800_25_E"
config LCD_ILI9803_CPT4_3
bool "RGB lcd_ILI9803_CPT4_3"
+config LCD_IPS1P5680_V1_E
+ bool "MCU IPS1P5680_V1_E"
+config LCD_MCU_TFT480800_25_E
+ bool "MCU TFT480800_25_E"
config LCD_ANX7150_720P
bool "anx7150 720p for default panel"
---help---
obj-$(CONFIG_HDMI_NULL) += hdmi_null.o
+
obj-$(CONFIG_LCD_TD043MGEA1) += lcd_td043mgea1.o
obj-$(CONFIG_LCD_HSD070IDW1) += lcd_hsd800x480.o
obj-$(CONFIG_LCD_HL070VM4AU) += lcd_hl070vm4.o
obj-$(CONFIG_LCD_S1D13521) += lcd_s1d13521.o
obj-$(CONFIG_LCD_NT35582) += lcd_nt35582.o
obj-$(CONFIG_LCD_NT35580) += lcd_nt35580.o
+obj-$(CONFIG_LCD_IPS1P5680_V1_E) += lcd_ips1p5680_v1_e.o
+obj-$(CONFIG_LCD_RGB_TFT480800_25_E) += lcd_rgb_tft480800_25_e.o
+obj-$(CONFIG_LCD_MCU_TFT480800_25_E) += lcd_mcu_tft480800_25_e.o
+obj-$(CONFIG_LCD_LS035Y8DX02A) += lcd_ls035y8dx02a.o
obj-$(CONFIG_HDMI_ANX7150) += hdmi_anx7150.o
} MCU_STATUS;
-/* Sceen description */
+/* Screen description */
struct rk29fb_screen {
/* screen type & out face */
u16 type;
/* Operation function*/
int (*init)(void);
- int (*standby)(u8 enable);
- int (*refresh)(u8 arg);
- int (*scandir)(u16 dir);
- int (*disparea)(u8 area);
+ int (*standby)(u32 enable);
+ int (*refresh)(u32 arg);
+ int (*scandir)(u32 dir);
+ int (*disparea)(u32 area);
};