* [RFC,4/7] dt-bindings: usb: Add general documentation for USB Type-C muxes
@ 2018-05-01 22:21 Mats Karrman
0 siblings, 0 replies; only message in thread
From: Mats Karrman @ 2018-05-01 22:21 UTC (permalink / raw)
To: Heikki Krogerus, Hans de Goede, Guenter Roeck, Greg Kroah-Hartman
Cc: Rob Herring, linux-usb
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
diff --git a/Documentation/devicetree/bindings/usb/typec-mux.txt b/Documentation/devicetree/bindings/usb/typec-mux.txt
new file mode 100644
index 0000000..1e93973
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/typec-mux.txt
@@ -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;
+};
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-01 22:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-01 22:21 [RFC,4/7] dt-bindings: usb: Add general documentation for USB Type-C muxes Mats Karrman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).