brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 172631c Raw
101 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/samsung,s5m8767.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S5M8767 Power Management IC regulators8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11 12description: |13  This is a part of device tree bindings for S2M and S5M family of Power14  Management IC (PMIC).15 16  The S5M8767 provides buck and LDO regulators.17 18  See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for19  additional information and example.20 21patternProperties:22  # 28 LDOs23  "^LDO([1-9]|1[0-9]|2[0-8])$":24    type: object25    $ref: regulator.yaml#26    unevaluatedProperties: false27    description:28      Properties for single LDO regulator.29 30    properties:31      op_mode:32        $ref: /schemas/types.yaml#/definitions/uint3233        enum: [0, 1, 2, 3]34        default: 135        description: |36          Describes the different operating modes of the LDO's with power mode37          change in SOC. The different possible values are:38            0 - always off mode39            1 - on in normal mode40            2 - low power mode41            3 - suspend mode42 43    required:44      - regulator-name45 46  # 8 bucks47  "^BUCK[1-8]$":48    type: object49    $ref: regulator.yaml#50    unevaluatedProperties: false51    description:52      Properties for single BUCK regulator.53 54    properties:55      op_mode:56        $ref: /schemas/types.yaml#/definitions/uint3257        enum: [0, 1, 2, 3]58        default: 159        description: |60          Describes the different operating modes of the regulator with power61          mode change in SOC. The different possible values are:62            0 - always off mode63            1 - on in normal mode64            2 - low power mode65            3 - suspend mode66 67    required:68      - regulator-name69 70properties:71  # 9 buck72  BUCK9:73    type: object74    $ref: regulator.yaml#75    unevaluatedProperties: false76    description:77      Properties for single BUCK regulator.78 79    properties:80      op_mode:81        $ref: /schemas/types.yaml#/definitions/uint3282        enum: [0, 1, 2, 3]83        default: 184        description: |85          Describes the different operating modes of the regulator with power86          mode change in SOC. The different possible values are:87            0 - always off mode88            1 - on in normal mode89            2 - low power mode90            3 - suspend mode91 92      s5m8767,pmic-ext-control-gpios:93        maxItems: 194        description: |95          GPIO specifier for one GPIO controlling this regulator on/off.96 97    required:98      - regulator-name99 100additionalProperties: false101