1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/richtek 4 $id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Richtek RT1719 sink-only Type-C PD cont 7 title: Richtek RT1719 sink-only Type-C PD controller 8 8 9 maintainers: 9 maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 10 - ChiYuan Huang <cy_huang@richtek.com> 11 11 12 description: | 12 description: | 13 The RT1719 is a sink-only USB Type-C control 13 The RT1719 is a sink-only USB Type-C controller that complies with the latest 14 USB Type-C and PD standards. It does the USB 14 USB Type-C and PD standards. It does the USB Type-C detection including attach 15 and orientation. It integrates the physical 15 and orientation. It integrates the physical layer of the USB BMC power 16 delivery protocol to allow up to 100W of pow 16 delivery protocol to allow up to 100W of power. The BMC PD block enables full 17 support for alternative interfaces of the Ty 17 support for alternative interfaces of the Type-C specification. 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 enum: 21 enum: 22 - richtek,rt1719 22 - richtek,rt1719 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 wakeup-source: 30 wakeup-source: 31 description: enable IRQ remote wakeup, see 31 description: enable IRQ remote wakeup, see power/wakeup-source.txt 32 type: boolean 32 type: boolean 33 33 34 connector: 34 connector: 35 type: object 35 type: object 36 $ref: ../connector/usb-connector.yaml# 36 $ref: ../connector/usb-connector.yaml# 37 description: 37 description: 38 Properties for usb c connector. 38 Properties for usb c connector. 39 39 40 additionalProperties: false 40 additionalProperties: false 41 41 42 required: 42 required: 43 - compatible 43 - compatible 44 - reg 44 - reg 45 - connector 45 - connector 46 - interrupts 46 - interrupts 47 47 48 examples: 48 examples: 49 - | 49 - | 50 #include <dt-bindings/interrupt-controller 50 #include <dt-bindings/interrupt-controller/irq.h> 51 i2c { 51 i2c { 52 #address-cells = <1>; 52 #address-cells = <1>; 53 #size-cells = <0>; 53 #size-cells = <0>; 54 54 55 rt1719@43 { 55 rt1719@43 { 56 compatible = "richtek,rt1719"; 56 compatible = "richtek,rt1719"; 57 reg = <0x43>; 57 reg = <0x43>; 58 interrupts-extended = <&gpio26 2 IRQ_T 58 interrupts-extended = <&gpio26 2 IRQ_TYPE_LEVEL_LOW>; 59 wakeup-source; 59 wakeup-source; 60 60 61 connector { 61 connector { 62 compatible = "usb-c-connector"; 62 compatible = "usb-c-connector"; 63 label = "USB-C"; 63 label = "USB-C"; 64 64 65 ports { 65 ports { 66 #address-cells = <1>; 66 #address-cells = <1>; 67 #size-cells = <0>; 67 #size-cells = <0>; 68 68 69 port@0 { 69 port@0 { 70 reg = <0>; 70 reg = <0>; 71 endpoint { 71 endpoint { 72 remote-endpoint = <&usb_hs>; 72 remote-endpoint = <&usb_hs>; 73 }; 73 }; 74 }; 74 }; 75 port@1 { 75 port@1 { 76 reg = <1>; 76 reg = <1>; 77 endpoint { 77 endpoint { 78 remote-endpoint = <&usb_ss>; 78 remote-endpoint = <&usb_ss>; 79 }; 79 }; 80 }; 80 }; 81 }; 81 }; 82 }; 82 }; 83 }; 83 }; 84 }; 84 }; 85 ... 85 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.