From 313355302b2bc829e7ca16455ffa2a39b46ff4f4 Mon Sep 17 00:00:00 2001 From: Vijay Hiremath Date: Sat, 16 Apr 2016 01:08:55 -0700 Subject: Driver: BD99955: Enable BC1.2 support BUG=none BRANCH=none TEST=Manually tested on Amenia. Connected Zinger, Type-C, DCP & CDP chargers. Device can negotiate to desired current & voltage and the battery can charge. USB2.0 sync device is detected by Kernel. Change-Id: I58cb69289eef9a966e06bef8fe31d35beaec5e27 Signed-off-by: Vijay Hiremath Reviewed-on: https://chromium-review.googlesource.com/341030 Commit-Ready: Vijay P Hiremath Tested-by: Vijay P Hiremath Tested-by: Kevin K Wong Reviewed-by: Shawn N --- board/glados/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'board/glados') diff --git a/board/glados/board.c b/board/glados/board.c index 8855ae9518..29d05f1dea 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -323,9 +323,11 @@ int board_set_active_charge_port(int charge_port) /** * Set the charge limit based upon desired maximum. * + * @param port Port number. + * @param supplier Charge supplier type. * @param charge_ma Desired charge limit (mA). */ -void board_set_charge_limit(int charge_ma) +void board_set_charge_limit(int port, int supplier, int charge_ma) { charge_set_input_current_limit(MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT)); -- cgit v1.2.1