1# Copyright (c), 2023 Grinn
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Maxim MAX20335 PMIC
6
7  The PMIC has two buck converters and three LDOs. All need to be defined as
8  children nodes, strictly following the BUCK1..2, LDO1..3 node names. For
9  example:
10
11  pmic@28 {
12    reg = <0x28>;
13    ...
14    regulators {
15      compatible = maxim,max20335-regulator";
16
17      BUCK1 {
18        /* all properties for BUCK1 */
19      };
20      BUCK2 {
21        /* all properties for BUCK2 */
22      };
23      LDO1 {
24        /* all properties for LDO1 */
25      };
26      LDO2 {
27        /* all properties for LDO2 */
28      };
29      LDO3 {
30        /* all properties for LDO3 */
31      };
32    };
33  };
34
35compatible: "maxim,max20335-regulator"
36
37include: base.yaml
38
39child-binding:
40  include:
41    - name: regulator.yaml
42      property-allowlist:
43        - regulator-init-microvolt
44        - regulator-min-microvolt
45        - regulator-max-microvolt
46        - regulator-init-microamp
47        - regulator-max-microamp
48        - regulator-always-on
49        - regulator-boot-on
50        - regulator-initial-mode
51        - regulator-allowed-modes
52