diff mbox

[RFC,6/7] dt-bindings: usb: typec-mux: Add property for default mux mode

Message ID 1525213273-6103-7-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
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.

Signed-off-by: Mats Karrman <mats.dev.list@gmail.com>
---
 Documentation/devicetree/bindings/usb/typec-mux.txt | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/usb/typec-mux.txt b/Documentation/devicetree/bindings/usb/typec-mux.txt
index 1e93973..ca960fc 100644
--- a/Documentation/devicetree/bindings/usb/typec-mux.txt
+++ b/Documentation/devicetree/bindings/usb/typec-mux.txt
@@ -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>;
 };