Debian Codegraph @

Documentation/devicetree/bindings/spmi/apple,spmi.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spmi/apple,spmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Apple SPMI controller
8
9 maintainers:
10 - Sasha Finkelstein <[email protected]>
11
12 description: A SPMI controller present on most Apple SoCs
13
14 allOf:
15 - $ref: spmi.yaml#
16
17 properties:
18 compatible:
19 oneOf:
20 - items:
21 - enum:
22 - apple,t6020-spmi
23 - apple,t8012-spmi
24 - apple,t8015-spmi
25 - const: apple,t8103-spmi
26 - items:
27 - enum:
28 # Do not add additional SoC to this list.
29 - apple,t8103-spmi
30 - apple,t6000-spmi
31 - apple,t8112-spmi
32 - const: apple,spmi
33
34 reg:
35 maxItems: 1
36
37 required:
38 - compatible
39 - reg
40
41 unevaluatedProperties: false
42
43 examples:
44 - |
45 #include <dt-bindings/spmi/spmi.h>
46
47 spmi@920a1300 {
48 compatible = "apple,t6000-spmi", "apple,spmi";
49 reg = <0x920a1300 0x100>;
50 #address-cells = <2>;
51 #size-cells = <0>;
52
53 pmic@f {
54 reg = <0xf SPMI_USID>;
55 /* PMIC-specific properties */
56 };
57 };