xref: /linux/drivers/media/platform/mediatek/mdp3/mdp_reg_merge.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_MERGE_H__
8 #define __MDP_REG_MERGE_H__
9 
10 #define MDP_MERGE_ENABLE	(0x000)
11 #define MDP_MERGE_CFG_0		(0x010)
12 #define MDP_MERGE_CFG_4		(0x020)
13 #define MDP_MERGE_CFG_12	(0x040)
14 #define MDP_MERGE_CFG_24	(0x070)
15 #define MDP_MERGE_CFG_25	(0x074)
16 
17 /* MASK */
18 #define MDP_MERGE_ENABLE_MASK	(0xFFFFFFFF)
19 #define MDP_MERGE_CFG_0_MASK	(0xFFFFFFFF)
20 #define MDP_MERGE_CFG_4_MASK	(0xFFFFFFFF)
21 #define MDP_MERGE_CFG_12_MASK	(0xFFFFFFFF)
22 #define MDP_MERGE_CFG_24_MASK	(0xFFFFFFFF)
23 #define MDP_MERGE_CFG_25_MASK	(0xFFFFFFFF)
24 
25 #endif //__MDP_REG_MERGE_H__
26