power-on.h 869 B

123456789101112131415161718192021222324
  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 __MSM_POWER_ON_H__
  13. #define __MSM_POWER_ON_H__
  14. #define PON_POWER_OFF_RESERVED 0x00
  15. #define PON_POWER_OFF_WARM_RESET 0x01
  16. #define PON_POWER_OFF_SHUTDOWN 0x04
  17. #define PON_POWER_OFF_DVDD_SHUTDOWN 0x05
  18. #define PON_POWER_OFF_HARD_RESET 0x07
  19. #define PON_POWER_OFF_DVDD_HARD_RESET 0x08
  20. #define PON_POWER_OFF_MAX_TYPE 0x10
  21. #endif