diff options
author | Aseda Aboagye <aaboagye@google.com> | 2017-08-24 13:08:07 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-28 15:24:10 -0700 |
commit | 52789bd7fd6307e2d48add81a325c1582303ea1b (patch) | |
tree | 419f6251cb2d69e75ec2445f0d9b5e6eafc1dd0e /board/samus/battery.c | |
parent | e5c69151dfd895162118023b6c591686dd49d4c9 (diff) | |
download | chrome-ec-52789bd7fd6307e2d48add81a325c1582303ea1b.tar.gz |
usb_port_power_smart: Add CDP/SDP only option.
For some boards, the control lines to the charging port controller are
all tied to a power rail. In essence, this leaves the ILIM_SEL as the
only signal able to be controlled, which means that we only support
CDP/SDP.
This commit adds a new CONFIG_* option which describes this.
CONFIG_USB_PORT_POWER_SMART_CDP_SDP_ONLY
Additionally, some cleanup is made to not always assume the number of
smart power ports.
BUG=None
BRANCH=None
TEST=make -j buildall
Change-Id: I080ccd67ffc20ccccf1e6b33a3cf9374a6b70ad6
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/634274
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/samus/battery.c')
0 files changed, 0 insertions, 0 deletions