qcom,qpnp-power-on.h 775 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2018-2019,2021 The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef _DT_BINDINGS_INPUT_QCOM_POWER_ON_H
  7. #define _DT_BINDINGS_INPUT_QCOM_POWER_ON_H
  8. /* PMIC PON peripheral logical power on types: */
  9. #define PON_POWER_ON_TYPE_KPDPWR 0
  10. #define PON_POWER_ON_TYPE_RESIN 1
  11. #define PON_POWER_ON_TYPE_CBLPWR 2
  12. #define PON_POWER_ON_TYPE_KPDPWR_RESIN 3
  13. /* PMIC PON peripheral physical power off types: */
  14. #define PON_POWER_OFF_TYPE_WARM_RESET 0x01
  15. #define PON_POWER_OFF_TYPE_SHUTDOWN 0x04
  16. #define PON_POWER_OFF_TYPE_DVDD_SHUTDOWN 0x05
  17. #define PON_POWER_OFF_TYPE_HARD_RESET 0x07
  18. #define PON_POWER_OFF_TYPE_DVDD_HARD_RESET 0x08
  19. #endif