mt635x-auxadc.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (C) 2018 MediaTek Inc.
  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 as
  5. * published by the Free Software Foundation.
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
  10. */
  11. #ifndef _DT_BINDINGS_MT635X_AUXADC_H
  12. #define _DT_BINDINGS_MT635X_AUXADC_H
  13. /* PMIC MT635x AUXADC channels */
  14. #define AUXADC_BATADC 0x00
  15. #define AUXADC_ISENSE 0x01
  16. #define AUXADC_VCDT 0x02
  17. #define AUXADC_BAT_TEMP 0x03
  18. #define AUXADC_BATID 0x04
  19. #define AUXADC_CHIP_TEMP 0x05
  20. #define AUXADC_VCORE_TEMP 0x06
  21. #define AUXADC_VPROC_TEMP 0x07
  22. #define AUXADC_VGPU_TEMP 0x08
  23. #define AUXADC_ACCDET 0x09
  24. #define AUXADC_VDCXO 0x0a
  25. #define AUXADC_TSX_TEMP 0x0b
  26. #define AUXADC_HPOFS_CAL 0x0c
  27. #define AUXADC_DCXO_TEMP 0x0d
  28. #define AUXADC_VBIF 0x0e
  29. #endif /* _DT_BINDINGS_MT635X_AUXADC_H */