mt6358-irq.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_MT6358_IRQ_H
  12. #define _DT_BINDINGS_MT6358_IRQ_H
  13. #define SP_BUCK 0
  14. #define SP_LDO 1
  15. #define SP_PSC 2
  16. #define SP_SCK 3
  17. #define SP_BM 4
  18. #define SP_HK 5
  19. #define SP_AUD 6
  20. #define SP_MISC 7
  21. #define INT_VPROC11_OC 0
  22. #define INT_VPROC12_OC 1
  23. #define INT_VCORE_OC 2
  24. #define INT_VGPU_OC 3
  25. #define INT_VMODEM_OC 4
  26. #define INT_VDRAM1_OC 5
  27. #define INT_VS1_OC 6
  28. #define INT_VS2_OC 7
  29. #define INT_VPA_OC 8
  30. #define INT_VCORE_PREOC 9
  31. #define INT_VFE28_OC 16
  32. #define INT_VXO22_OC 17
  33. #define INT_VRF18_OC 18
  34. #define INT_VRF12_OC 19
  35. #define INT_VEFUSE_OC 20
  36. #define INT_VCN33_OC 21
  37. #define INT_VCN28_OC 22
  38. #define INT_VCN18_OC 23
  39. #define INT_VCAMA1_OC 24
  40. #define INT_VCAMA2_OC 25
  41. #define INT_VCAMD_OC 26
  42. #define INT_VCAMIO_OC 27
  43. #define INT_VLDO28_OC 28
  44. #define INT_VA12_OC 29
  45. #define INT_VAUX18_OC 30
  46. #define INT_VAUD28_OC 31
  47. #define INT_VIO28_OC 32
  48. #define INT_VIO18_OC 33
  49. #define INT_VSRAM_PROC11_OC 34
  50. #define INT_VSRAM_PROC12_OC 35
  51. #define INT_VSRAM_OTHERS_OC 36
  52. #define INT_VSRAM_GPU_OC 37
  53. #define INT_VDRAM2_OC 38
  54. #define INT_VMC_OC 39
  55. #define INT_VMCH_OC 40
  56. #define INT_VEMC_OC 41
  57. #define INT_VSIM1_OC 42
  58. #define INT_VSIM2_OC 43
  59. #define INT_VIBR_OC 44
  60. #define INT_VUSB_OC 45
  61. #define INT_VBIF28_OC 46
  62. #define INT_PWRKEY 48
  63. #define INT_HOMEKEY 49
  64. #define INT_PWRKEY_R 50
  65. #define INT_HOMEKEY_R 51
  66. #define INT_NI_LBAT_INT 52
  67. #define INT_CHRDET 53
  68. #define INT_CHRDET_EDGE 54
  69. #define INT_VCDT_HV_DET 55
  70. #define INT_RTC 64
  71. #define INT_FG_BAT0_H 80
  72. #define INT_FG_BAT0_L 81
  73. #define INT_FG_CUR_H 82
  74. #define INT_FG_CUR_L 83
  75. #define INT_FG_ZCV 84
  76. #define INT_FG_BAT1_H 85
  77. #define INT_FG_BAT1_L 86
  78. #define INT_FG_N_CHARGE_L 87
  79. #define INT_FG_IAVG_H 88
  80. #define INT_FG_IAVG_L 89
  81. #define INT_FG_TIME_H 90
  82. #define INT_FG_DISCHARGE 91
  83. #define INT_FG_CHARGE 92
  84. #define INT_BATON_LV 96
  85. #define INT_BATON_HT 97
  86. #define INT_BATON_BAT_IN 98
  87. #define INT_BATON_BAT_OUT 99
  88. #define INT_BIF 100
  89. #define INT_BAT_H 112
  90. #define INT_BAT_L 113
  91. #define INT_BAT2_H 114
  92. #define INT_BAT2_L 115
  93. #define INT_BAT_TEMP_H 116
  94. #define INT_BAT_TEMP_L 117
  95. #define INT_AUXADC_IMP 118
  96. #define INT_NAG_C_DLTV 119
  97. #define INT_AUDIO 128
  98. #define INT_ACCDET 133
  99. #define INT_ACCDET_EINT0 134
  100. #define INT_ACCDET_EINT1 135
  101. #define INT_SPI_CMD_ALERT 144
  102. #endif /* _DT_BINDINGS_MT6358_IRQ_H */