new file mode 100644
@@ -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;
+};
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. Signed-off-by: Mats Karrman <mats.dev.list@gmail.com> --- Documentation/devicetree/bindings/usb/typec-mux.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/typec-mux.txt