MLK-17128-1 dt-bindings: typec: add max_snk_mw property
authorLi Jun <jun.li@nxp.com>
Thu, 14 Dec 2017 16:09:25 +0000 (00:09 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:30 +0000 (14:51 -0500)
commitde1d35daec8ca733fad118075c961dde0c3662e8
tree02bf82d8f028e0073bd36b522261984e1297e582
parent11f713a565ba8c2895e05c3947c28362f667f259
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>
Documentation/devicetree/bindings/usb/typec.txt