ROHM BD71815 Power Management Integrated Circuit regulators

Schema identifier ($id): "http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

This module is part of the ROHM BD718215 MFD device. For more details see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml.

The regulator controller is represented as a sub-node of the PMIC node on the device tree.

The valid names for BD71815 regulator nodes are buck1, buck2, buck3, buck4, buck5, ldo1, ldo2, ldo3, ldo4, ldo5, ldodvref, ldolpsr, wled

Properties and child nodes (properties) #

wled — not listed as required here #

Value type (type): "object"

properties for wled regulator

Shared schema rule ($ref): regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

regulator-name — not listed as required here

Exact value (const): "wled"

Properties matching a name pattern (patternProperties) #

^((ldo|buck)[1-5]|ldolpsr|ldodvref)$ — name matches this regular expression #

Value type (type): "object"

Properties for single LDO/BUCK regulator.

Shared schema rule ($ref): regulator.yaml#

Properties and child nodes (properties) #

regulator-name — required here

String pattern (pattern): "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$"

should be "ldo1", ..., "ldo5", "buck1", ..., "buck5" and "ldolpsr" for ldolpsr regulator, "ldodvref" for ldodvref reglator.

rohm,vsel-gpios — not listed as required here

GPIO used to control ldo4 state (when ldo4 is controlled by GPIO).

rohm,dvs-run-voltage — not listed as required here

PMIC "RUN" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at RUN state.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3300000

rohm,dvs-snvs-voltage — not listed as required here

Whether to keep regulator enabled at "SNVS" state or not. 0 means regulator should be disabled at SNVS state, non zero voltage keeps regulator enabled. BD71815 does not change voltage level when PMIC transitions to SNVS.SNVS voltage depends on the previous state (from which the PMIC transitioned to SNVS).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3300000

rohm,dvs-suspend-voltage — not listed as required here

PMIC "SUSPEND" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at SUSPEND state.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3300000

rohm,dvs-lpsr-voltage — not listed as required here

PMIC "LPSR" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at LPSR state.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3300000

Required in this object (required): "regulator-name"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 92: Bucks 1 and 2 support giving separate voltages for operational states

Line 93: (RUN /CLEAN according to data-sheet) and non operational states

Line 94: (LPSR/SUSPEND). The voltage is automatically changed when HW

Line 95: state changes. Omitting these properties from bucks 1 and 2 leave

Line 96: buck voltages to not be toggled by HW state. Enable status may still

Line 97: be toggled by state changes depending on HW default settings.

Line 98:

Line 99: Bucks 3-5 and ldos 1-5 support setting the RUN state voltage here.

Line 100: Given RUN voltage is used at all states if regulator is enabled at

Line 101: given state.

Line 102: Values given for other states are regarded as enable/disable at

Line 103: given state (see below).

Line 104:

Line 105: All regulators except WLED support specifying enable/disable status

Line 106: for each of the HW states (RUN/SNVS/SUSPEND/LPSR). HW defaults can

Line 107: be overridden by setting voltage to 0 (regulator disabled at given

Line 108: state) or non-zero (regulator enabled at given state). Please note

Line 109: that setting non zero voltages for bucks 1/2 will also enable voltage

Line 110: changes according to state change.

Edit this page