Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / usb / nxp,ptn36502.yaml
blobd805dde80796f31a066cf52ba2f226ce2e9e9cc2
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver
9 maintainers:
10   - Luca Weiss <luca.weiss@fairphone.com>
12 properties:
13   compatible:
14     enum:
15       - nxp,ptn36502
17   reg:
18     maxItems: 1
20   vdd18-supply:
21     description: Power supply for VDD18 pin
23   orientation-switch: true
24   retimer-switch: true
26   ports:
27     $ref: /schemas/graph.yaml#/properties/ports
28     properties:
29       port@0:
30         $ref: /schemas/graph.yaml#/properties/port
31         description: Super Speed (SS) Output endpoint to the Type-C connector
33       port@1:
34         $ref: /schemas/graph.yaml#/properties/port
35         description: Super Speed (SS) Input endpoint from the Super-Speed PHY
37       port@2:
38         $ref: /schemas/graph.yaml#/properties/port
39         description:
40           Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of
41           handling altmode muxing and orientation switching.
43 required:
44   - compatible
45   - reg
47 allOf:
48   - $ref: usb-switch.yaml#
50 additionalProperties: false
52 examples:
53   - |
54     i2c {
55         #address-cells = <1>;
56         #size-cells = <0>;
58         typec-mux@1a {
59             compatible = "nxp,ptn36502";
60             reg = <0x1a>;
62             vdd18-supply = <&usb_redrive_1v8>;
64             retimer-switch;
65             orientation-switch;
67             ports {
68                 #address-cells = <1>;
69                 #size-cells = <0>;
71                 port@0 {
72                     reg = <0>;
73                     usb_con_ss: endpoint {
74                         remote-endpoint = <&typec_con_ss>;
75                     };
76                 };
77                 port@1 {
78                     reg = <1>;
79                     phy_con_ss: endpoint {
80                         remote-endpoint = <&usb_phy_ss>;
81                     };
82                 };
83                 port@2 {
84                     reg = <2>;
85                     usb_con_sbu: endpoint {
86                         remote-endpoint = <&typec_dp_aux>;
87                     };
88                 };
89             };
90         };
91     };
92 ...