diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-10-05 16:12:11 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2016-10-14 17:51:45 -0700 |
| commit | 7f87a85c9730f0d3372bc90e89f61c6fd1e9b04e (patch) | |
| tree | c37af4429f21bf23c4441a5aa4a059503bca287c /lib/assoc_array.c | |
| parent | 18da08334eb3355158544a02db35d48761584a22 (diff) | |
usb: pd: Use new power_supply properties for PD current
Switch to setting the POWER_SUPPLY_PROP_PD_CURRENT_MAX for
indicating the current limit to the charger driver when
an explicit contract is established. Also set the
POWER_SUPPLY_PROP_PD_USB_SUSPEND_SUPPORTED property whenever
encountering the "USB Suspend Supported" bit in the first
PDO of a Source Capabilities message. This is an indication
to the charger that when the USB bus enters suspend state that
it should follow suspend rules according to USB 2.0/3.1 spec.
Change-Id: I665ec788a770632b4849b9beff8444d00e956ce1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
