1 * Dialog Semiconductor DA9211/DA9212/DA9213/DA !! 1 * Dialog Semiconductor DA9211/DA9213/DA9215 Voltage Regulator 2 Voltage Regulator << 3 2 4 Required properties: 3 Required properties: 5 - compatible: "dlg,da9211" or "dlg,da9212" or !! 4 - compatible: "dlg,da9211" or "dlg,da9213" or "dlg,da9215" 6 or "dlg,da9214" or "dlg,da9224" or "dlg,da92 << 7 - reg: I2C slave address, usually 0x68. 5 - reg: I2C slave address, usually 0x68. 8 - interrupts: the interrupt outputs of the con 6 - interrupts: the interrupt outputs of the controller 9 - regulators: A node that houses a sub-node fo 7 - regulators: A node that houses a sub-node for each regulator within the 10 device. Each sub-node is identified using th 8 device. Each sub-node is identified using the node's name, with valid 11 values listed below. The content of each sub 9 values listed below. The content of each sub-node is defined by the 12 standard binding for regulators; see regulat 10 standard binding for regulators; see regulator.txt. 13 BUCKA and BUCKB. 11 BUCKA and BUCKB. 14 12 15 Optional properties: 13 Optional properties: 16 - enable-gpios: platform gpio for control of B 14 - enable-gpios: platform gpio for control of BUCKA/BUCKB. 17 - Any optional property defined in regulator.t 15 - Any optional property defined in regulator.txt 18 - regulator-initial-mode and regulator-allow << 19 mode values from dt-bindings/regulator/dlg << 20 16 21 Example 1) DA9211 17 Example 1) DA9211 >> 18 22 pmic: da9211@68 { 19 pmic: da9211@68 { 23 compatible = "dlg,da9211"; 20 compatible = "dlg,da9211"; 24 reg = <0x68>; 21 reg = <0x68>; 25 interrupts = <3 27>; 22 interrupts = <3 27>; 26 23 27 regulators { 24 regulators { 28 BUCKA { 25 BUCKA { 29 regulator-name 26 regulator-name = "VBUCKA"; 30 regulator-min- 27 regulator-min-microvolt = < 300000>; 31 regulator-max- 28 regulator-max-microvolt = <1570000>; 32 regulator-min- 29 regulator-min-microamp = <2000000>; 33 regulator-max- 30 regulator-max-microamp = <5000000>; 34 enable-gpios = 31 enable-gpios = <&gpio 27 0>; 35 regulator-allo << 36 << 37 }; << 38 }; << 39 }; << 40 << 41 Example 2) DA9212 << 42 pmic: da9212@68 { << 43 compatible = "dlg,da9212"; << 44 reg = <0x68>; << 45 interrupts = <3 27>; << 46 << 47 regulators { << 48 BUCKA { << 49 regulator-name << 50 regulator-min- << 51 regulator-max- << 52 regulator-min- << 53 regulator-max- << 54 enable-gpios = << 55 }; 32 }; 56 BUCKB { 33 BUCKB { 57 regulator-name 34 regulator-name = "VBUCKB"; 58 regulator-min- 35 regulator-min-microvolt = < 300000>; 59 regulator-max- 36 regulator-max-microvolt = <1570000>; 60 regulator-min- 37 regulator-min-microamp = <2000000>; 61 regulator-max- 38 regulator-max-microamp = <5000000>; 62 enable-gpios = 39 enable-gpios = <&gpio 17 0>; 63 }; 40 }; 64 }; 41 }; 65 }; 42 }; 66 43 67 Example 3) DA9213 !! 44 Example 2) DA9213 68 pmic: da9213@68 { 45 pmic: da9213@68 { 69 compatible = "dlg,da9213"; 46 compatible = "dlg,da9213"; 70 reg = <0x68>; 47 reg = <0x68>; 71 interrupts = <3 27>; 48 interrupts = <3 27>; 72 49 73 regulators { 50 regulators { 74 BUCKA { 51 BUCKA { 75 regulator-name 52 regulator-name = "VBUCKA"; 76 regulator-min- 53 regulator-min-microvolt = < 300000>; 77 regulator-max- 54 regulator-max-microvolt = <1570000>; 78 regulator-min- 55 regulator-min-microamp = <3000000>; 79 regulator-max- 56 regulator-max-microamp = <6000000>; 80 enable-gpios = 57 enable-gpios = <&gpio 27 0>; 81 }; 58 }; 82 }; << 83 }; << 84 << 85 Example 4) DA9223 << 86 pmic: da9223@68 { << 87 compatible = "dlg,da9223"; << 88 reg = <0x68>; << 89 interrupts = <3 27>; << 90 << 91 regulators { << 92 BUCKA { << 93 regulator-name << 94 regulator-min- << 95 regulator-max- << 96 regulator-min- << 97 regulator-max- << 98 enable-gpios = << 99 }; << 100 }; << 101 }; << 102 << 103 Example 5) DA9214 << 104 pmic: da9214@68 { << 105 compatible = "dlg,da9214"; << 106 reg = <0x68>; << 107 interrupts = <3 27>; << 108 << 109 regulators { << 110 BUCKA { << 111 regulator-name << 112 regulator-min- << 113 regulator-max- << 114 regulator-min- << 115 regulator-max- << 116 enable-gpios = << 117 }; << 118 BUCKB { 59 BUCKB { 119 regulator-name 60 regulator-name = "VBUCKB"; 120 regulator-min- 61 regulator-min-microvolt = < 300000>; 121 regulator-max- 62 regulator-max-microvolt = <1570000>; 122 regulator-min- 63 regulator-min-microamp = <3000000>; 123 regulator-max- 64 regulator-max-microamp = <6000000>; 124 enable-gpios = 65 enable-gpios = <&gpio 17 0>; 125 }; 66 }; 126 }; 67 }; 127 }; 68 }; 128 69 129 Example 6) DA9224 << 130 pmic: da9224@68 { << 131 compatible = "dlg,da9224"; << 132 reg = <0x68>; << 133 interrupts = <3 27>; << 134 << 135 regulators { << 136 BUCKA { << 137 regulator-name << 138 regulator-min- << 139 regulator-max- << 140 regulator-min- << 141 regulator-max- << 142 enable-gpios = << 143 }; << 144 BUCKB { << 145 regulator-name << 146 regulator-min- << 147 regulator-max- << 148 regulator-min- << 149 regulator-max- << 150 enable-gpios = << 151 }; << 152 }; << 153 }; << 154 70 155 Example 7) DA9215 !! 71 Example 3) DA9215 156 pmic: da9215@68 { 72 pmic: da9215@68 { 157 compatible = "dlg,da9215"; 73 compatible = "dlg,da9215"; 158 reg = <0x68>; 74 reg = <0x68>; 159 interrupts = <3 27>; 75 interrupts = <3 27>; 160 76 161 regulators { 77 regulators { 162 BUCKA { 78 BUCKA { 163 regulator-name 79 regulator-name = "VBUCKA"; 164 regulator-min- 80 regulator-min-microvolt = < 300000>; 165 regulator-max- 81 regulator-max-microvolt = <1570000>; 166 regulator-min- 82 regulator-min-microamp = <4000000>; 167 regulator-max- 83 regulator-max-microamp = <7000000>; 168 enable-gpios = 84 enable-gpios = <&gpio 27 0>; 169 }; 85 }; 170 BUCKB { 86 BUCKB { 171 regulator-name 87 regulator-name = "VBUCKB"; 172 regulator-min- 88 regulator-min-microvolt = < 300000>; 173 regulator-max- 89 regulator-max-microvolt = <1570000>; 174 regulator-min- 90 regulator-min-microamp = <4000000>; 175 regulator-max- 91 regulator-max-microamp = <7000000>; 176 enable-gpios = 92 enable-gpios = <&gpio 17 0>; 177 }; 93 }; 178 }; 94 }; 179 }; 95 }; 180 96 181 Example 8) DA9225 << 182 pmic: da9225@68 { << 183 compatible = "dlg,da9225"; << 184 reg = <0x68>; << 185 interrupts = <3 27>; << 186 << 187 regulators { << 188 BUCKA { << 189 regulator-name << 190 regulator-min- << 191 regulator-max- << 192 regulator-min- << 193 regulator-max- << 194 enable-gpios = << 195 }; << 196 BUCKB { << 197 regulator-name << 198 regulator-min- << 199 regulator-max- << 200 regulator-min- << 201 regulator-max- << 202 enable-gpios = << 203 }; << 204 }; << 205 }; <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.