kernel_samsung_a34x-permissive/drivers/clk/mediatek/clkchk-mt6853.h
2024-04-28 15:51:13 +02:00

59 lines
925 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2019 MediaTek Inc.
*/
#ifndef __DRV_CLKCHK_MT6853_H
#define __DRV_CLKCHK_MT6853_H
enum chk_sys_id {
topckgen,
infracfg_ao,
scpsys,
apmixed,
apu0,
apu1,
apuvc,
apuc,
audio,
mfgsys,
mmsys,
mdpsys,
img1sys,
img2sys,
i2c_c,
i2c_e,
i2c_n,
i2c_s,
i2c_w,
i2c_ws,
infracfg,
ipesys,
camsys,
cam_rawa_sys,
cam_rawb_sys,
pericfg,
scp_par,
vencsys,
vdecsys,
infracfg_dbg,
infrapdn_dbg,
chk_sys_num,
};
extern const char * const *get_mt6853_all_clk_names(void);
extern struct regbase *get_mt6853_all_reg_bases(void);
extern struct regname *get_mt6853_all_reg_names(void);
/*ram console api*/
#ifdef CONFIG_MTK_RAM_CONSOLE
extern void aee_rr_rec_clk(int id, u32 val);
#endif
extern void print_enabled_clks_once(void);
extern void print_subsys_reg(enum chk_sys_id id);
extern int get_sw_req_vcore_opp(void);
#endif /* __DRV_CLKCHK_MT6853_H */