From 040508487cd6e91caecb70c982c3bb76a501f1e5 Mon Sep 17 00:00:00 2001 From: Li Jun Date: Fri, 15 Dec 2017 00:09:25 +0800 Subject: 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 Signed-off-by: Li Jun --- Documentation/devicetree/bindings/usb/typec.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/devicetree/bindings/usb') 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: -- cgit v1.2.3