Files
android/drivers/misc/mediatek/smi/mt6765/smi_port.h
T
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

33 lines
1.0 KiB
C

/*
* Copyright (C) 2018 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 __SMI_PORT_H__
#define __SMI_PORT_H__
#define SMI_OSTD_MAX (0x1f)
#define SMI_LARB_NUM (4)
#define SMI_LARB0_PORT_NUM (8) /* SYS_DIS */
#define SMI_LARB1_PORT_NUM (11) /* SYS_VCODEC */
#define SMI_LARB2_PORT_NUM (12) /* SYS_ISP */
#define SMI_LARB3_PORT_NUM (21) /* SYS_CAM */
#define SMI_COMM_MASTER_NUM (SMI_LARB_NUM)
#define SMI_COMM_NUM (1)
#define SMI_DEV_NUM ((SMI_LARB_NUM) + (SMI_COMM_NUM))
static const bool
SMI_COMM_BUS_SEL[SMI_COMM_MASTER_NUM] = {0, 1, 0, 1,};
static const u32
SMI_LARB_L1ARB[SMI_LARB_NUM] = {0, 1, 2, 3,};
#endif