18c2ecf20Sopenharmony_ciTPS65132 regulators 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "ti,tps65132" 58c2ecf20Sopenharmony_ci- reg: I2C slave address 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciOptional Subnode: 88c2ecf20Sopenharmony_ciDevice supports two regulators OUTP and OUTN. A sub node within the 98c2ecf20Sopenharmony_ci device node describe the properties of these regulators. The sub-node 108c2ecf20Sopenharmony_ci names must be as follows: 118c2ecf20Sopenharmony_ci -For regulator outp, the sub node name should be "outp". 128c2ecf20Sopenharmony_ci -For regulator outn, the sub node name should be "outn". 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci-enable-gpios:(active high, output) Regulators are controlled by the input pins. 158c2ecf20Sopenharmony_ci If it is connected to GPIO through host system then provide the 168c2ecf20Sopenharmony_ci gpio number as per gpio.txt. 178c2ecf20Sopenharmony_ci-active-discharge-gpios: (active high, output) Some configurations use delay mechanisms 188c2ecf20Sopenharmony_ci on the enable pin, to keep the regulator enabled for some time after 198c2ecf20Sopenharmony_ci the enable signal goes low. This GPIO is used to actively discharge 208c2ecf20Sopenharmony_ci the delay mechanism. Requires specification of ti,active-discharge-time-us 218c2ecf20Sopenharmony_ci-ti,active-discharge-time-us: how long the active discharge gpio should be 228c2ecf20Sopenharmony_ci asserted for during active discharge, in microseconds. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciEach regulator is defined using the standard binding for regulators. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciExample: 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci tps65132@3e { 298c2ecf20Sopenharmony_ci compatible = "ti,tps65132"; 308c2ecf20Sopenharmony_ci reg = <0x3e>; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci outp { 338c2ecf20Sopenharmony_ci regulator-name = "outp"; 348c2ecf20Sopenharmony_ci regulator-boot-on; 358c2ecf20Sopenharmony_ci regulator-always-on; 368c2ecf20Sopenharmony_ci enable-gpios = <&gpio 23 0>; 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci outn { 408c2ecf20Sopenharmony_ci regulator-name = "outn"; 418c2ecf20Sopenharmony_ci regulator-boot-on; 428c2ecf20Sopenharmony_ci regulator-always-on; 438c2ecf20Sopenharmony_ci regulator-active-discharge = <0>; 448c2ecf20Sopenharmony_ci enable-gpios = <&gpio 40 0>; 458c2ecf20Sopenharmony_ci }; 468c2ecf20Sopenharmony_ci }; 47