brintos

brintos / linux-shallow public Read only

0
0
Text · 3.4 KiB · d898800 Raw
106 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/rohm,bd71828-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BD71828 Power Management Integrated Circuit regulators8 9maintainers:10  - Matti Vaittinen <mazziesaccount@gmail.com>11 12description: |13  This module is part of the ROHM BD71828 MFD device. For more details14  see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml.15 16  The regulator controller is represented as a sub-node of the PMIC node17  on the device tree.18 19  Regulator nodes should be named to BUCK_<number> and LDO_<number>.20  The valid names for BD71828 regulator nodes are21  BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK722  LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO723 24patternProperties:25  "^LDO[1-7]$":26    type: object27    description:28      Properties for single LDO regulator.29    $ref: regulator.yaml#30 31    properties:32      regulator-name:33        pattern: "^ldo[1-7]$"34        description:35          should be "ldo1", ..., "ldo7"36 37    unevaluatedProperties: false38 39  "^BUCK[1-7]$":40    type: object41    description:42      Properties for single BUCK regulator.43    $ref: regulator.yaml#44 45    properties:46      regulator-name:47        pattern: "^buck[1-7]$"48        description:49          should be "buck1", ..., "buck7"50 51      rohm,dvs-run-voltage:52        description:53          PMIC default "RUN" state voltage in uV. See below table for54          bucks which support this. 0 means disabled.55        $ref: /schemas/types.yaml#/definitions/uint3256        minimum: 057        maximum: 330000058 59      rohm,dvs-idle-voltage:60        description:61          PMIC default "IDLE" state voltage in uV. See below table for62          bucks which support this. 0 means disabled.63        $ref: /schemas/types.yaml#/definitions/uint3264        minimum: 065        maximum: 330000066 67      rohm,dvs-suspend-voltage:68        description:69          PMIC default "SUSPEND" state voltage in uV. See below table for70          bucks which support this. 0 means disabled.71        $ref: /schemas/types.yaml#/definitions/uint3272        minimum: 073        maximum: 330000074 75      rohm,dvs-lpsr-voltage:76        description:77          PMIC default "LPSR" state voltage in uV. See below table for78          bucks which support this. 0 means disabled.79        $ref: /schemas/types.yaml#/definitions/uint3280        minimum: 081        maximum: 330000082 83        # Supported default DVS states:84        #     buck       |    run     |   idle    | suspend  | lpsr85        # --------------------------------------------------------------86        # 1, 2, 6, and 7 | supported  | supported | supported (*)87        # --------------------------------------------------------------88        # 3, 4, and 5    |                    supported (**)89        # --------------------------------------------------------------90        #91        # (*)  LPSR and SUSPEND states use same voltage but both states have own92        #      enable /93        #      disable settings. Voltage 0 can be specified for a state to make94        #      regulator disabled on that state.95        #96        # (**) All states use same voltage but have own enable / disable97        #      settings. Voltage 0 can be specified for a state to make98        #      regulator disabled on that state.99 100    required:101      - regulator-name102 103    unevaluatedProperties: false104 105additionalProperties: false106