summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/ti,smartreflex.yaml
blob: 7ca0a5eed9b26410f4a210d519fb34e68290a6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/ti,smartreflex.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments SmartReflex

maintainers:
  - Eduard Bostina <egbostina@gmail.com>

description:
  SmartReflex is used to set and adjust the SoC operating points.

properties:
  compatible:
    enum:
      - ti,omap3-smartreflex-core
      - ti,omap3-smartreflex-mpu-iva
      - ti,omap4-smartreflex-core
      - ti,omap4-smartreflex-mpu
      - ti,omap4-smartreflex-iva

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  ti,hwmods:
    description: Shall contain the TI interconnect module name if needed by the SoC
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    smartreflex@4a0db000 {
        compatible = "ti,omap4-smartreflex-iva";
        reg = <0x4a0db000 0x80>;
        interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
    };