xref: /linux/Documentation/devicetree/bindings/mfd/adi,max77541.yaml (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/adi,max77541.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MAX77540/MAX77541 PMIC from ADI
8
9maintainers:
10  - Okan Sahin <okan.sahin@analog.com>
11
12description: |
13  MAX77540 is a Power Management IC with 2 buck regulators.
14
15  MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC.
16
17properties:
18  compatible:
19    enum:
20      - adi,max77540
21      - adi,max77541
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    maxItems: 1
28
29  regulators:
30    $ref: /schemas/regulator/adi,max77541-regulator.yaml#
31
32required:
33  - compatible
34  - reg
35  - interrupts
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/interrupt-controller/irq.h>
42
43    i2c {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        pmic@69 {
48            compatible = "adi,max77541";
49            reg = <0x69>;
50            interrupt-parent = <&gpio>;
51            interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
52
53            regulators {
54                buck1 {
55                    regulator-min-microvolt = <500000>;
56                    regulator-max-microvolt = <5200000>;
57                    regulator-boot-on;
58                    regulator-always-on;
59                };
60                buck2 {
61                    regulator-min-microvolt = <500000>;
62                    regulator-max-microvolt = <5200000>;
63                    regulator-boot-on;
64                    regulator-always-on;
65                };
66            };
67        };
68    };
69