File Index
Files and directories
Sign in
FILE

samsung,s5m8767.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml 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/samsung,s5m8767.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: Samsung S5M8767 Power Management IC regulators
  8
  9maintainers:
 10  - Krzysztof Kozlowski <krzk@kernel.org>
 11
 12description: |
 13  This is a part of device tree bindings for S2M and S5M family of Power
 14  Management IC (PMIC).
 15
 16  The S5M8767 provides buck and LDO regulators.
 17
 18  See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for
 19  additional information and example.
 20
 21patternProperties:
 22  # 28 LDOs
 23  "^LDO([1-9]|1[0-9]|2[0-8])$":
 24    type: object
 25    $ref: regulator.yaml#
 26    unevaluatedProperties: false
 27    description:
 28      Properties for single LDO regulator.
 29
 30    properties:
 31      op_mode:
 32        $ref: /schemas/types.yaml#/definitions/uint32
 33        enum: [0, 1, 2, 3]
 34        default: 1
 35        description: |
 36          Describes the different operating modes of the LDO's with power mode
 37          change in SOC. The different possible values are:
 38            0 - always off mode
 39            1 - on in normal mode
 40            2 - low power mode
 41            3 - suspend mode
 42
 43    required:
 44      - regulator-name
 45
 46  # 8 bucks
 47  "^BUCK[1-8]$":
 48    type: object
 49    $ref: regulator.yaml#
 50    unevaluatedProperties: false
 51    description:
 52      Properties for single BUCK regulator.
 53
 54    properties:
 55      op_mode:
 56        $ref: /schemas/types.yaml#/definitions/uint32
 57        enum: [0, 1, 2, 3]
 58        default: 1
 59        description: |
 60          Describes the different operating modes of the regulator with power
 61          mode change in SOC. The different possible values are:
 62            0 - always off mode
 63            1 - on in normal mode
 64            2 - low power mode
 65            3 - suspend mode
 66
 67    required:
 68      - regulator-name
 69
 70properties:
 71  # 9 buck
 72  BUCK9:
 73    type: object
 74    $ref: regulator.yaml#
 75    unevaluatedProperties: false
 76    description:
 77      Properties for single BUCK regulator.
 78
 79    properties:
 80      op_mode:
 81        $ref: /schemas/types.yaml#/definitions/uint32
 82        enum: [0, 1, 2, 3]
 83        default: 1
 84        description: |
 85          Describes the different operating modes of the regulator with power
 86          mode change in SOC. The different possible values are:
 87            0 - always off mode
 88            1 - on in normal mode
 89            2 - low power mode
 90            3 - suspend mode
 91
 92      s5m8767,pmic-ext-control-gpios:
 93        maxItems: 1
 94        description: |
 95          GPIO specifier for one GPIO controlling this regulator on/off.
 96
 97    required:
 98      - regulator-name
 99
100additionalProperties: false
~/ Read-only file preview.