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