Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: ROHM BD96801 PMIC regulators

ROHM BD96801 is a highly configurable automotive grade PMIC. Introduce
DT bindings for the BD96801 regulators.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/53a05b77833cb3f06ecada906411c2f46eecea64.1719473802.git.mazziesaccount@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Matti Vaittinen and committed by
Lee Jones
fd6e053d 1613e604

+63
+63
Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml
··· 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 + 7 + title: ROHM BD96801 Power Management Integrated Circuit regulators 8 + 9 + maintainers: 10 + - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 11 + 12 + description: 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 + 23 + patternProperties: 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 + 63 + additionalProperties: false