mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
431a30b7d4
Convert the usb-connector.txt bindings file to YAML format. This allows it to be used in dt_bindings_check verification. This patch was born out of a patch series for the addition of a Type C connector class port driver[1]. An attempt has been made to maintain the same documentation text and example structure as was in the .txt file, but wherever needed modifications have been made to satisfy dt_bindings_check. Also, update all references to usb-connector.txt to now use usb-connector.yaml. [1]: https://lkml.org/lkml/2020/2/19/1232 Signed-off-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Rob Herring <robh@kernel.org>
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
Samsung micro-USB 11-pin connector
|
|
==================================
|
|
|
|
Samsung micro-USB 11-pin connector is an extension of micro-USB connector.
|
|
It is present in multiple Samsung mobile devices.
|
|
It has additional pins to route MHL traffic simultanously with USB.
|
|
|
|
The bindings are superset of usb-connector bindings for micro-USB connector[1].
|
|
|
|
Required properties:
|
|
- compatible: must be: "samsung,usb-connector-11pin", "usb-b-connector",
|
|
- type: must be "micro".
|
|
|
|
Required nodes:
|
|
- any data bus to the connector should be modeled using the OF graph bindings
|
|
specified in bindings/graph.txt, unless the bus is between parent node and
|
|
the connector. Since single connector can have multpile data buses every bus
|
|
has assigned OF graph port number as follows:
|
|
0: High Speed (HS),
|
|
3: Mobile High-Definition Link (MHL), specific to 11-pin Samsung micro-USB.
|
|
|
|
[1]: bindings/connector/usb-connector.yaml
|
|
|
|
Example
|
|
-------
|
|
|
|
Micro-USB connector with HS lines routed via controller (MUIC) and MHL lines
|
|
connected to HDMI-MHL bridge (sii8620):
|
|
|
|
muic-max77843@66 {
|
|
...
|
|
usb_con: connector {
|
|
compatible = "samsung,usb-connector-11pin", "usb-b-connector";
|
|
label = "micro-USB";
|
|
type = "micro";
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@3 {
|
|
reg = <3>;
|
|
usb_con_mhl: endpoint {
|
|
remote-endpoint = <&sii8620_mhl>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|