xref: /linux/Documentation/devicetree/bindings/power/ti,smartreflex.yaml (revision c6cf4441a3a05bb7273ed022f3e56c4fc591da08)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/ti,smartreflex.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments SmartReflex
8
9maintainers:
10  - Eduard Bostina <egbostina@gmail.com>
11
12description:
13  SmartReflex is used to set and adjust the SoC operating points.
14
15properties:
16  compatible:
17    enum:
18      - ti,omap3-smartreflex-core
19      - ti,omap3-smartreflex-mpu-iva
20      - ti,omap4-smartreflex-core
21      - ti,omap4-smartreflex-mpu
22      - ti,omap4-smartreflex-iva
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  ti,hwmods:
31    description: Shall contain the TI interconnect module name if needed by the SoC
32    $ref: /schemas/types.yaml#/definitions/string
33    deprecated: true
34
35required:
36  - compatible
37  - reg
38  - interrupts
39
40additionalProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/interrupt-controller/arm-gic.h>
45
46    smartreflex@4a0db000 {
47        compatible = "ti,omap4-smartreflex-iva";
48        reg = <0x4a0db000 0x80>;
49        interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
50    };
51