summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
diff options
context:
space:
mode:
authorsatya priya <skakit@codeaurora.org>2021-04-09 15:59:25 +0200
committerLee Jones <lee.jones@linaro.org>2021-04-14 17:06:50 +0200
commitf2f2bc3c0cfc81ee70ad97833a5f788f5e58f600 (patch)
treee91c41a1ec0f468daadfee8abebd7129bee51fe3 /Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
parentdt-bindings: mfd: Add compatible for pmk8350 rtc (diff)
downloadlinux-f2f2bc3c0cfc81ee70ad97833a5f788f5e58f600.tar.xz
linux-f2f2bc3c0cfc81ee70ad97833a5f788f5e58f600.zip
dt-bindings: mfd: Convert pm8xxx bindings to yaml
Convert pm8xxx bindings from .txt to .yaml format. Also, split this binding into two: parent binding(qcom-pm8xxx.yaml) and child node RTC binding(qcom-pm8xxx-rtc.yaml). Signed-off-by: satya priya <skakit@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
new file mode 100644
index 000000000000..9065ec53e643
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml
@@ -0,0 +1,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
+...