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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 Documentation/devicetree/bindings/usb/typec-mux.txt | 2 ++
 1 file changed, 2 insertions(+)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux