1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD71837 Power Management Integrated Circuit regulators
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 List of regulators provided by this controller. BD71837 regulators node
14 should be sub node of the BD71837 MFD node. See BD71837 MFD bindings at
15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml
16 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The
17 definition for each of these nodes is defined using the standard
18 binding for regulators at
19 Documentation/devicetree/bindings/regulator/regulator.txt.
20 Note that if BD71837 starts at RUN state you probably want to use
21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not
22 disabled by driver at startup. LDO5 and LDO6 are supplied by those and
23 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will
26 #The valid names for BD71837 regulator nodes are:
27 #BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7, BUCK8
28 #LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7
35 Properties for single LDO regulator.
41 should be "ldo1", ..., "ldo7"
43 unevaluatedProperties: false
49 Properties for single BUCK regulator.
53 pattern: "^buck[1-8]$"
55 should be "buck1", ..., "buck8"
58 $ref: "/schemas/types.yaml#/definitions/uint32"
62 PMIC default "RUN" state voltage in uV. See below table for
63 bucks which support this. 0 means disabled.
65 rohm,dvs-idle-voltage:
66 $ref: "/schemas/types.yaml#/definitions/uint32"
70 PMIC default "IDLE" state voltage in uV. See below table for
71 bucks which support this. 0 means disabled.
73 rohm,dvs-suspend-voltage:
74 $ref: "/schemas/types.yaml#/definitions/uint32"
78 PMIC default "SUSPEND" state voltage in uV. See below table for
79 bucks which support this. 0 means disabled.
81 # Supported default DVS states:
84 # buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
85 # ----------------------------------------------------------------
86 # 1 | supported | supported | supported
87 # ----------------------------------------------------------------
88 # 2 | supported | supported | not supported
89 # ----------------------------------------------------------------
90 # 3 | supported | not supported | not supported
91 # ----------------------------------------------------------------
92 # 4 | supported | not supported | not supported
93 # ----------------------------------------------------------------
94 # rest | not supported | not supported | not supported
96 # BD71837 power outputs can either be controlled by the PMIC internal
97 # hardware state machine or by software. If you need regulators to be
98 # turned ON/OFF for example based on PMIC_STBY_REQ line (which toggles
99 # PMIC HW state machine) - then you should set this property.
100 # Tradeoff is that then SW can't control the ON/OFF state for this
101 # regulator (other than invoking a PMIC state change).
102 rohm,no-regulator-enable-control:
104 Enable/Disable control of this regulator must be left to the
105 PMIC hardware state machine.
111 unevaluatedProperties: false
113 additionalProperties: false