dt-bindings: usb: typec-mux: Add property for default mux mode
Subsystems (2)
RFC 6/7 dt-bindings: usb: typec-mux: Add property for default mux mode
For some devices it is necessary to specify a different initial mux mode to use after connection. E.g. some devices may not have USB SS support but just USB HS and an alternate mode and thus prefer TYPEC_MUX_NONE as default mode.
Signed-off-by Mats Karrman <[email protected]>
--- Documentation/devicetree/bindings/usb/typec-mux.txt | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/usb/typec-mux.txt +2 -0
@@ -8,6 +8,7 @@ Optional properties: - have-4ch-usbss : The hardware has support for 4ch USB SS. - have-2ch-usbss-2ch-am-b : The hardware has support for 2ch USB SS + 2ch Alternate Mode, alternate pair. + - default-mux-mode: Mux mode to use after initial connection. Example : pi3usb30532@00 {
@@ -15,4 +16,5 @@ pi3usb30532@00 { reg = <0x00>; have-2ch-usbss; have-4ch-am; + default-mux-mode = <2ch-usbss>; };