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