regulator-cdev.txt 961 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Regulator cooling device.
  2. The regulator cooling device, will be used to place a voltage floor
  3. restriction on a rail.
  4. Properties:
  5. - compatible:
  6. Usage: required
  7. Value type: <string>
  8. Definition: shall be "qcom,regulator-cooling-device"
  9. - cdev-supply:
  10. Usage: required
  11. Value type: <phandle>
  12. Definition: phandle to the regulator to which the cooling device will
  13. place a floor mitigation.
  14. - regulator-levels:
  15. Usage: required
  16. Value type: <U32 array>
  17. Definition: Array of regulator voltages the cooling device should
  18. use to place a floor restriction. The voltages should
  19. be specified in descending order.
  20. - #cooling-cells: Must be 2. Please refer to
  21. <devicetree/bindings/thermal/thermal.txt> for more
  22. details.
  23. Example:
  24. mv_cdev: mx-cdev-lvl {
  25. compatible = "qcom,regulator-cooling-device";
  26. cdev-supply = <&regulator-cdev-supply>;
  27. regulator-levels = <RPMH_REGULATOR_LEVEL_NOM
  28. RPMH_REGULATOR_LEVEL_OFF>;
  29. #cooling-cells = <2>;
  30. };