OSDN Git Service

usb: pd: Read sink capabilities from device tree
authorJack Pham <jackp@codeaurora.org>
Thu, 26 Jan 2017 20:27:07 +0000 (12:27 -0800)
committerJack Pham <jackp@codeaurora.org>
Tue, 7 Feb 2017 01:54:33 +0000 (17:54 -0800)
commitb76105e359a7033386bc16955fe435dbe3ee2afa
tree6e7fb7d56060f403d3722d7521c87b59cb348982
parent314869eb56763d34f91d5483b0d510267894fadd
usb: pd: Read sink capabilities from device tree

Add a device tree property to allow specifying the supported
set of sink capabilities. If not specified, fall back to a
single capability of 5V @ 3A.

Change-Id: I394061d9f3070099e35b651ce4b63a7993343bf1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Documentation/devicetree/bindings/usb/qpnp-pdphy.txt
drivers/usb/pd/policy_engine.c