Files
OpenCellular/common
Shawn Nematbakhsh a4ef740391 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>
2016-05-13 23:34:51 -07:00
..
2014-05-21 20:32:17 +00:00
2015-05-19 02:46:27 +00:00
2016-03-30 04:37:39 -07:00
2015-09-25 18:05:27 -07:00
2016-02-08 13:47:49 -08:00
2016-04-27 14:04:07 -07:00
2014-03-06 21:33:09 +00:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-03-02 13:39:47 -08:00
2015-11-25 18:15:38 -08:00
2015-10-19 13:45:49 -07:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-03-21 16:35:33 -07:00
2015-09-21 01:13:54 -07:00
2015-09-24 12:46:28 -07:00