*/
{
.desc = "mode_switch",
- .code = KEY_MODE_SWITCH,
+ .code = 248,
//.desc = "vol+",
//.code = KEY_VOLUMEUP,
#else\r
#define DBG(x...)\r
#endif\r
-#define PC_DISPLAY_MODE 1 \r
-#define ANDROID_DISPLAY_MODE 2\r
+#define PC_DISPLAY_MODE 2\r
+#define ANDROID_DISPLAY_MODE 1\r
\r
#define USB_SWITCH_IOCTL_BASE 'u'\r
#define USB_SWITCH_IOCTL_SET_USB_SWITCH_MODE _IOW(USB_SWITCH_IOCTL_BASE, 0x01, int)\r
config LCD_I30_800X480
bool "lcd I30"
+config LCD_ANDROIDCOMPUTER
+ bool "rk3188 android computer lcd"
+
config LCD_TL5001_MIPI
bool "TL5001 720X1280"
obj-$(CONFIG_LCD_MQ0801D) += lcd_mq0801d.o
obj-$(CONFIG_LCD_LD089WU1_MIPI) += lcd_LD089WU1_mipi.o
obj-$(CONFIG_LCD_B080XAN02_MIPI) += lcd_B080XAN02_mipi.o
+obj-$(CONFIG_LCD_ANDROIDCOMPUTER) += lcd_androidcomputer.o
quiet_cmd_gen = GEN $@
#define KEY_WIMAX 246
#define KEY_RFKILL 247 /* Key that controls all radios */
-#define KEY_MODE_SWITCH 248 /* Key that controls all radios */
/* Code 255 is reserved for special needs of AT keyboard driver */
int register_scaler_chip(struct scaler_chip_dev *chip);
int unregister_scaler_chip(struct scaler_chip_dev *chip);
-#define SCALER_IOCTL_MAGIC 's'
+#define SCALER_IOCTL_MAGIC 'a'
#define SCALER_IOCTL_POWER _IOW(SCALER_IOCTL_MAGIC, 0x00, char)
#define SCALER_IOCTL_GET_CUR_INPUT _IOR(SCALER_IOCTL_MAGIC, 0x01, int)
#define SCALER_IOCTL_SET_CUR_INPUT _IOW(SCALER_IOCTL_MAGIC, 0x02, int)