blob: a4c53b1f1af3572fa1122092db1176915084ce38 [file] [log] [blame]
Bryan O'Donoghue5f317332020-05-07 22:47:32 +01001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/usb/ti,tps6598x.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller DT bindings
8
9maintainers:
10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
11
12description: |
13 Texas Instruments 6598x Type-C Port Switch and Power Delivery controller
14
Sven Peter79a24ec2021-09-28 17:54:57 +020015 A variant of this controller known as Apple CD321x or Apple ACE is also
16 present on hardware with Apple SoCs such as the M1.
17
Bryan O'Donoghue5f317332020-05-07 22:47:32 +010018properties:
19 compatible:
20 enum:
21 - ti,tps6598x
Sven Peter79a24ec2021-09-28 17:54:57 +020022 - apple,cd321x
Bryan O'Donoghue5f317332020-05-07 22:47:32 +010023 reg:
24 maxItems: 1
25
26 interrupts:
27 maxItems: 1
28
29 interrupt-names:
30 items:
31 - const: irq
32
33required:
34 - compatible
35 - reg
36 - interrupts
37 - interrupt-names
38
Rob Herring6a0e3212020-10-05 13:38:30 -050039additionalProperties: true
40
Bryan O'Donoghue5f317332020-05-07 22:47:32 +010041examples:
42 - |
43 #include <dt-bindings/interrupt-controller/irq.h>
44 i2c0 {
45 #address-cells = <1>;
46 #size-cells = <0>;
47
48 tps6598x: tps6598x@38 {
49 compatible = "ti,tps6598x";
50 reg = <0x38>;
51
52 interrupt-parent = <&msmgpio>;
53 interrupts = <107 IRQ_TYPE_LEVEL_LOW>;
54 interrupt-names = "irq";
55
56 pinctrl-names = "default";
57 pinctrl-0 = <&typec_pins>;
58
59 typec_con: connector {
60 compatible = "usb-c-connector";
61 label = "USB-C";
62 port {
63 typec_ep: endpoint {
64 remote-endpoint = <&otg_ep>;
65 };
66 };
67 };
68 };
69 };
70...