Skip to contentSkip to conversation

dt-bindings: usb: Add general documentation for USB Type-C muxes

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

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

RFC 4/7 dt-bindings: usb: Add general documentation for USB Type-C muxes

This patch adds documentation of properties allowing the supported set of mux modes to be restricted in situations where a bad mode selection may have negative effects.

---
 Documentation/devicetree/bindings/usb/typec-mux.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/typec-mux.txt
Documentation/devicetree/bindings/usb/typec-mux.txt new file +18 -0
new file mode 100644
index 0000000..1e93973
@@ -0,0 +1,18 @@
+USB Type-C Multiplexer/DeMultiplexer Switch
+
+Optional properties:
+ - have-2ch-usbss : The hardware has support for 2ch USB SS.
+ - have-4ch-am : The hardware has support for 4ch Alternate Mode.
+ - have-2ch-usbss-2ch-am : The hardware has support for 2ch USB SS + 2ch
+     Alternate Mode.
+ - 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.
+
+Example :
+pi3usb30532@00 {
+	compatible = "pericom,pi3usb30532";
+	reg = <0x00>;
+	have-2ch-usbss;
+	have-4ch-am;
+};