cs35l32.h 748 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __DT_CS35L32_H
  3. #define __DT_CS35L32_H
  4. #define CS35L32_BOOST_MGR_AUTO 0
  5. #define CS35L32_BOOST_MGR_AUTO_AUDIO 1
  6. #define CS35L32_BOOST_MGR_BYPASS 2
  7. #define CS35L32_BOOST_MGR_FIXED 3
  8. #define CS35L32_DATA_CFG_LR_VP 0
  9. #define CS35L32_DATA_CFG_LR_STAT 1
  10. #define CS35L32_DATA_CFG_LR 2
  11. #define CS35L32_DATA_CFG_LR_VPSTAT 3
  12. #define CS35L32_BATT_THRESH_3_1V 0
  13. #define CS35L32_BATT_THRESH_3_2V 1
  14. #define CS35L32_BATT_THRESH_3_3V 2
  15. #define CS35L32_BATT_THRESH_3_4V 3
  16. #define CS35L32_BATT_RECOV_3_1V 0
  17. #define CS35L32_BATT_RECOV_3_2V 1
  18. #define CS35L32_BATT_RECOV_3_3V 2
  19. #define CS35L32_BATT_RECOV_3_4V 3
  20. #define CS35L32_BATT_RECOV_3_5V 4
  21. #define CS35L32_BATT_RECOV_3_6V 5
  22. #endif /* __DT_CS35L32_H */