tps65132-regulator.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. TPS65132 regulators
  2. Required properties:
  3. - compatible: "ti,tps65132"
  4. - reg: I2C slave address
  5. Optional Subnode:
  6. Device supports two regulators OUTP and OUTN. A sub node within the
  7. device node describe the properties of these regulators. The sub-node
  8. names must be as follows:
  9. -For regulator outp, the sub node name should be "outp".
  10. -For regulator outn, the sub node name should be "outn".
  11. -enable-gpios:(active high, output) Regulators are controlled by the input pins.
  12. If it is connected to GPIO through host system then provide the
  13. gpio number as per gpio.txt.
  14. -active-discharge-gpios: (active high, output) Some configurations use delay mechanisms
  15. on the enable pin, to keep the regulator enabled for some time after
  16. the enable signal goes low. This GPIO is used to actively discharge
  17. the delay mechanism. Requires specification of ti,active-discharge-time-us
  18. -ti,active-discharge-time-us: how long the active discharge gpio should be
  19. asserted for during active discharge, in microseconds.
  20. Each regulator is defined using the standard binding for regulators.
  21. Example:
  22. tps65132@3e {
  23. compatible = "ti,tps65132";
  24. reg = <0x3e>;
  25. outp {
  26. regulator-name = "outp";
  27. regulator-boot-on;
  28. regulator-always-on;
  29. enable-gpios = <&gpio 23 0>;
  30. };
  31. outn {
  32. regulator-name = "outn";
  33. regulator-boot-on;
  34. regulator-always-on;
  35. regulator-active-discharge = <0>;
  36. enable-gpios = <&gpio 40 0>;
  37. };
  38. };