73 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/ite,it5205.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ITE IT5202 Type-C USB Alternate Mode Passive MUX8 9maintainers:10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>11 - Tianping Fang <tianping.fang@mediatek.com>12 13properties:14 compatible:15 const: ite,it520516 17 reg:18 maxItems: 119 20 vcc-supply:21 description: Power supply for VCC pin (3.3V)22 23 mode-switch:24 description: Flag the port as possible handle of altmode switching25 type: boolean26 27 orientation-switch:28 description: Flag the port as possible handler of orientation switching29 type: boolean30 31 ite,ovp-enable:32 description: Enable Over Voltage Protection functionality33 type: boolean34 35 port:36 $ref: /schemas/graph.yaml#/properties/port37 description:38 A port node to link the IT5205 to a TypeC controller for the purpose of39 handling altmode muxing and orientation switching.40 41required:42 - compatible43 - reg44 - orientation-switch45 - port46 47additionalProperties: false48 49examples:50 - |51 #include <dt-bindings/interrupt-controller/irq.h>52 i2c2 {53 #address-cells = <1>;54 #size-cells = <0>;55 56 typec-mux@48 {57 compatible = "ite,it5205";58 reg = <0x48>;59 60 mode-switch;61 orientation-switch;62 63 vcc-supply = <&mt6359_vibr_ldo_reg>;64 65 port {66 it5205_usbss_sbu: endpoint {67 remote-endpoint = <&typec_controller>;68 };69 };70 };71 };72...73