Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: add NXP PTN36502 Type-C redriver bindings

Document bindings for this Type-C USB 3.1 Gen 1 and DisplayPort v1.2
combo redriver.

The PTN36502 can also run in GPIO mode where it is configured
differently, without any I2C connection, but this is not supported yet.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231020-ptn36502-v2-1-b37a337d463e@fairphone.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Luca Weiss and committed by
Greg Kroah-Hartman
915360a5 49537ec7

+94
+94
Documentation/devicetree/bindings/usb/nxp,ptn36502.yaml
··· 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# 6 + 7 + title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 8 + 9 + maintainers: 10 + - Luca Weiss <luca.weiss@fairphone.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - nxp,ptn36502 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + vdd18-supply: 21 + description: Power supply for VDD18 pin 22 + 23 + retimer-switch: 24 + description: Flag the port as possible handle of SuperSpeed signals retiming 25 + type: boolean 26 + 27 + orientation-switch: 28 + description: Flag the port as possible handler of orientation switching 29 + type: boolean 30 + 31 + ports: 32 + $ref: /schemas/graph.yaml#/properties/ports 33 + properties: 34 + port@0: 35 + $ref: /schemas/graph.yaml#/properties/port 36 + description: Super Speed (SS) Output endpoint to the Type-C connector 37 + 38 + port@1: 39 + $ref: /schemas/graph.yaml#/properties/port 40 + description: Super Speed (SS) Input endpoint from the Super-Speed PHY 41 + 42 + port@2: 43 + $ref: /schemas/graph.yaml#/properties/port 44 + description: 45 + Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of 46 + handling altmode muxing and orientation switching. 47 + 48 + required: 49 + - compatible 50 + - reg 51 + 52 + additionalProperties: false 53 + 54 + examples: 55 + - | 56 + i2c { 57 + #address-cells = <1>; 58 + #size-cells = <0>; 59 + 60 + typec-mux@1a { 61 + compatible = "nxp,ptn36502"; 62 + reg = <0x1a>; 63 + 64 + vdd18-supply = <&usb_redrive_1v8>; 65 + 66 + retimer-switch; 67 + orientation-switch; 68 + 69 + ports { 70 + #address-cells = <1>; 71 + #size-cells = <0>; 72 + 73 + port@0 { 74 + reg = <0>; 75 + usb_con_ss: endpoint { 76 + remote-endpoint = <&typec_con_ss>; 77 + }; 78 + }; 79 + port@1 { 80 + reg = <1>; 81 + phy_con_ss: endpoint { 82 + remote-endpoint = <&usb_phy_ss>; 83 + }; 84 + }; 85 + port@2 { 86 + reg = <2>; 87 + usb_con_sbu: endpoint { 88 + remote-endpoint = <&typec_dp_aux>; 89 + }; 90 + }; 91 + }; 92 + }; 93 + }; 94 + ...