diff options
author | Kyle Tso <[email protected]> | 2021-08-04 16:19:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 13:05:51 +0200 |
commit | e9e6e164ed8f6d017f08b426cfc936bb70ec6d5d (patch) | |
tree | 4c336effd70dbb035d59705958e057c779cad29f /scripts/gdb/linux/utils.py | |
parent | 7a4440bc0d86acfb5342e4483daa184c1b28a24a (diff) |
usb: typec: tcpm: Support non-PD mode
Even if the Type-C controller supports PD, it is doable to disable PD
capabilities with the current state machine in TCPM. Without enabling RX
in low-level drivers and with skipping the power negotiation, the port
is eligible to be a non-PD Type-C port. Use new flags whose values are
populated from the device tree to decide the port PD capability. Adding
"pd-disable" property in device tree indicates that the port does not
support PD. If PD is not supported, the device tree property
"typec-power-opmode" shall be added to specify the advertised Rp value
if the port supports SRC role.
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Kyle Tso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions