Files
android/drivers/clk/mediatek/clkdbg-mt6853.h
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

65 lines
1.2 KiB
C

/*
* Copyright (C) 2020 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __DRV_CLKDBG_MT6758_H
#define __DRV_CLKDBG_MT6758_H
enum dbg_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,
dbg_sys_num,
};
extern void subsys_if_on(void);
/*ram console api*/
#ifdef CONFIG_MTK_RAM_CONSOLE
extern void aee_rr_rec_clk(int id, u32 val);
#endif
extern const char * const *get_mt6853_all_clk_names(void);
extern void print_enabled_clks_once(void);
extern void print_subsys_reg(enum dbg_sys_id id);
extern int get_sw_req_vcore_opp(void);
#endif /* __DRV_CLKDBG_MT6758_H */