7 #include <soc/dramc_soc.h>
9 #include <soc/symbols.h>
60 .firmware_name = CONFIG_DPM_PM_FIRMWARE,
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
#define printk(level,...)
void mdelay(unsigned int msecs)
void dpm_reset(struct mtk_mcu *mcu)
#define DRAMC_MCU_SRAM_ISOINT_B_LSB
static struct dpm_regs *const mtk_dpm
#define DRAMC_MCU2_SRAM_ISOINT_B_LSB
#define DRAMC_MCU2_SRAM_SLEEP_B_LSB
#define DRAMC_MCU_SRAM_SLEEP_B_LSB
#define DPM_SW_RSTN_RESET
static struct mtk_mcu dpm_mcu_4ch[]
static void dpm_mtcoms_sleep_on(void)
static struct dpm_regs *const mtk_dpm2
int dpm_4ch_para_setting(void)
static int wake_dpm_sram_up(void)
#define setbits32(addr, set)
#define clrbits32(addr, clear)
#define REGION_SIZE(name)
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
int mtk_init_mcu(struct mtk_mcu *mcu)
static struct mtk_spm_regs *const mtk_spm
const char * firmware_name
uint32_t dramc_mcu2_sram_con
uint32_t dramc_mcu_sram_con
static void __noreturn reset(void)