PDK API Guide for J721E
pmic_irq_lp8764x.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2020 Texas Instruments Incorporated - http://www.ti.com
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  *****************************************************************************/
46 #ifndef PMIC_IRQ_LP8764X_H_
47 #define PMIC_IRQ_LP8764X_H_
48 
49 /* ========================================================================== */
50 /* Include Files */
51 /* ========================================================================== */
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55 
56 /* ========================================================================== */
57 /* Macros & Typedefs */
58 /* ========================================================================== */
59 
67 #define PMIC_LP8764X_WD_RST_INT (0U)
68 
69 #define PMIC_LP8764X_WD_FAIL_INT (1U)
70 
71 #define PMIC_LP8764X_WD_LONGWIN_TIMEOUT_INT (2U)
72 
74 #define PMIC_LP8764X_ESM_MCU_RST_INT (3U)
75 
76 #define PMIC_LP8764X_ESM_MCU_FAIL_INT (4U)
77 
78 #define PMIC_LP8764X_ESM_MCU_PIN_INT (5U)
79 
81 #define PMIC_LP8764X_NRSTOUT_SOC_READBACK_INT (6U)
82 
83 #define PMIC_LP8764X_EN_DRV_READBACK_INT (7U)
84 
86 #define PMIC_LP8764X_I2C2_ADR_ERR_INT (8U)
87 
88 #define PMIC_LP8764X_I2C2_CRC_ERR_INT (9U)
89 
90 #define PMIC_LP8764X_COMM_ADR_ERR_INT (10U)
91 
92 #define PMIC_LP8764X_COMM_CRC_ERR_INT (11U)
93 
94 #define PMIC_LP8764X_COMM_FRM_ERR_INT (12U)
95 
97 #define PMIC_LP8764X_SOC_PWR_ERR_INT (13U)
98 
99 #define PMIC_LP8764X_MCU_PWR_ERR_INT (14U)
100 
101 #define PMIC_LP8764X_ORD_SHUTDOWN_INT (15U)
102 
103 #define PMIC_LP8764X_IMM_SHUTOWN_INT (16U)
104 
106 #define PMIC_LP8764X_PFSM_ERR_INT (17U)
107 
108 #define PMIC_LP8764X_VCCA_OVP_INT (18U)
109 
110 #define PMIC_LP8764X_TSD_IMM_INT (19U)
111 
113 #define PMIC_LP8764X_NRSTOUT_READBACK_INT (20U)
114 
115 #define PMIC_LP8764X_NINT_READBACK_INT (21U)
116 
117 #define PMIC_LP8764X_SPMI_ERR_INT (22U)
118 
119 #define PMIC_LP8764X_RECOV_CNT_INT (23U)
120 
121 #define PMIC_LP8764X_REG_CRC_ERR_INT (24U)
122 
123 #define PMIC_LP8764X_BIST_FAIL_INT (25U)
124 
125 #define PMIC_LP8764X_TSD_ORD_INT (26U)
126 
128 #define PMIC_LP8764X_TWARN_INT (27U)
129 
130 #define PMIC_LP8764X_EXT_CLK_INT (28U)
131 
132 #define PMIC_LP8764X_BIST_PASS_INT (29U)
133 
135 #define PMIC_LP8764X_FSD_INT (30U)
136 
137 #define PMIC_LP8764X_ENABLE_INT (31U)
138 
140 #define PMIC_LP8764X_GPIO8_INT (32U)
141 
142 #define PMIC_LP8764X_GPIO7_INT (33U)
143 
144 #define PMIC_LP8764X_GPIO6_INT (34U)
145 
146 #define PMIC_LP8764X_GPIO5_INT (35U)
147 
148 #define PMIC_LP8764X_GPIO4_INT (36U)
149 
150 #define PMIC_LP8764X_GPIO3_INT (37U)
151 
152 #define PMIC_LP8764X_GPIO2_INT (38U)
153 
154 #define PMIC_LP8764X_GPIO1_INT (39U)
155 
156 #define PMIC_LP8764X_GPIO10_INT (40U)
157 
158 #define PMIC_LP8764X_GPIO9_INT (41U)
159 
161 #define PMIC_LP8764X_VMON2_RV_INT (42U)
162 
163 #define PMIC_LP8764X_VMON2_UV_INT (43U)
164 
165 #define PMIC_LP8764X_VMON2_OV_INT (44U)
166 
167 #define PMIC_LP8764X_VMON1_RV_INT (45U)
168 
169 #define PMIC_LP8764X_VMON1_UV_INT (46U)
170 
171 #define PMIC_LP8764X_VMON1_OV_INT (47U)
172 
173 #define PMIC_LP8764X_VCCA_UV_INT (48U)
174 
175 #define PMIC_LP8764X_VCCA_OV_INT (49U)
176 
178 #define PMIC_LP8764X_BUCK4_ILIM_INT (50U)
179 
180 #define PMIC_LP8764X_BUCK4_SC_INT (51U)
181 
182 #define PMIC_LP8764X_BUCK4_UV_INT (52U)
183 
184 #define PMIC_LP8764X_BUCK4_OV_INT (53U)
185 
187 #define PMIC_LP8764X_BUCK3_ILIM_INT (54U)
188 
189 #define PMIC_LP8764X_BUCK3_SC_INT (55U)
190 
191 #define PMIC_LP8764X_BUCK3_UV_INT (56U)
192 
193 #define PMIC_LP8764X_BUCK3_OV_INT (57U)
194 
196 #define PMIC_LP8764X_BUCK2_ILIM_INT (58U)
197 
198 #define PMIC_LP8764X_BUCK2_SC_INT (59U)
199 
200 #define PMIC_LP8764X_BUCK2_UV_INT (60U)
201 
202 #define PMIC_LP8764X_BUCK2_OV_INT (61U)
203 
205 #define PMIC_LP8764X_BUCK1_ILIM_INT (62U)
206 
207 #define PMIC_LP8764X_BUCK1_SC_INT (63U)
208 
209 #define PMIC_LP8764X_BUCK1_UV_INT (64U)
210 
211 #define PMIC_LP8764X_BUCK1_OV_INT (65U)
212 
214 #define PMIC_LP8764X_SOFT_REBOOT_INT (66U)
215 
217 #define PMIC_LP8764X_IRQ_MAX_NUM_PG_1_0 (66U)
218 
219 #define PMIC_LP8764X_IRQ_MAX_NUM_PG_2_0 (67U)
220 
221 /* @} */
222 
229 #define PMIC_LP8764X_IRQ_GPIO_1_INT_MASK_NUM (0U)
230 #define PMIC_LP8764X_IRQ_GPIO_2_INT_MASK_NUM (1U)
231 #define PMIC_LP8764X_IRQ_GPIO_3_INT_MASK_NUM (2U)
232 #define PMIC_LP8764X_IRQ_GPIO_4_INT_MASK_NUM (3U)
233 #define PMIC_LP8764X_IRQ_GPIO_5_INT_MASK_NUM (4U)
234 #define PMIC_LP8764X_IRQ_GPIO_6_INT_MASK_NUM (5U)
235 #define PMIC_LP8764X_IRQ_GPIO_7_INT_MASK_NUM (6U)
236 #define PMIC_LP8764X_IRQ_GPIO_8_INT_MASK_NUM (7U)
237 #define PMIC_LP8764X_IRQ_GPIO_9_INT_MASK_NUM (8U)
238 #define PMIC_LP8764X_IRQ_GPIO_10_INT_MASK_NUM (9U)
239 
240 /* @} */
241 
242 #ifdef __cplusplus
243 }
244 #endif /* __cplusplus */
245 
246 #endif/* PMIC_IRQ_LP8764X_H_ */
247 
248 /* @} */