xref: /linux/Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/rohm,bd96801-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ROHM BD96801 Power Management Integrated Circuit regulators
8
9maintainers:
10  - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11
12description:
13  This module is part of the ROHM BD96801 MFD device. For more details
14  see Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml.
15
16  The regulator controller is represented as a sub-node of the PMIC node
17  on the device tree.
18
19  Regulator nodes should be named to buck_<number> and ldo_<number>.
20  The valid names for BD96801 regulator nodes are
21  buck1, buck2, buck3, buck4, ldo5, ldo6, ldo7
22
23patternProperties:
24  "^ldo[5-7]$":
25    type: object
26    description:
27      Properties for single LDO regulator.
28    $ref: regulator.yaml#
29
30    properties:
31      rohm,initial-voltage-microvolt:
32        description:
33          Initial voltage for regulator. Voltage can be tuned +/-150 mV from
34          this value. NOTE, This can be modified via I2C only when PMIC is in
35          STBY state.
36        minimum: 300000
37        maximum: 3300000
38
39    unevaluatedProperties: false
40
41  "^buck[1-4]$":
42    type: object
43    description:
44      Properties for single BUCK regulator.
45    $ref: regulator.yaml#
46
47    properties:
48      rohm,initial-voltage-microvolt:
49        description:
50          Initial voltage for regulator. Voltage can be tuned +/-150 mV from
51          this value. NOTE, This can be modified via I2C only when PMIC is in
52          STBY state.
53        minimum: 500000
54        maximum: 3300000
55
56      rohm,keep-on-stby:
57        description:
58          Keep the regulator powered when PMIC transitions to STBY state.
59        type: boolean
60
61    unevaluatedProperties: false
62
63additionalProperties: false
64