summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-05-12 16:06:05 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-05-13 23:34:51 -0700
commita4ef74039104fb7da4137960c2c023f45dda6924 (patch)
tree2b90444806902e130d41bbfca648ebb0a2afcfbc /include
parent7d8964614d85232b56b010853ab7f06f93229f57 (diff)
downloadchrome-ec-a4ef74039104fb7da4137960c2c023f45dda6924.tar.gz
usb_charger: Move part-specific code to usb_switch driver
Previously usb_charger.c supported only pi3usb9281, but now support for additional parts is required. Move pericom-specific code (including the usb_charger tasks that handles various quirks of that part) to the pi3usb9281 usb_switch driver. Going forward, usb_switch drivers must implement usb_charger_set_switches() and must have some method (such as a task or interrupt handler) to update charge_manager with information about attached chargers. BUG=chrome-os-partner:53363 BRANCH=None TEST=`make buildall -j` Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I4df74e043d8cf2e532d48c39c73b7dc2930f7d3b Reviewed-on: https://chromium-review.googlesource.com/344289 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 73c42f08d5..709ee2e41e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1947,7 +1947,7 @@
/* Support USB blob handler. */
#undef CONFIG_USB_BLOB
-/* Common USB / BC1.2 charger task */
+/* Common USB / BC1.2 charger detection routines */
#undef CONFIG_USB_CHARGER
/* Enable USB serial console module. */