Skip to content

Commit b05740d

Browse files
oknshnlag-linaro
authored andcommitted
dt-bindings: mfd: max77541: Add ADI MAX77541/MAX77540
Add ADI MAX77541/MAX77540 devicetree document. Signed-off-by: Okan Sahin <okan.sahin@analog.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230412111256.40013-5-okan.sahin@analog.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 04c9a8e commit b05740d

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
7+
title: MAX77540/MAX77541 PMIC from ADI
8+
9+
maintainers:
10+
- Okan Sahin <okan.sahin@analog.com>
11+
12+
description: |
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+
17+
properties:
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+
32+
required:
33+
- compatible
34+
- reg
35+
- interrupts
36+
37+
additionalProperties: false
38+
39+
examples:
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+
};

0 commit comments

Comments
 (0)