spm-regulator.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Qualcomm SPM Regulators
  2. spm-regulator is a regulator device which supports PMIC processor supply
  3. regulators via the SPM module.
  4. Required properties:
  5. - compatible: Must be "qcom,spm-regulator"
  6. - reg: Specifies the SPMI address and size for this regulator device
  7. - regulator-name: A string used as a descriptive name for the regulator
  8. Required structure:
  9. - A qcom,spm-regulator node must be a child of an SPMI node that has specified
  10. the spmi-slave-container property
  11. Optional properties:
  12. - qcom,mode: A string which specifies the mode to use for the regulator.
  13. Supported values are "pwm" and "auto". PWM mode is more
  14. robust, but draws more current than auto mode. If this
  15. property is not specified, then the regulator will remain
  16. in whatever mode hardware or bootloaders set it to.
  17. All properties specified within the core regulator framework can also be used.
  18. These bindings can be found in regulator.txt.
  19. Example:
  20. qcom,spmi@fc4c0000 {
  21. qcom,pm8226@1 {
  22. spmi-slave-container;
  23. spm-regulator@1700 {
  24. compatible = "qcom,spm-regulator";
  25. regulator-name = "8226_s2";
  26. reg = <0x1700 0x100>;
  27. regulator-min-microvolt = <900000>;
  28. regulator-max-microvolt = <1275000>;
  29. };
  30. };
  31. };