\r
\r
struct bp_operate bp_sew290_ops = {\r
+#if defined(CONFIG_ARCH_RK2928)\r
+ .name = "sew290",\r
+ .bp_id = BP_ID_SEW290,\r
+ .bp_bus = BP_BUS_TYPE_USB_UART, \r
+ .bp_pid = 0, \r
+ .bp_vid = 0, \r
+ .bp_power = RK2928_PIN3_PC2, // 3g_power\r
+ .bp_en = BP_UNKNOW_DATA, // 3g_en\r
+ .bp_reset = RK2928_PIN1_PA3,\r
+ .ap_ready = BP_UNKNOW_DATA, //\r
+ .bp_ready = BP_UNKNOW_DATA,\r
+ .ap_wakeup_bp = RK2928_PIN3_PC4,\r
+ .bp_wakeup_ap = RK2928_PIN3_PC3, //\r
+ .bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
+ .bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
+ .trig = IRQF_TRIGGER_FALLING,\r
+\r
+ .active = bp_active,\r
+ .init = bp_init,\r
+ .reset = bp_reset,\r
+ .ap_wake_bp = ap_wake_bp,\r
+ .bp_wake_ap = bp_wake_ap,\r
+ .shutdown = bp_shutdown,\r
+ .read_status = NULL,\r
+ .write_status = NULL,\r
+ .suspend = bp_suspend,\r
+ .resume = bp_resume,\r
+ .misc_name = NULL,\r
+ .private_miscdev = NULL,\r
+#elif defined(CONFIG_ARCH_RK30)\r
.name = "sew290",\r
.bp_id = BP_ID_SEW290,\r
.bp_bus = BP_BUS_TYPE_USB_UART, \r
.resume = bp_resume,\r
.misc_name = NULL,\r
.private_miscdev = NULL,\r
+#else\r
+ .name = "sew290",\r
+ .bp_id = BP_ID_SEW290,\r
+ .bp_bus = BP_BUS_TYPE_USB_UART, \r
+ .bp_pid = 0, \r
+ .bp_vid = 0, \r
+ .bp_power = BP_UNKNOW_DATA,//RK2928_PIN3_PC2, // 3g_power\r
+ .bp_en = BP_UNKNOW_DATA, // 3g_en\r
+ .bp_reset = BP_UNKNOW_DATA,//RK2928_PIN1_PA3,\r
+ .ap_ready = BP_UNKNOW_DATA, //\r
+ .bp_ready = BP_UNKNOW_DATA,\r
+ .ap_wakeup_bp = BP_UNKNOW_DATA,//RK2928_PIN3_PC4,\r
+ .bp_wakeup_ap = BP_UNKNOW_DATA,//RK2928_PIN3_PC3, //\r
+ .bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
+ .bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
+ .trig = IRQF_TRIGGER_FALLING,\r
+\r
+ .active = bp_active,\r
+ .init = bp_init,\r
+ .reset = bp_reset,\r
+ .ap_wake_bp = ap_wake_bp,\r
+ .bp_wake_ap = bp_wake_ap,\r
+ .shutdown = bp_shutdown,\r
+ .read_status = NULL,\r
+ .write_status = NULL,\r
+ .suspend = bp_suspend,\r
+ .resume = bp_resume,\r
+ .misc_name = NULL,\r
+ .private_miscdev = NULL,\r
+#endif\r
};\r
\r
/****************operate according to bp chip:end************/\r
\r
\r
struct bp_operate bp_U7501_ops = {\r
+#if defined(CONFIG_ARCH_RK2928)\r
+ .name = "U7501",\r
+ .bp_id = BP_ID_U7501,\r
+ .bp_bus = BP_BUS_TYPE_USB_UART, \r
+ .bp_pid = 0, \r
+ .bp_vid = 0, \r
+ .bp_power = RK2928_PIN3_PC2, // 3g_power\r
+ .bp_en = BP_UNKNOW_DATA, // 3g_en\r
+ .bp_reset = RK2928_PIN1_PA3,\r
+ .ap_ready = BP_UNKNOW_DATA, //\r
+ .bp_ready = BP_UNKNOW_DATA,\r
+ .ap_wakeup_bp = RK2928_PIN3_PC4,\r
+ .bp_wakeup_ap = RK2928_PIN3_PC3, //\r
+ .bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
+ .bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
+ .trig = IRQF_TRIGGER_FALLING,\r
+\r
+ .active = bp_active,\r
+ .init = bp_init,\r
+ .reset = bp_reset,\r
+ .ap_wake_bp = ap_wake_bp,\r
+ .bp_wake_ap = bp_wake_ap,\r
+ .shutdown = bp_shutdown,\r
+ .read_status = NULL,\r
+ .write_status = NULL,\r
+ .suspend = bp_suspend,\r
+ .resume = bp_resume,\r
+ .misc_name = NULL,\r
+ .private_miscdev = NULL,\r
+#elif defined(CONFIG_ARCH_RK30)\r
.name = "U7501",\r
.bp_id = BP_ID_U7501,\r
.bp_bus = BP_BUS_TYPE_USB_UART, \r
.resume = bp_resume,\r
.misc_name = NULL,\r
.private_miscdev = NULL,\r
+#else\r
+ .name = "U7501",\r
+ .bp_id = BP_ID_U7501,\r
+ .bp_bus = BP_BUS_TYPE_USB_UART, \r
+ .bp_pid = 0, \r
+ .bp_vid = 0, \r
+ .bp_power = BP_UNKNOW_DATA,//RK2928_PIN3_PC2, // 3g_power\r
+ .bp_en = BP_UNKNOW_DATA, // 3g_en\r
+ .bp_reset = BP_UNKNOW_DATA,//RK2928_PIN1_PA3,\r
+ .ap_ready = BP_UNKNOW_DATA, //\r
+ .bp_ready = BP_UNKNOW_DATA,\r
+ .ap_wakeup_bp = BP_UNKNOW_DATA,//RK2928_PIN3_PC4,\r
+ .bp_wakeup_ap = BP_UNKNOW_DATA,//RK2928_PIN3_PC3, //\r
+ .bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
+ .bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
+ .trig = IRQF_TRIGGER_FALLING,\r
+\r
+ .active = bp_active,\r
+ .init = bp_init,\r
+ .reset = bp_reset,\r
+ .ap_wake_bp = ap_wake_bp,\r
+ .bp_wake_ap = bp_wake_ap,\r
+ .shutdown = bp_shutdown,\r
+ .read_status = NULL,\r
+ .write_status = NULL,\r
+ .suspend = bp_suspend,\r
+ .resume = bp_resume,\r
+ .misc_name = NULL,\r
+ .private_miscdev = NULL,\r
+#endif\r
};\r
\r
/****************operate according to bp chip:end************/\r