brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · b396ea0 Raw
68 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Fairchild FUSB302 Type-C Port controller8 9maintainers:10  - Rob Herring <robh@kernel.org>11 12properties:13  compatible:14    const: fcs,fusb30215 16  reg:17    maxItems: 118 19  interrupts:20    maxItems: 121 22  vbus-supply:23    description: VBUS power supply24 25  connector:26    type: object27    $ref: /schemas/connector/usb-connector.yaml#28    unevaluatedProperties: false29 30required:31  - compatible32  - reg33  - interrupts34  - vbus-supply35  - connector36 37additionalProperties: false38 39examples:40  - |41    #include <dt-bindings/interrupt-controller/irq.h>42    #include <dt-bindings/usb/pd.h>43 44    i2c {45      #address-cells = <1>;46      #size-cells = <0>;47 48      typec-portc@54 {49        compatible = "fcs,fusb302";50        reg = <0x54>;51        interrupt-parent = <&nmi_intc>;52        interrupts = <0 IRQ_TYPE_LEVEL_LOW>;53        vbus-supply = <&vbus_typec>;54 55        connector {56          compatible = "usb-c-connector";57          label = "USB-C";58          power-role = "dual";59          try-power-role = "sink";60          source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;61          sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)62                       PDO_VAR(3000, 12000, 3000)63                       PDO_PPS_APDO(3000, 11000, 3000)>;64          op-sink-microwatt = <10000000>;65        };66      };67    };68