| 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 |
|
| 7 |
title: TI TUSB320 USB Type-C CC Logic controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Michael Auchter <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- ti,tusb320 |
| 16 |
- ti,tusb320l |
| 17 |
|
| 18 |
reg: |
| 19 |
maxItems: 1 |
| 20 |
|
| 21 |
interrupts: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
required: |
| 25 |
- compatible |
| 26 |
- reg |
| 27 |
- interrupts |
| 28 |
|
| 29 |
additionalProperties: false |
| 30 |
|
| 31 |
examples: |
| 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 |
... |