diff mbox

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

Message ID 1525213273-6103-5-git-send-email-mats.dev.list@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mats Karrman May 1, 2018, 10:21 p.m. UTC
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 mbox

Patch

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;
+};