summaryrefslogtreecommitdiff
path: root/common/usb_charger.c
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2016-05-27 16:10:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-08 17:14:52 -0700
commit6e874dc7e7535189d4bd0e62ae1f98ba8d2c1650 (patch)
tree56f4df5e898a8d924e119ad5769d093e3c2d4775 /common/usb_charger.c
parentbb6918cbdfd521dc30316deaa03788db569fadc5 (diff)
downloadchrome-ec-6e874dc7e7535189d4bd0e62ae1f98ba8d2c1650.tar.gz
BD99955: Add support to detect non-BC1.2 compliant chargers
If a non-BC1.2 compliant charger is attached and if the USB charge port detection is success then setting the charger supplier type as CHARGE_SUPPLIER_OTHER. BUG=none BRANCH=none TEST=Manually tested on Amenia. Used Apple USB charger (5.1V & 2.1A) and few non-BC1.2 chargers (5V & 1A, 5V & 2.1A). Charger is detected as CHARGE_SUPPLIER_OTHER and the battery can charge. Change-Id: I35458dc173505cea970afc37d8f9ffb3c4376fe2 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/348060 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'common/usb_charger.c')
0 files changed, 0 insertions, 0 deletions