From e9618288a7e7cbd1372e03dd8fc8dac33ae458c7 Mon Sep 17 00:00:00 2001 From: Li Jun Date: Fri, 15 Dec 2017 00:09:25 +0800 Subject: [PATCH] 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 Signed-off-by: Vipul Kumar --- Documentation/devicetree/bindings/usb/typec.txt | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.17.1