1*4882a593SmuzhiyunTPS65090 regulators 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: "ti,tps65090" 5*4882a593Smuzhiyun- reg: I2C slave address 6*4882a593Smuzhiyun- interrupts: the interrupt outputs of the controller 7*4882a593Smuzhiyun- regulators: A node that houses a sub-node for each regulator within the 8*4882a593Smuzhiyun device. Each sub-node is identified using the node's name, with valid 9*4882a593Smuzhiyun values listed below. The content of each sub-node is defined by the 10*4882a593Smuzhiyun standard binding for regulators; see regulator.txt. 11*4882a593Smuzhiyun dcdc[1-3], fet[1-7] and ldo[1-2] respectively. 12*4882a593Smuzhiyun- vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. 13*4882a593Smuzhiyun- infet[1-7]-supply: The input supply for FET[1-7] respectively. 14*4882a593Smuzhiyun- vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively. 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunOptional properties: 17*4882a593Smuzhiyun- ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3. 18*4882a593Smuzhiyun If DCDCs are externally controlled then this property should be there. 19*4882a593Smuzhiyun- dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3. 20*4882a593Smuzhiyun If DCDCs are externally controlled and if it is from GPIO then GPIO 21*4882a593Smuzhiyun number should be provided. If it is externally controlled and no GPIO 22*4882a593Smuzhiyun entry then driver will just configure this rails as external control 23*4882a593Smuzhiyun and will not provide any enable/disable APIs. 24*4882a593Smuzhiyun- ti,overcurrent-wait: This is applicable to FET registers, which have a 25*4882a593Smuzhiyun poorly defined "overcurrent wait" field. If this property is present it 26*4882a593Smuzhiyun should be between 0 - 3. If this property isn't present we won't touch the 27*4882a593Smuzhiyun "overcurrent wait" field and we'll leave it to the BIOS/EC to deal with. 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunEach regulator is defined using the standard binding for regulators. 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunExample: 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun tps65090@48 { 34*4882a593Smuzhiyun compatible = "ti,tps65090"; 35*4882a593Smuzhiyun reg = <0x48>; 36*4882a593Smuzhiyun interrupts = <0 88 0x4>; 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun vsys1-supply = <&some_reg>; 39*4882a593Smuzhiyun vsys2-supply = <&some_reg>; 40*4882a593Smuzhiyun vsys3-supply = <&some_reg>; 41*4882a593Smuzhiyun infet1-supply = <&some_reg>; 42*4882a593Smuzhiyun infet2-supply = <&some_reg>; 43*4882a593Smuzhiyun infet3-supply = <&some_reg>; 44*4882a593Smuzhiyun infet4-supply = <&some_reg>; 45*4882a593Smuzhiyun infet5-supply = <&some_reg>; 46*4882a593Smuzhiyun infet6-supply = <&some_reg>; 47*4882a593Smuzhiyun infet7-supply = <&some_reg>; 48*4882a593Smuzhiyun vsys-l1-supply = <&some_reg>; 49*4882a593Smuzhiyun vsys-l2-supply = <&some_reg>; 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun regulators { 52*4882a593Smuzhiyun dcdc1 { 53*4882a593Smuzhiyun regulator-name = "dcdc1"; 54*4882a593Smuzhiyun regulator-boot-on; 55*4882a593Smuzhiyun regulator-always-on; 56*4882a593Smuzhiyun ti,enable-ext-control; 57*4882a593Smuzhiyun dcdc-ext-control-gpios = <&gpio 10 0>; 58*4882a593Smuzhiyun }; 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun dcdc2 { 61*4882a593Smuzhiyun regulator-name = "dcdc2"; 62*4882a593Smuzhiyun regulator-boot-on; 63*4882a593Smuzhiyun regulator-always-on; 64*4882a593Smuzhiyun }; 65*4882a593Smuzhiyun 66*4882a593Smuzhiyun dcdc3 { 67*4882a593Smuzhiyun regulator-name = "dcdc3"; 68*4882a593Smuzhiyun regulator-boot-on; 69*4882a593Smuzhiyun regulator-always-on; 70*4882a593Smuzhiyun }; 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun fet1 { 73*4882a593Smuzhiyun regulator-name = "fet1"; 74*4882a593Smuzhiyun regulator-boot-on; 75*4882a593Smuzhiyun regulator-always-on; 76*4882a593Smuzhiyun }; 77*4882a593Smuzhiyun 78*4882a593Smuzhiyun fet2 { 79*4882a593Smuzhiyun regulator-name = "fet2"; 80*4882a593Smuzhiyun regulator-boot-on; 81*4882a593Smuzhiyun regulator-always-on; 82*4882a593Smuzhiyun }; 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun fet3 { 85*4882a593Smuzhiyun regulator-name = "fet3"; 86*4882a593Smuzhiyun regulator-boot-on; 87*4882a593Smuzhiyun regulator-always-on; 88*4882a593Smuzhiyun }; 89*4882a593Smuzhiyun 90*4882a593Smuzhiyun fet4 { 91*4882a593Smuzhiyun regulator-name = "fet4"; 92*4882a593Smuzhiyun regulator-boot-on; 93*4882a593Smuzhiyun regulator-always-on; 94*4882a593Smuzhiyun }; 95*4882a593Smuzhiyun 96*4882a593Smuzhiyun fet5 { 97*4882a593Smuzhiyun regulator-name = "fet5"; 98*4882a593Smuzhiyun regulator-boot-on; 99*4882a593Smuzhiyun regulator-always-on; 100*4882a593Smuzhiyun }; 101*4882a593Smuzhiyun 102*4882a593Smuzhiyun fet6 { 103*4882a593Smuzhiyun regulator-name = "fet6"; 104*4882a593Smuzhiyun regulator-boot-on; 105*4882a593Smuzhiyun regulator-always-on; 106*4882a593Smuzhiyun }; 107*4882a593Smuzhiyun 108*4882a593Smuzhiyun fet7 { 109*4882a593Smuzhiyun regulator-name = "fet7"; 110*4882a593Smuzhiyun regulator-boot-on; 111*4882a593Smuzhiyun regulator-always-on; 112*4882a593Smuzhiyun }; 113*4882a593Smuzhiyun 114*4882a593Smuzhiyun ldo1 { 115*4882a593Smuzhiyun regulator-name = "ldo1"; 116*4882a593Smuzhiyun regulator-boot-on; 117*4882a593Smuzhiyun regulator-always-on; 118*4882a593Smuzhiyun }; 119*4882a593Smuzhiyun 120*4882a593Smuzhiyun ldo2 { 121*4882a593Smuzhiyun regulator-name = "ldo2"; 122*4882a593Smuzhiyun regulator-boot-on; 123*4882a593Smuzhiyun regulator-always-on; 124*4882a593Smuzhiyun }; 125*4882a593Smuzhiyun }; 126*4882a593Smuzhiyun }; 127