# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_SENSORS_AK8975 is not set
+# CONFIG_SENSORS_AK8963 is not set
# CONFIG_DS1682 is not set
CONFIG_UID_STAT=y
# CONFIG_BMP085 is not set
CONFIG_USB20_HOST_EN=y
CONFIG_USB20_OTG=y
# CONFIG_DWC_OTG_HOST_ONLY is not set
-CONFIG_DWC_OTG_DEVICE_ONLY=y
-# CONFIG_DWC_OTG_BOTH_HOST_SLAVE is not set
+# CONFIG_DWC_OTG_DEVICE_ONLY is not set
+CONFIG_DWC_OTG_BOTH_HOST_SLAVE=y
+CONFIG_DWC_OTG_DEFAULT_ID=y
+# CONFIG_DWC_OTG_DEFAULT_HOST is not set
+# CONFIG_DWC_OTG_DEFAULT_DEVICE is not set
CONFIG_DWC_CONN_EN=y
+CONFIG_USB20_OTG_EN=y
# CONFIG_DWC_OTG_DEBUG is not set
# CONFIG_DWC_REMOTE_WAKEUP is not set
CONFIG_DWC_OTG=y
wm831x_device_shutdown(Wm831x);//wm8326 shutdown
#endif
#if defined(CONFIG_REGULATOR_ACT8846)
- if (pmic_is_act8846()) {
+ if (pmic_is_tps65910()) {
printk("enter dcdet===========\n");
- if(gpio_get_value (RK30_PIN0_PB2) == GPIO_LOW)
+ if((gpio_get_value (RK30_PIN0_PB2) == GPIO_LOW)||(gpio_get_value (RK30_PIN0_PA7) == GPIO_HIGH))
{
printk("enter restart===========\n");
arm_pm_restart(0, NULL);