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