Skip to content

Commit f2f2bc3

Browse files
satya priyaLee Jones
authored andcommitted
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>
1 parent c3a9432 commit f2f2bc3

2 files changed

Lines changed: 54 additions & 100 deletions

File tree

‎Documentation/devicetree/bindings/mfd/qcom-pm8xxx.txt‎

Lines changed: 0 additions & 100 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
7+
title: Qualcomm PM8xxx PMIC multi-function devices
8+
9+
maintainers:
10+
- Satya Priya <skakit@codeaurora.org>
11+
12+
description: |
13+
The PM8xxx family of Power Management ICs are used to provide regulated
14+
voltages and other various functionality to Qualcomm SoCs.
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- qcom,pm8058
20+
- qcom,pm8821
21+
- qcom,pm8921
22+
23+
reg:
24+
maxItems: 1
25+
26+
'#address-cells':
27+
const: 1
28+
29+
'#size-cells':
30+
const: 0
31+
32+
interrupts:
33+
maxItems: 1
34+
35+
'#interrupt-cells':
36+
const: 2
37+
38+
interrupt-controller: true
39+
40+
patternProperties:
41+
"rtc@[0-9a-f]+$":
42+
type: object
43+
$ref: "../rtc/qcom-pm8xxx-rtc.yaml"
44+
45+
required:
46+
- compatible
47+
- '#address-cells'
48+
- '#size-cells'
49+
- interrupts
50+
- '#interrupt-cells'
51+
- interrupt-controller
52+
53+
additionalProperties: false
54+
...

0 commit comments

Comments
 (0)