brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 07bec1f Raw
86 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT1719 sink-only Type-C PD controller8 9maintainers:10  - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13  The RT1719 is a sink-only USB Type-C controller that complies with the latest14  USB Type-C and PD standards. It does the USB Type-C detection including attach15  and orientation. It integrates the physical layer of the USB BMC power16  delivery protocol to allow up to 100W of power. The BMC PD block enables full17  support for alternative interfaces of the Type-C specification.18 19properties:20  compatible:21    enum:22      - richtek,rt171923 24  reg:25    maxItems: 126 27  interrupts:28    maxItems: 129 30  wakeup-source:31    description: enable IRQ remote wakeup, see power/wakeup-source.txt32    type: boolean33 34  connector:35    type: object36    $ref: ../connector/usb-connector.yaml#37    description:38      Properties for usb c connector.39 40additionalProperties: false41 42required:43  - compatible44  - reg45  - connector46  - interrupts47 48examples:49  - |50    #include <dt-bindings/interrupt-controller/irq.h>51    i2c {52      #address-cells = <1>;53      #size-cells = <0>;54 55      rt1719@43 {56        compatible = "richtek,rt1719";57        reg = <0x43>;58        interrupts-extended = <&gpio26 2 IRQ_TYPE_LEVEL_LOW>;59        wakeup-source;60 61        connector {62          compatible = "usb-c-connector";63          label = "USB-C";64 65          ports {66            #address-cells = <1>;67            #size-cells = <0>;68 69            port@0 {70              reg = <0>;71              endpoint {72                remote-endpoint = <&usb_hs>;73              };74            };75            port@1 {76              reg = <1>;77              endpoint {78                remote-endpoint = <&usb_ss>;79              };80            };81          };82        };83      };84    };85...86