1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/regulator/a 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Active-semi ACT8865 regulator 7 title: Active-semi ACT8865 regulator 8 8 9 maintainers: 9 maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 10 - Paul Cercueil <paul@crapouillou.net> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: active-semi,act8865 14 const: active-semi,act8865 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 system-power-controller: 19 system-power-controller: 20 description: 20 description: 21 Indicates that the ACT8865 is responsibl 21 Indicates that the ACT8865 is responsible for powering OFF 22 the system. 22 the system. 23 type: boolean 23 type: boolean 24 24 25 active-semi,vsel-high: 25 active-semi,vsel-high: 26 description: 26 description: 27 Indicates the VSEL pin is high. If this 27 Indicates the VSEL pin is high. If this property is missing, 28 the VSEL pin is assumed to be low. 28 the VSEL pin is assumed to be low. 29 type: boolean 29 type: boolean 30 30 31 regulators: 31 regulators: 32 type: object 32 type: object 33 additionalProperties: false 33 additionalProperties: false 34 34 35 properties: 35 properties: 36 DCDC_REG1: 36 DCDC_REG1: 37 type: object 37 type: object 38 $ref: /schemas/regulator/regulator.yam 38 $ref: /schemas/regulator/regulator.yaml# 39 unevaluatedProperties: false 39 unevaluatedProperties: false 40 40 41 properties: 41 properties: 42 vp1-supply: 42 vp1-supply: 43 description: Handle to the VP1 inp 43 description: Handle to the VP1 input supply 44 44 45 DCDC_REG2: 45 DCDC_REG2: 46 type: object 46 type: object 47 $ref: /schemas/regulator/regulator.yam 47 $ref: /schemas/regulator/regulator.yaml# 48 unevaluatedProperties: false 48 unevaluatedProperties: false 49 49 50 properties: 50 properties: 51 vp2-supply: 51 vp2-supply: 52 description: Handle to the VP2 inp 52 description: Handle to the VP2 input supply 53 53 54 DCDC_REG3: 54 DCDC_REG3: 55 type: object 55 type: object 56 $ref: /schemas/regulator/regulator.yam 56 $ref: /schemas/regulator/regulator.yaml# 57 unevaluatedProperties: false 57 unevaluatedProperties: false 58 58 59 properties: 59 properties: 60 vp3-supply: 60 vp3-supply: 61 description: Handle to the VP3 inp 61 description: Handle to the VP3 input supply 62 62 63 patternProperties: 63 patternProperties: 64 "^LDO_REG[1-2]$": 64 "^LDO_REG[1-2]$": 65 type: object 65 type: object 66 $ref: /schemas/regulator/regulator.yam 66 $ref: /schemas/regulator/regulator.yaml# 67 unevaluatedProperties: false 67 unevaluatedProperties: false 68 68 69 properties: 69 properties: 70 inl45-supply: 70 inl45-supply: 71 description: Handle to the INL45 i 71 description: Handle to the INL45 input supply 72 72 73 "^LDO_REG[3-4]$": 73 "^LDO_REG[3-4]$": 74 type: object 74 type: object 75 $ref: /schemas/regulator/regulator.yam 75 $ref: /schemas/regulator/regulator.yaml# 76 unevaluatedProperties: false 76 unevaluatedProperties: false 77 77 78 properties: 78 properties: 79 inl67-supply: 79 inl67-supply: 80 description: Handle to the INL67 i 80 description: Handle to the INL67 input supply 81 81 82 additionalProperties: false 82 additionalProperties: false 83 83 84 required: 84 required: 85 - reg 85 - reg 86 - compatible 86 - compatible 87 - regulators 87 - regulators 88 88 89 examples: 89 examples: 90 - | 90 - | 91 #include <dt-bindings/regulator/active-sem 91 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 92 92 93 i2c { 93 i2c { 94 #address-cells = <1>; 94 #address-cells = <1>; 95 #size-cells = <0>; 95 #size-cells = <0>; 96 96 97 pmic@5b { 97 pmic@5b { 98 compatible = "active-semi,act8865"; 98 compatible = "active-semi,act8865"; 99 reg = <0x5b>; 99 reg = <0x5b>; 100 active-semi,vsel-high; 100 active-semi,vsel-high; 101 101 102 regulators { 102 regulators { 103 DCDC_REG1 { 103 DCDC_REG1 { 104 regulator-name = "VCC_1V8"; 104 regulator-name = "VCC_1V8"; 105 regulator-min-microvolt = <1800000 105 regulator-min-microvolt = <1800000>; 106 regulator-max-microvolt = <1800000 106 regulator-max-microvolt = <1800000>; 107 regulator-always-on; 107 regulator-always-on; 108 }; 108 }; 109 109 110 DCDC_REG2 { 110 DCDC_REG2 { 111 regulator-name = "VCC_1V2"; 111 regulator-name = "VCC_1V2"; 112 regulator-min-microvolt = <1100000 112 regulator-min-microvolt = <1100000>; 113 regulator-max-microvolt = <1300000 113 regulator-max-microvolt = <1300000>; 114 regulator-always-on; 114 regulator-always-on; 115 115 116 regulator-allowed-modes = <ACT8865 116 regulator-allowed-modes = <ACT8865_REGULATOR_MODE_FIXED>, 117 <ACT8865 117 <ACT8865_REGULATOR_MODE_LOWPOWER>; 118 regulator-initial-mode = <ACT8865_ 118 regulator-initial-mode = <ACT8865_REGULATOR_MODE_FIXED>; 119 119 120 regulator-state-mem { 120 regulator-state-mem { 121 regulator-on-in-suspend; 121 regulator-on-in-suspend; 122 regulator-suspend-min-microvolt 122 regulator-suspend-min-microvolt = <1150000>; 123 regulator-suspend-max-microvolt 123 regulator-suspend-max-microvolt = <1150000>; 124 regulator-changeable-in-suspend; 124 regulator-changeable-in-suspend; 125 regulator-mode = <ACT8865_REGULA 125 regulator-mode = <ACT8865_REGULATOR_MODE_LOWPOWER>; 126 }; 126 }; 127 }; 127 }; 128 128 129 DCDC_REG3 { 129 DCDC_REG3 { 130 regulator-name = "VCC_3V3"; 130 regulator-name = "VCC_3V3"; 131 regulator-min-microvolt = <3300000 131 regulator-min-microvolt = <3300000>; 132 regulator-max-microvolt = <3300000 132 regulator-max-microvolt = <3300000>; 133 regulator-always-on; 133 regulator-always-on; 134 }; 134 }; 135 135 136 LDO_REG1 { 136 LDO_REG1 { 137 regulator-name = "VDDANA"; 137 regulator-name = "VDDANA"; 138 regulator-min-microvolt = <3300000 138 regulator-min-microvolt = <3300000>; 139 regulator-max-microvolt = <3300000 139 regulator-max-microvolt = <3300000>; 140 regulator-always-on; 140 regulator-always-on; 141 141 142 regulator-allowed-modes = <ACT8865 142 regulator-allowed-modes = <ACT8865_REGULATOR_MODE_NORMAL>, 143 <ACT8865 143 <ACT8865_REGULATOR_MODE_LOWPOWER>; 144 regulator-initial-mode = <ACT8865_ 144 regulator-initial-mode = <ACT8865_REGULATOR_MODE_NORMAL>; 145 145 146 regulator-state-mem { 146 regulator-state-mem { 147 regulator-off-in-suspend; 147 regulator-off-in-suspend; 148 }; 148 }; 149 }; 149 }; 150 150 151 LDO_REG2 { 151 LDO_REG2 { 152 regulator-name = "FUSE_2V5"; 152 regulator-name = "FUSE_2V5"; 153 regulator-min-microvolt = <2500000 153 regulator-min-microvolt = <2500000>; 154 regulator-max-microvolt = <2500000 154 regulator-max-microvolt = <2500000>; 155 }; 155 }; 156 }; 156 }; 157 }; 157 }; 158 }; 158 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.