Merge "[Feature][R305][task-view-1573] modify cc role changing voltage to 3.6v"
diff --git a/lynq/R305/ap/os/linux/linux-3.4.x/drivers/power/aw3215_charger.c b/lynq/R305/ap/os/linux/linux-3.4.x/drivers/power/aw3215_charger.c
index 0a94b05..8be003f 100755
--- a/lynq/R305/ap/os/linux/linux-3.4.x/drivers/power/aw3215_charger.c
+++ b/lynq/R305/ap/os/linux/linux-3.4.x/drivers/power/aw3215_charger.c
@@ -575,7 +575,7 @@
{
if (gpio_get_value(DCIN_5V_GPIO) == CHG_PLUG_IN)
return 1;
- return get_adc1_voltage() > 3500;
+ return get_adc1_voltage() > 3600;
}
static set_typec_type_and_5v_out(struct aw3215_platform_data *pdata, bool charging)
@@ -586,7 +586,7 @@
gpio_set_value(pdata->gpio_5v_out_in, 1);
set_typec_try_role(2);
}
- else if (get_adc1_voltage() > 3500)
+ else if (get_adc1_voltage() > 3600)
{
g_bdi->out_5v_supply_in = 0;
gpio_set_value(pdata->gpio_5v_out_in, 1);