1、 typec線識別流程(ADP開關和USB_OPTION的開關切到typec那邊)
usb_id_irq_handler-->切換模式micro_usb_set_mode
2、adp micro b線檢測流程
client_data.id = MSG_OWNER_BC;
client_data.name = "battery_charger";
client_data.msg_cb = battery_chg_callback;
client_data.priv = bcdev;
client_data.state_cb = battery_chg_state_cb;
bcdev->client = pmic_glink_register_client(dev, &client_data);
充電檢測(adsp檢測發通知(glink)然後跑識別的流程)--->battery_chg_callback--->handle_notification(schedule_work(&bcdev->usb_type_work);)--> battery_chg_update_usb_type_work-->battery_chg_update_uusb_type--->切換模式 micro_usb_set_mode