1# Copyright (c), 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Analog Devices ADP3560 PMIC
6
7  The PMIC has one buck converter and one buck-boost converter. Both need to be
8  defined as children nodes, strictly following the BUCK and BUCKBOOST node
9  names. For example:
10
11  pmic@46 {
12    compatible = "adi,adp5360";
13    reg = <0x46>;
14    ...
15    regulators {
16      compatible = "adi,adp5360-regulator";
17
18      BUCK {
19        /* all properties for BUCK */
20      };
21      BUCKBOOST {
22        /* all properties for BUCKBOOST */
23      };
24    };
25  };
26
27compatible: "adi,adp5360-regulator"
28
29include: base.yaml
30
31child-binding:
32  include:
33    - name: regulator.yaml
34      property-allowlist:
35        - regulator-always-on
36        - regulator-boot-on
37        - regulator-boot-off
38        - regulator-init-microvolt
39        - regulator-min-microvolt
40        - regulator-max-microvolt
41        - regulator-allowed-modes
42        - regulator-initial-mode
43
44  properties:
45    adi,switch-delay-us:
46      type: int
47      enum:
48        - 0
49        - 5
50        - 10
51        - 20
52      description: Switch delay time in hysteresis.
53
54    adi,soft-start-ms:
55      type: int
56      enum:
57        - 1
58        - 8
59        - 64
60        - 512
61      description: Soft start time in milliseconds
62
63    adi,ilim-milliamp:
64      type: int
65      enum:
66        - 100
67        - 200
68        - 300
69        - 400
70        - 500
71        - 600
72        - 700
73        - 800
74      description: |
75        Peak current limit, in milliamperes. Values above 400mA are only
76        applicable to buck boost.
77
78    adi,enable-stop-pulse:
79      type: boolean
80      description: |
81        With this option selected and the buck/boost enabled, the buck/boost
82        regulator can be stopped using the STP pin.
83
84    adi,enable-output-discharge:
85      type: boolean
86      description: Enable output discharge functionality
87