1* Dialog Semiconductor DA9211/DA9212/DA9213/DA9214/DA9215 Voltage Regulator 2 3Required properties: 4- compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" 5 or "dlg,da9214" or "dlg,da9215" 6- reg: I2C slave address, usually 0x68. 7- interrupts: the interrupt outputs of the controller 8- regulators: A node that houses a sub-node for each regulator within the 9 device. Each sub-node is identified using the node's name, with valid 10 values listed below. The content of each sub-node is defined by the 11 standard binding for regulators; see regulator.txt. 12 BUCKA and BUCKB. 13 14Optional properties: 15- enable-gpios: platform gpio for control of BUCKA/BUCKB. 16- Any optional property defined in regulator.txt 17 18Example 1) DA9211 19 20 pmic: da9211@68 { 21 compatible = "dlg,da9211"; 22 reg = <0x68>; 23 interrupts = <3 27>; 24 25 regulators { 26 BUCKA { 27 regulator-name = "VBUCKA"; 28 regulator-min-microvolt = < 300000>; 29 regulator-max-microvolt = <1570000>; 30 regulator-min-microamp = <2000000>; 31 regulator-max-microamp = <5000000>; 32 enable-gpios = <&gpio 27 0>; 33 }; 34 }; 35 }; 36 37Example 2) DA9212 38 39 pmic: da9212@68 { 40 compatible = "dlg,da9212"; 41 reg = <0x68>; 42 interrupts = <3 27>; 43 44 regulators { 45 BUCKA { 46 regulator-name = "VBUCKA"; 47 regulator-min-microvolt = < 300000>; 48 regulator-max-microvolt = <1570000>; 49 regulator-min-microamp = <2000000>; 50 regulator-max-microamp = <5000000>; 51 enable-gpios = <&gpio 27 0>; 52 }; 53 BUCKB { 54 regulator-name = "VBUCKB"; 55 regulator-min-microvolt = < 300000>; 56 regulator-max-microvolt = <1570000>; 57 regulator-min-microamp = <2000000>; 58 regulator-max-microamp = <5000000>; 59 enable-gpios = <&gpio 17 0>; 60 }; 61 }; 62 }; 63 64Example 3) DA9213 65 pmic: da9213@68 { 66 compatible = "dlg,da9213"; 67 reg = <0x68>; 68 interrupts = <3 27>; 69 70 regulators { 71 BUCKA { 72 regulator-name = "VBUCKA"; 73 regulator-min-microvolt = < 300000>; 74 regulator-max-microvolt = <1570000>; 75 regulator-min-microamp = <3000000>; 76 regulator-max-microamp = <6000000>; 77 enable-gpios = <&gpio 27 0>; 78 }; 79 }; 80 }; 81 82Example 4) DA9214 83 pmic: da9214@68 { 84 compatible = "dlg,da9214"; 85 reg = <0x68>; 86 interrupts = <3 27>; 87 88 regulators { 89 BUCKA { 90 regulator-name = "VBUCKA"; 91 regulator-min-microvolt = < 300000>; 92 regulator-max-microvolt = <1570000>; 93 regulator-min-microamp = <3000000>; 94 regulator-max-microamp = <6000000>; 95 enable-gpios = <&gpio 27 0>; 96 }; 97 BUCKB { 98 regulator-name = "VBUCKB"; 99 regulator-min-microvolt = < 300000>; 100 regulator-max-microvolt = <1570000>; 101 regulator-min-microamp = <3000000>; 102 regulator-max-microamp = <6000000>; 103 enable-gpios = <&gpio 17 0>; 104 }; 105 }; 106 }; 107 108Example 5) DA9215 109 pmic: da9215@68 { 110 compatible = "dlg,da9215"; 111 reg = <0x68>; 112 interrupts = <3 27>; 113 114 regulators { 115 BUCKA { 116 regulator-name = "VBUCKA"; 117 regulator-min-microvolt = < 300000>; 118 regulator-max-microvolt = <1570000>; 119 regulator-min-microamp = <4000000>; 120 regulator-max-microamp = <7000000>; 121 enable-gpios = <&gpio 27 0>; 122 }; 123 BUCKB { 124 regulator-name = "VBUCKB"; 125 regulator-min-microvolt = < 300000>; 126 regulator-max-microvolt = <1570000>; 127 regulator-min-microamp = <4000000>; 128 regulator-max-microamp = <7000000>; 129 enable-gpios = <&gpio 17 0>; 130 }; 131 }; 132 }; 133 134