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 <krzysztof.kozlowski@canonical.com> 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 70 # 9 buck 71 "^BUCK9$": 72 type: object 73 $ref: regulator.yaml# 74 unevaluatedProperties: false 75 description: 76 Properties for single BUCK regulator. 77 78 properties: 79 op_mode: 80 $ref: /schemas/types.yaml#/definitions/uint32 81 enum: [0, 1, 2, 3] 82 default: 1 83 description: | 84 Describes the different operating modes of the regulator with power 85 mode change in SOC. The different possible values are: 86 0 - always off mode 87 1 - on in normal mode 88 2 - low power mode 89 3 - suspend mode 90 91 s5m8767,pmic-ext-control-gpios: 92 maxItems: 1 93 description: | 94 GPIO specifier for one GPIO controlling this regulator on/off. 95 96 required: 97 - regulator-name 98 99additionalProperties: false 100