xref: /freebsd/sys/contrib/device-tree/Bindings/extcon/extcon-usbc-tusb320.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/extcon/extcon-usbc-tusb320.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI TUSB320 USB Type-C CC Logic controller
8
9maintainers:
10  - Michael Auchter <michael.auchter@ni.com>
11
12properties:
13  compatible:
14    enum:
15      - ti,tusb320
16      - ti,tusb320l
17
18  reg:
19    maxItems: 1
20
21  interrupts:
22    maxItems: 1
23
24required:
25  - compatible
26  - reg
27  - interrupts
28
29additionalProperties: false
30
31examples:
32  - |
33    i2c {
34        #address-cells = <1>;
35        #size-cells = <0>;
36        tusb320@61 {
37            compatible = "ti,tusb320";
38            reg = <0x61>;
39            interrupt-parent = <&gpio>;
40            interrupts = <27 1>;
41        };
42    };
43...
44