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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commite9618288a7e7cbd1372e03dd8fc8dac33ae458c7
treeddbb432aabd488d0db7aa2b08482bf9e19f08d6c
parentc19dfefee32f63e9a67425e8368409559a1a4f4b
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>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
Documentation/devicetree/bindings/usb/typec.txt