xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/rohm,bd96802-regulator.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/rohm,bd96802-regulator.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: ROHM BD96802 Power Management Integrated Circuit regulators
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  This module is part of the ROHM BD96802 MFD device. For more details
14*ae5de77eSEmmanuel Vadot  see Documentation/devicetree/bindings/mfd/rohm,bd96802-pmic.yaml.
15*ae5de77eSEmmanuel Vadot
16*ae5de77eSEmmanuel Vadot  The regulator controller is represented as a sub-node of the PMIC node
17*ae5de77eSEmmanuel Vadot  on the device tree.
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot  Regulator nodes should be named to buck1 and buck2.
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel VadotpatternProperties:
22*ae5de77eSEmmanuel Vadot  "^buck[1-2]$":
23*ae5de77eSEmmanuel Vadot    type: object
24*ae5de77eSEmmanuel Vadot    description:
25*ae5de77eSEmmanuel Vadot      Properties for single BUCK regulator.
26*ae5de77eSEmmanuel Vadot    $ref: regulator.yaml#
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel Vadot    properties:
29*ae5de77eSEmmanuel Vadot      rohm,initial-voltage-microvolt:
30*ae5de77eSEmmanuel Vadot        description:
31*ae5de77eSEmmanuel Vadot          Initial voltage for regulator. Voltage can be tuned +/-150 mV from
32*ae5de77eSEmmanuel Vadot          this value. NOTE, This can be modified via I2C only when PMIC is in
33*ae5de77eSEmmanuel Vadot          STBY state.
34*ae5de77eSEmmanuel Vadot        minimum: 500000
35*ae5de77eSEmmanuel Vadot        maximum: 3300000
36*ae5de77eSEmmanuel Vadot
37*ae5de77eSEmmanuel Vadot      rohm,keep-on-stby:
38*ae5de77eSEmmanuel Vadot        description:
39*ae5de77eSEmmanuel Vadot          Keep the regulator powered when PMIC transitions to STBY state.
40*ae5de77eSEmmanuel Vadot        type: boolean
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel Vadot    unevaluatedProperties: false
43*ae5de77eSEmmanuel Vadot
44*ae5de77eSEmmanuel VadotadditionalProperties: false
45