1*4882a593SmuzhiyunTI LMU LM363x regulator device tree bindings 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunLM363x regulator driver supports LM3631 and LM3632. 4*4882a593SmuzhiyunLM3631 has five regulators and LM3632 supports three regulators. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired property: 7*4882a593Smuzhiyun - compatible: "ti,lm363x-regulator" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunOptional properties: 10*4882a593Smuzhiyun LM3632 has external enable pins for two LDOs. 11*4882a593Smuzhiyun - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins. 12*4882a593Smuzhiyun The first entry is Vpos, the second is Vneg enable pin. 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunChild nodes: 15*4882a593Smuzhiyun LM3631 16*4882a593Smuzhiyun - vboost 17*4882a593Smuzhiyun - vcont 18*4882a593Smuzhiyun - voref 19*4882a593Smuzhiyun - vpos 20*4882a593Smuzhiyun - vneg 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun LM3632 23*4882a593Smuzhiyun - vboost 24*4882a593Smuzhiyun - vpos 25*4882a593Smuzhiyun - vneg 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun Optional properties of a child node: 28*4882a593Smuzhiyun Each sub-node should contain the constraints and initialization. 29*4882a593Smuzhiyun Please refer to [1]. 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunExamples: Please refer to ti-lmu dt-bindings [2]. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunlm3631@29 { 34*4882a593Smuzhiyun compatible = "ti,lm3631"; 35*4882a593Smuzhiyun reg = <0x29>; 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun regulators { 38*4882a593Smuzhiyun compatible = "ti,lm363x-regulator"; 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun vboost { 41*4882a593Smuzhiyun regulator-name = "lcd_boost"; 42*4882a593Smuzhiyun regulator-min-microvolt = <4500000>; 43*4882a593Smuzhiyun regulator-max-microvolt = <6350000>; 44*4882a593Smuzhiyun regulator-always-on; 45*4882a593Smuzhiyun }; 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun vcont { 48*4882a593Smuzhiyun regulator-name = "lcd_vcont"; 49*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 50*4882a593Smuzhiyun regulator-max-microvolt = <3300000>; 51*4882a593Smuzhiyun }; 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun voref { 54*4882a593Smuzhiyun regulator-name = "lcd_voref"; 55*4882a593Smuzhiyun regulator-min-microvolt = <4000000>; 56*4882a593Smuzhiyun regulator-max-microvolt = <6000000>; 57*4882a593Smuzhiyun }; 58*4882a593Smuzhiyun 59*4882a593Smuzhiyun vpos { 60*4882a593Smuzhiyun regulator-name = "lcd_vpos"; 61*4882a593Smuzhiyun regulator-min-microvolt = <4000000>; 62*4882a593Smuzhiyun regulator-max-microvolt = <6000000>; 63*4882a593Smuzhiyun regulator-boot-on; 64*4882a593Smuzhiyun }; 65*4882a593Smuzhiyun 66*4882a593Smuzhiyun vneg { 67*4882a593Smuzhiyun regulator-name = "lcd_vneg"; 68*4882a593Smuzhiyun regulator-min-microvolt = <4000000>; 69*4882a593Smuzhiyun regulator-max-microvolt = <6000000>; 70*4882a593Smuzhiyun regulator-boot-on; 71*4882a593Smuzhiyun }; 72*4882a593Smuzhiyun }; 73*4882a593Smuzhiyun}; 74*4882a593Smuzhiyun 75*4882a593Smuzhiyunlm3632@11 { 76*4882a593Smuzhiyun compatible = "ti,lm3632"; 77*4882a593Smuzhiyun reg = <0x11>; 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun regulators { 80*4882a593Smuzhiyun compatible = "ti,lm363x-regulator"; 81*4882a593Smuzhiyun 82*4882a593Smuzhiyun /* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */ 83*4882a593Smuzhiyun enable-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>, 84*4882a593Smuzhiyun <&gpio1 28 GPIO_ACTIVE_HIGH>; 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun vboost { 87*4882a593Smuzhiyun regulator-name = "lcd_boost"; 88*4882a593Smuzhiyun regulator-min-microvolt = <4500000>; 89*4882a593Smuzhiyun regulator-max-microvolt = <6400000>; 90*4882a593Smuzhiyun regulator-always-on; 91*4882a593Smuzhiyun }; 92*4882a593Smuzhiyun 93*4882a593Smuzhiyun vpos { 94*4882a593Smuzhiyun regulator-name = "lcd_vpos"; 95*4882a593Smuzhiyun regulator-min-microvolt = <4000000>; 96*4882a593Smuzhiyun regulator-max-microvolt = <6000000>; 97*4882a593Smuzhiyun }; 98*4882a593Smuzhiyun 99*4882a593Smuzhiyun vneg { 100*4882a593Smuzhiyun regulator-name = "lcd_vneg"; 101*4882a593Smuzhiyun regulator-min-microvolt = <4000000>; 102*4882a593Smuzhiyun regulator-max-microvolt = <6000000>; 103*4882a593Smuzhiyun }; 104*4882a593Smuzhiyun }; 105*4882a593Smuzhiyun}; 106*4882a593Smuzhiyun 107*4882a593Smuzhiyun[1] ../regulator/regulator.txt 108*4882a593Smuzhiyun[2] ../mfd/ti-lmu.txt 109