kernel_samsung_a34x-permissive/drivers/misc/mediatek/smi/mt6765/smi_hw.h
2024-04-28 15:49:01 +02:00

33 lines
584 B
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef __SMI_HW_H__
#define __SMI_HW_H__
#include <clk-mt6765-pg.h>
#include <smi_port.h>
static const u32 smi_subsys_to_larbs[NR_SYSS] = {
[SYS_DIS] = (1 << 0) | (1 << 4),
[SYS_CAM] = (1 << 3),
[SYS_VCODEC] = (1 << 1),
[SYS_ISP] = (1 << 2),
};
#if IS_ENABLED(CONFIG_MMPROFILE)
#include <mmprofile.h>
static const char *smi_mmp_name[NR_SYSS] = {
[SYS_DIS] = "DIS",
[SYS_CAM] = "CAM",
[SYS_VCODEC] = "VCODEC",
[SYS_ISP] = "ISP",
};
static mmp_event smi_mmp_event[NR_SYSS];
#endif
#endif