Skip to contentSkip to conversation

dt-bindings: usb: typec-mux: Add property for default mux mode

RFC New Mats Karrman 1 participant 1 message May 1, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/devicetree/bindings/usb/typec-mux.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/usb/typec-mux.txt +2 -0
index 1e93973..ca960fc 100644
@@ -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>;
 };