xref: /linux/drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2022 MediaTek Inc.
4  * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
5  */
6 
7 #ifndef __MDP_REG_FG_H__
8 #define __MDP_REG_FG_H__
9 
10 #define MDP_FG_TRIGGER			(0x0)
11 #define MDP_FG_FG_CTRL_0		(0x20)
12 #define MDP_FG_FG_CK_EN			(0x24)
13 #define MDP_FG_TILE_INFO_0		(0x418)
14 #define MDP_FG_TILE_INFO_1		(0x41c)
15 
16 /* MASK */
17 #define MDP_FG_TRIGGER_MASK		(0x00000007)
18 #define MDP_FG_FG_CTRL_0_MASK		(0x00000033)
19 #define MDP_FG_FG_CK_EN_MASK		(0x0000000F)
20 #define MDP_FG_TILE_INFO_0_MASK		(0xFFFFFFFF)
21 #define MDP_FG_TILE_INFO_1_MASK		(0xFFFFFFFF)
22 
23 #endif  //__MDP_REG_FG_H__
24