summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2017-12-15 00:09:25 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit040508487cd6e91caecb70c982c3bb76a501f1e5 (patch)
tree7c04ee469dd7a3348a5577ae88069227beb3e8ae /Documentation/devicetree/bindings/usb
parent50e18ac44310be3686a7c552ac7150ae628fc188 (diff)
MLK-17128-1 dt-bindings: typec: add max_snk_mw property
Add max_snk_mw property for power sink to know the max power. Because the max mw may be smaller than the max ma multiplied by max mv: max-mw <= max-mv*max-ma After the power sink decides the PDO from source, it needs to check the power to see if the provided power of this PDO can match its requirement, which needs consider max_snk_mw to know the max current it can have based on selected voltage. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/typec.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/typec.txt b/Documentation/devicetree/bindings/usb/typec.txt
index e71b426322cc..f1339dce5978 100644
--- a/Documentation/devicetree/bindings/usb/typec.txt
+++ b/Documentation/devicetree/bindings/usb/typec.txt
@@ -28,6 +28,10 @@ Required properties:
power is less then it, Capability Mismatch is set, required
only for power sink and power dual role with power delivery
support.
+- max-snk-mw: The max power the sink can support in milliwatts, required
+ for power sink and power dual role with power delivery support,
+ power sink needs this property to get the max current based on
+ the selected PDO.
Example: