db8500-prcmu.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010
  3. *
  4. * License Terms: GNU General Public License v2
  5. *
  6. * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
  7. *
  8. * Interface to power domain regulators on DB8500
  9. */
  10. #ifndef __REGULATOR_H__
  11. #define __REGULATOR_H__
  12. /* Number of DB8500 regulators and regulator enumeration */
  13. enum db8500_regulator_id {
  14. DB8500_REGULATOR_VAPE,
  15. DB8500_REGULATOR_VARM,
  16. DB8500_REGULATOR_VMODEM,
  17. DB8500_REGULATOR_VPLL,
  18. DB8500_REGULATOR_VSMPS1,
  19. DB8500_REGULATOR_VSMPS2,
  20. DB8500_REGULATOR_VSMPS3,
  21. DB8500_REGULATOR_VRF1,
  22. DB8500_REGULATOR_SWITCH_SVAMMDSP,
  23. DB8500_REGULATOR_SWITCH_SVAMMDSPRET,
  24. DB8500_REGULATOR_SWITCH_SVAPIPE,
  25. DB8500_REGULATOR_SWITCH_SIAMMDSP,
  26. DB8500_REGULATOR_SWITCH_SIAMMDSPRET,
  27. DB8500_REGULATOR_SWITCH_SIAPIPE,
  28. DB8500_REGULATOR_SWITCH_SGA,
  29. DB8500_REGULATOR_SWITCH_B2R2_MCDE,
  30. DB8500_REGULATOR_SWITCH_ESRAM12,
  31. DB8500_REGULATOR_SWITCH_ESRAM12RET,
  32. DB8500_REGULATOR_SWITCH_ESRAM34,
  33. DB8500_REGULATOR_SWITCH_ESRAM34RET,
  34. DB8500_NUM_REGULATORS
  35. };
  36. /*
  37. * Exported interface for CPUIdle only. This function is called with all
  38. * interrupts turned off.
  39. */
  40. int power_state_active_is_enabled(void);
  41. #endif