| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef PMIC_WRAP_INIT_H |
| 8 |
#define PMIC_WRAP_INIT_H |
| 9 |
|
| 10 |
#include <stdint.h> |
| 11 |
|
| 12 |
#include "platform_def.h" |
| 13 |
#include <pmic_wrap_init_common.h> |
| 14 |
|
| 15 |
static struct mt8188_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE; |
| 16 |
|
| 17 |
|
| 18 |
struct mt8188_pmic_wrap_regs { |
| 19 |
uint32_t init_done; |
| 20 |
uint32_t reserved[543]; |
| 21 |
uint32_t wacs2_cmd; |
| 22 |
uint32_t wacs2_wdata; |
| 23 |
uint32_t reserved1[3]; |
| 24 |
uint32_t wacs2_rdata; |
| 25 |
uint32_t reserved2[3]; |
| 26 |
uint32_t wacs2_vldclr; |
| 27 |
uint32_t wacs2_sta; |
| 28 |
}; |
| 29 |
|
| 30 |
#endif |