File Index
Files and directories
Sign in
FILE

marvell,88pm886-a1.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Marvell 88PM886 PMIC core
 8
 9maintainers:
10  - Karel Balej <balejk@matfyz.cz>
11
12description:
13  Marvell 88PM886 is a PMIC providing several functions such as onkey,
14  regulators or battery and charger.
15
16properties:
17  compatible:
18    const: marvell,88pm886-a1
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  wakeup-source: true
27
28  regulators:
29    type: object
30    additionalProperties: false
31    patternProperties:
32      "^(ldo(1[0-6]|[1-9])|buck[1-5])$":
33        type: object
34        $ref: /schemas/regulator/regulator.yaml#
35        description: LDO or buck regulator.
36        unevaluatedProperties: false
37
38  '#io-channel-cells':
39    const: 1
40
41required:
42  - compatible
43  - reg
44  - interrupts
45
46additionalProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/interrupt-controller/irq.h>
51    i2c {
52      #address-cells = <1>;
53      #size-cells = <0>;
54      pmic@30 {
55        compatible = "marvell,88pm886-a1";
56        reg = <0x30>;
57        interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
58        interrupt-parent = <&gic>;
59        #io-channel-cells = <1>;
60        wakeup-source;
61
62        regulators {
63          ldo2: ldo2 {
64            regulator-min-microvolt = <3100000>;
65            regulator-max-microvolt = <3300000>;
66          };
67
68          ldo15: ldo15 {
69            regulator-min-microvolt = <3300000>;
70            regulator-max-microvolt = <3300000>;
71          };
72
73          buck2: buck2 {
74            regulator-min-microvolt = <1800000>;
75            regulator-max-microvolt = <1800000>;
76          };
77        };
78      };
79    };
80...
~/ Read-only file preview.