summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
blob: 9065ec53e6437a353bfc84e225a1032927823105 (plain) (blame)
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
51
52
53
54
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm PM8xxx PMIC multi-function devices

maintainers:
  - Satya Priya <skakit@codeaurora.org>

description: |
  The PM8xxx family of Power Management ICs are used to provide regulated
  voltages and other various functionality to Qualcomm SoCs.

properties:
  compatible:
    enum:
      - qcom,pm8058
      - qcom,pm8821
      - qcom,pm8921

  reg:
    maxItems: 1

  '#address-cells':
    const: 1

  '#size-cells':
    const: 0

  interrupts:
    maxItems: 1

  '#interrupt-cells':
    const: 2

  interrupt-controller: true

patternProperties:
  "rtc@[0-9a-f]+$":
    type: object
    $ref: "../rtc/qcom-pm8xxx-rtc.yaml"

required:
  - compatible
  - '#address-cells'
  - '#size-cells'
  - interrupts
  - '#interrupt-cells'
  - interrupt-controller

additionalProperties: false
...