6/22/2012

What is the API or callback function when the Wall charger or USB host is detected in Qualcomm modem?

When the wall-charger is detected, D+ and D- are shorted, and hsu_chg_wallchg_detect() is called.

and the boolean varaible, 'is_wall_charger' should be true.



In the case that USB host is connected, initially D+ will goes high, and D- low, and otg_notify_device_mode_cb() is called. hsu_conf_sel_stack_utils_handle_chg_connect() is followed.

No comments:

Post a Comment