Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / staging / hikey9xx / hisilicon,hisi-spmi-controller.yaml
blobf2a56fa4e78e8a53b5b0880651900f78ffe45df8
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HiSilicon SPMI controller
9 maintainers:
10   - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
12 description: |
13   The HiSilicon SPMI BUS controller is found on some Kirin-based designs.
14   It is a MIPI System Power Management (SPMI) controller.
16   The PMIC part is provided by
17   drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
19 properties:
20   $nodename:
21     pattern: "spmi@[0-9a-f]"
23   compatible:
24     const: hisilicon,kirin970-spmi-controller
26   reg:
27     maxItems: 1
29   spmi-channel:
30     description: |
31       number of the Kirin 970 SPMI channel where the SPMI devices are connected.
33 required:
34  - compatible
35  - reg
36  - spmi-channel
38 patternProperties:
39   "^pmic@[0-9a-f]$":
40     description: |
41       PMIC properties, which are specific to the used SPMI PMIC device(s).
42       When used in combination with HiSilicon 6421v600, the properties
43       are documented at
44       drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
46 examples:
47   - |
48     bus {
49       #address-cells = <2>;
50       #size-cells = <2>;
52       spmi: spmi@fff24000 {
53         compatible = "hisilicon,kirin970-spmi-controller";
54         status = "ok";
55         reg = <0x0 0xfff24000 0x0 0x1000>;
56         spmi-channel = <2>;
58         pmic@0 {
59           /* pmic properties */
60         };
61       };
62     };