qcom,rpm-smd-regulator.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __QCOM_RPM_SMD_REGULATOR_H
  13. #define __QCOM_RPM_SMD_REGULATOR_H
  14. #define RPM_SMD_REGULATOR_LEVEL_NONE 0
  15. #define RPM_SMD_REGULATOR_LEVEL_RETENTION 16
  16. #define RPM_SMD_REGULATOR_LEVEL_RETENTION_PLUS 32
  17. #define RPM_SMD_REGULATOR_LEVEL_MIN_SVS 48
  18. #define RPM_SMD_REGULATOR_LEVEL_LOW_SVS 64
  19. #define RPM_SMD_REGULATOR_LEVEL_SVS 128
  20. #define RPM_SMD_REGULATOR_LEVEL_SVS_PLUS 192
  21. #define RPM_SMD_REGULATOR_LEVEL_NOM 256
  22. #define RPM_SMD_REGULATOR_LEVEL_NOM_PLUS 320
  23. #define RPM_SMD_REGULATOR_LEVEL_TURBO 384
  24. #define RPM_SMD_REGULATOR_LEVEL_TURBO_NO_CPR 416
  25. #define RPM_SMD_REGULATOR_LEVEL_BINNING 512
  26. #endif