summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-01-26 12:27:07 -0800
committerJack Pham <jackp@codeaurora.org>2017-02-06 17:54:33 -0800
commitb76105e359a7033386bc16955fe435dbe3ee2afa (patch)
tree6e7fb7d56060f403d3722d7521c87b59cb348982 /Documentation
parent314869eb56763d34f91d5483b0d510267894fadd (diff)
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/usb/qpnp-pdphy.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/qpnp-pdphy.txt b/Documentation/devicetree/bindings/usb/qpnp-pdphy.txt
index f3c3163f0a3f..cf0628a26c5a 100644
--- a/Documentation/devicetree/bindings/usb/qpnp-pdphy.txt
+++ b/Documentation/devicetree/bindings/usb/qpnp-pdphy.txt
@@ -43,6 +43,9 @@ Optional properties:
- qcom,vconn-uses-external-source: Indicates whether VCONN supply is sourced
from an external regulator. If omitted, then it is
assumed it is connected to VBUS.
+- qcom,default-sink-caps: List of 32-bit values representing the nominal sink
+ capabilities in voltage (millivolts) and current
+ (milliamps) pairs.
Example:
qcom,qpnp-pdphy@1700 {
@@ -64,4 +67,8 @@ Example:
"msg-tx-failed",
"msg-tx-discarded",
"msg-rx-discarded";
+
+ qcom,default-sink-caps = <5000 3000>, /* 5V @ 3A */
+ <9000 3000>, /* 9V @ 3A */
+ <12000 2250>; /* 12V @ 2.25A */
};