xref: /linux/Documentation/devicetree/bindings/mfd/ti,twl.yaml (revision 7255fcc80d4b525cc10cfaaf7f485830d4ed2000)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/ti,twl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments TWL family
8
9maintainers:
10  - Andreas Kemnade <andreas@kemnade.info>
11
12description: |
13  The TWLs are Integrated Power Management Chips.
14  Some version might contain much more analog function like
15  USB transceiver or Audio amplifier.
16  These chips are connected to an i2c bus.
17
18properties:
19  compatible:
20    description:
21      TWL4030 for integrated power-management/audio CODEC device used in OMAP3
22      based boards
23      TWL6030/32 for integrated power-management used in OMAP4 based boards
24    enum:
25      - ti,twl4030
26      - ti,twl6030
27      - ti,twl6032
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  interrupt-controller: true
36
37  system-power-controller: true
38
39  "#interrupt-cells":
40    const: 1
41
42  "#clock-cells":
43    const: 1
44
45additionalProperties: false
46
47required:
48  - compatible
49  - reg
50  - interrupts
51  - interrupt-controller
52  - "#interrupt-cells"
53
54examples:
55  - |
56    i2c {
57      #address-cells = <1>;
58      #size-cells = <0>;
59
60      pmic@48 {
61        compatible = "ti,twl6030";
62        reg = <0x48>;
63        interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
64        interrupt-controller;
65        #interrupt-cells = <1>;
66        interrupt-parent = <&gic>;
67      };
68    };
69
70