xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/qcom-pm8xxx.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm PM8xxx PMIC multi-function devices
8
9maintainers:
10  - Satya Priya <skakit@codeaurora.org>
11
12description: |
13  The PM8xxx family of Power Management ICs are used to provide regulated
14  voltages and other various functionality to Qualcomm SoCs.
15
16properties:
17  compatible:
18    enum:
19      - qcom,pm8018
20      - qcom,pm8058
21      - qcom,pm8821
22      - qcom,pm8921
23
24  reg:
25    maxItems: 1
26
27  '#address-cells':
28    const: 1
29
30  '#size-cells':
31    const: 0
32
33  interrupts:
34    maxItems: 1
35
36  '#interrupt-cells':
37    const: 2
38
39  interrupt-controller: true
40
41patternProperties:
42  "rtc@[0-9a-f]+$":
43    type: object
44    $ref: "../rtc/qcom-pm8xxx-rtc.yaml"
45
46required:
47  - compatible
48  - '#address-cells'
49  - '#size-cells'
50  - interrupts
51  - '#interrupt-cells'
52  - interrupt-controller
53
54additionalProperties: false
55...
56