1413ec729SPaul Cercueil# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2413ec729SPaul Cercueil%YAML 1.2 3413ec729SPaul Cercueil--- 4413ec729SPaul Cercueil$id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5413ec729SPaul Cercueil$schema: http://devicetree.org/meta-schemas/core.yaml# 6413ec729SPaul Cercueil 7413ec729SPaul Cercueiltitle: Active-semi ACT8865 regulator 8413ec729SPaul Cercueil 9413ec729SPaul Cercueilmaintainers: 10413ec729SPaul Cercueil - Paul Cercueil <paul@crapouillou.net> 11413ec729SPaul Cercueil 12413ec729SPaul Cercueilproperties: 13413ec729SPaul Cercueil compatible: 14413ec729SPaul Cercueil const: active-semi,act8865 15413ec729SPaul Cercueil 16413ec729SPaul Cercueil reg: 17413ec729SPaul Cercueil maxItems: 1 18413ec729SPaul Cercueil 19413ec729SPaul Cercueil system-power-controller: 20413ec729SPaul Cercueil description: 21413ec729SPaul Cercueil Indicates that the ACT8865 is responsible for powering OFF 22413ec729SPaul Cercueil the system. 23413ec729SPaul Cercueil type: boolean 24413ec729SPaul Cercueil 25413ec729SPaul Cercueil active-semi,vsel-high: 26413ec729SPaul Cercueil description: 27413ec729SPaul Cercueil Indicates the VSEL pin is high. If this property is missing, 28413ec729SPaul Cercueil the VSEL pin is assumed to be low. 29413ec729SPaul Cercueil type: boolean 30413ec729SPaul Cercueil 31413ec729SPaul Cercueil regulators: 32413ec729SPaul Cercueil type: object 33413ec729SPaul Cercueil additionalProperties: false 34413ec729SPaul Cercueil 35413ec729SPaul Cercueil properties: 36413ec729SPaul Cercueil DCDC_REG1: 37413ec729SPaul Cercueil type: object 38413ec729SPaul Cercueil $ref: /schemas/regulator/regulator.yaml# 39413ec729SPaul Cercueil unevaluatedProperties: false 40413ec729SPaul Cercueil 41413ec729SPaul Cercueil properties: 42413ec729SPaul Cercueil vp1-supply: 43413ec729SPaul Cercueil description: Handle to the VP1 input supply 44413ec729SPaul Cercueil 45413ec729SPaul Cercueil DCDC_REG2: 46413ec729SPaul Cercueil type: object 47413ec729SPaul Cercueil $ref: /schemas/regulator/regulator.yaml# 48413ec729SPaul Cercueil unevaluatedProperties: false 49413ec729SPaul Cercueil 50413ec729SPaul Cercueil properties: 51413ec729SPaul Cercueil vp2-supply: 52413ec729SPaul Cercueil description: Handle to the VP2 input supply 53413ec729SPaul Cercueil 54413ec729SPaul Cercueil DCDC_REG3: 55413ec729SPaul Cercueil type: object 56413ec729SPaul Cercueil $ref: /schemas/regulator/regulator.yaml# 57413ec729SPaul Cercueil unevaluatedProperties: false 58413ec729SPaul Cercueil 59413ec729SPaul Cercueil properties: 60413ec729SPaul Cercueil vp3-supply: 61413ec729SPaul Cercueil description: Handle to the VP3 input supply 62413ec729SPaul Cercueil 63413ec729SPaul Cercueil patternProperties: 64413ec729SPaul Cercueil "^LDO_REG[1-2]$": 65413ec729SPaul Cercueil type: object 66413ec729SPaul Cercueil $ref: /schemas/regulator/regulator.yaml# 67413ec729SPaul Cercueil unevaluatedProperties: false 68413ec729SPaul Cercueil 69413ec729SPaul Cercueil properties: 70413ec729SPaul Cercueil inl45-supply: 71413ec729SPaul Cercueil description: Handle to the INL45 input supply 72413ec729SPaul Cercueil 73413ec729SPaul Cercueil "^LDO_REG[3-4]$": 74413ec729SPaul Cercueil type: object 75413ec729SPaul Cercueil $ref: /schemas/regulator/regulator.yaml# 76413ec729SPaul Cercueil unevaluatedProperties: false 77413ec729SPaul Cercueil 78413ec729SPaul Cercueil properties: 79413ec729SPaul Cercueil inl67-supply: 80413ec729SPaul Cercueil description: Handle to the INL67 input supply 81413ec729SPaul Cercueil 82413ec729SPaul CercueiladditionalProperties: false 83413ec729SPaul Cercueil 84413ec729SPaul Cercueilrequired: 85413ec729SPaul Cercueil - reg 86413ec729SPaul Cercueil - compatible 87413ec729SPaul Cercueil - regulators 88413ec729SPaul Cercueil 89413ec729SPaul Cercueilexamples: 90413ec729SPaul Cercueil - | 91413ec729SPaul Cercueil #include <dt-bindings/regulator/active-semi,8865-regulator.h> 92413ec729SPaul Cercueil 93*20a72af1SRob Herring i2c { 94413ec729SPaul Cercueil #address-cells = <1>; 95413ec729SPaul Cercueil #size-cells = <0>; 96413ec729SPaul Cercueil 97413ec729SPaul Cercueil pmic@5b { 98413ec729SPaul Cercueil compatible = "active-semi,act8865"; 99413ec729SPaul Cercueil reg = <0x5b>; 100413ec729SPaul Cercueil active-semi,vsel-high; 101413ec729SPaul Cercueil 102413ec729SPaul Cercueil regulators { 103413ec729SPaul Cercueil DCDC_REG1 { 104413ec729SPaul Cercueil regulator-name = "VCC_1V8"; 105413ec729SPaul Cercueil regulator-min-microvolt = <1800000>; 106413ec729SPaul Cercueil regulator-max-microvolt = <1800000>; 107413ec729SPaul Cercueil regulator-always-on; 108413ec729SPaul Cercueil }; 109413ec729SPaul Cercueil 110413ec729SPaul Cercueil DCDC_REG2 { 111413ec729SPaul Cercueil regulator-name = "VCC_1V2"; 112413ec729SPaul Cercueil regulator-min-microvolt = <1100000>; 113413ec729SPaul Cercueil regulator-max-microvolt = <1300000>; 114413ec729SPaul Cercueil regulator-always-on; 115413ec729SPaul Cercueil 116413ec729SPaul Cercueil regulator-allowed-modes = <ACT8865_REGULATOR_MODE_FIXED>, 117413ec729SPaul Cercueil <ACT8865_REGULATOR_MODE_LOWPOWER>; 118413ec729SPaul Cercueil regulator-initial-mode = <ACT8865_REGULATOR_MODE_FIXED>; 119413ec729SPaul Cercueil 120413ec729SPaul Cercueil regulator-state-mem { 121413ec729SPaul Cercueil regulator-on-in-suspend; 122413ec729SPaul Cercueil regulator-suspend-min-microvolt = <1150000>; 123413ec729SPaul Cercueil regulator-suspend-max-microvolt = <1150000>; 124413ec729SPaul Cercueil regulator-changeable-in-suspend; 125413ec729SPaul Cercueil regulator-mode = <ACT8865_REGULATOR_MODE_LOWPOWER>; 126413ec729SPaul Cercueil }; 127413ec729SPaul Cercueil }; 128413ec729SPaul Cercueil 129413ec729SPaul Cercueil DCDC_REG3 { 130413ec729SPaul Cercueil regulator-name = "VCC_3V3"; 131413ec729SPaul Cercueil regulator-min-microvolt = <3300000>; 132413ec729SPaul Cercueil regulator-max-microvolt = <3300000>; 133413ec729SPaul Cercueil regulator-always-on; 134413ec729SPaul Cercueil }; 135413ec729SPaul Cercueil 136413ec729SPaul Cercueil LDO_REG1 { 137413ec729SPaul Cercueil regulator-name = "VDDANA"; 138413ec729SPaul Cercueil regulator-min-microvolt = <3300000>; 139413ec729SPaul Cercueil regulator-max-microvolt = <3300000>; 140413ec729SPaul Cercueil regulator-always-on; 141413ec729SPaul Cercueil 142413ec729SPaul Cercueil regulator-allowed-modes = <ACT8865_REGULATOR_MODE_NORMAL>, 143413ec729SPaul Cercueil <ACT8865_REGULATOR_MODE_LOWPOWER>; 144413ec729SPaul Cercueil regulator-initial-mode = <ACT8865_REGULATOR_MODE_NORMAL>; 145413ec729SPaul Cercueil 146413ec729SPaul Cercueil regulator-state-mem { 147413ec729SPaul Cercueil regulator-off-in-suspend; 148413ec729SPaul Cercueil }; 149413ec729SPaul Cercueil }; 150413ec729SPaul Cercueil 151413ec729SPaul Cercueil LDO_REG2 { 152413ec729SPaul Cercueil regulator-name = "FUSE_2V5"; 153413ec729SPaul Cercueil regulator-min-microvolt = <2500000>; 154413ec729SPaul Cercueil regulator-max-microvolt = <2500000>; 155413ec729SPaul Cercueil }; 156413ec729SPaul Cercueil }; 157413ec729SPaul Cercueil }; 158413ec729SPaul Cercueil }; 159