linux/drivers/gpu/drm/exynos/regs-decon5433.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2014 Samsung Electronics Co.Ltd
 */

#ifndef EXYNOS_REGS_DECON5433_H
#define EXYNOS_REGS_DECON5433_H

/* Exynos543X DECON */
#define DECON_VIDCON0
#define DECON_VIDOUTCON0
#define DECON_WINCONx(n)
#define DECON_VIDOSDxH(n)
#define DECON_SHADOWCON
#define DECON_VIDOSDxA(n)
#define DECON_VIDOSDxB(n)
#define DECON_VIDOSDxC(n)
#define DECON_VIDOSDxD(n)
#define DECON_VIDOSDxE(n)
#define DECON_VIDW0xADD0B0(n)
#define DECON_VIDW0xADD0B1(n)
#define DECON_VIDW0xADD0B2(n)
#define DECON_VIDW0xADD1B0(n)
#define DECON_VIDW0xADD1B1(n)
#define DECON_VIDW0xADD1B2(n)
#define DECON_VIDW0xADD2(n)
#define DECON_LOCALxSIZE(n)
#define DECON_VIDINTCON0
#define DECON_VIDINTCON1
#define DECON_WxKEYCON0(n)
#define DECON_WxKEYCON1(n)
#define DECON_WxKEYALPHA(n)
#define DECON_WINxMAP(n)
#define DECON_QOSLUT07_00
#define DECON_QOSLUT15_08
#define DECON_QOSCTRL
#define DECON_BLENDERQx(n)
#define DECON_BLENDCON
#define DECON_OPE_VIDW0xADD0(n)
#define DECON_OPE_VIDW0xADD1(n)
#define DECON_FRAMEFIFO_REG7
#define DECON_FRAMEFIFO_REG8
#define DECON_FRAMEFIFO_STATUS
#define DECON_CMU
#define DECON_UPDATE
#define DECON_CRFMID
#define DECON_UPDATE_SCHEME
#define DECON_VIDCON1
#define DECON_VIDCON2
#define DECON_VIDCON3
#define DECON_VIDCON4
#define DECON_VIDTCON2
#define DECON_FRAME_SIZE
#define DECON_LINECNT_OP_THRESHOLD
#define DECON_TRIGCON
#define DECON_TRIGSKIP
#define DECON_CRCRDATA
#define DECON_CRCCTRL

/* Exynos5430 DECON */
#define DECON_VIDTCON0
#define DECON_VIDTCON1

/* Exynos5433 DECON */
#define DECON_VIDTCON00
#define DECON_VIDTCON01
#define DECON_VIDTCON10
#define DECON_VIDTCON11

/* Exynos543X DECON Internal */
#define DECON_W013DSTREOCON
#define DECON_W233DSTREOCON
#define DECON_FRAMEFIFO_REG0
#define DECON_ENHANCER_CTRL

/* Exynos543X DECON TV */
#define DECON_VCLKCON0
#define DECON_VIDINTCON2
#define DECON_VIDINTCON3

/* VIDCON0 */
#define VIDCON0_SWRESET
#define VIDCON0_CLKVALUP
#define VIDCON0_VLCKFREE
#define VIDCON0_STOP_STATUS
#define VIDCON0_ENVID
#define VIDCON0_ENVID_F

/* VIDOUTCON0 */
#define VIDOUT_INTERLACE_FIELD_F
#define VIDOUT_INTERLACE_EN_F
#define VIDOUT_LCD_ON
#define VIDOUT_IF_F_MASK
#define VIDOUT_RGB_IF
#define VIDOUT_COMMAND_IF

/* WINCONx */
#define WINCONx_HAWSWP_F
#define WINCONx_WSWP_F
#define WINCONx_BURSTLEN_MASK
#define WINCONx_BURSTLEN_16WORD
#define WINCONx_BURSTLEN_8WORD
#define WINCONx_BURSTLEN_4WORD
#define WINCONx_ALPHA_MUL_F
#define WINCONx_BLD_PIX_F
#define WINCONx_BPPMODE_MASK
#define WINCONx_BPPMODE_16BPP_565
#define WINCONx_BPPMODE_16BPP_A1555
#define WINCONx_BPPMODE_16BPP_I1555
#define WINCONx_BPPMODE_24BPP_888
#define WINCONx_BPPMODE_24BPP_A1887
#define WINCONx_BPPMODE_25BPP_A1888
#define WINCONx_BPPMODE_32BPP_A8888
#define WINCONx_BPPMODE_16BPP_A4444
#define WINCONx_ALPHA_SEL_F
#define WINCONx_ENWIN_F
#define WINCONx_BLEND_MODE_MASK

/* SHADOWCON */
#define SHADOWCON_PROTECT_MASK
#define SHADOWCON_Wx_PROTECT(n)

/* VIDOSDxC */
#define VIDOSDxC_ALPHA0_RGB_MASK

/* VIDOSDxD */
#define VIDOSD_Wx_ALPHA_R_F(n)
#define VIDOSD_Wx_ALPHA_G_F(n)
#define VIDOSD_Wx_ALPHA_B_F(n)

/* VIDINTCON0 */
#define VIDINTCON0_FRAMEDONE
#define VIDINTCON0_FRAMESEL_BP
#define VIDINTCON0_FRAMESEL_VS
#define VIDINTCON0_FRAMESEL_AC
#define VIDINTCON0_FRAMESEL_FP
#define VIDINTCON0_INTFRMEN
#define VIDINTCON0_INTEN

/* VIDINTCON1 */
#define VIDINTCON1_INTFRMDONEPEND
#define VIDINTCON1_INTFRMPEND
#define VIDINTCON1_INTFIFOPEND

/* DECON_CMU */
#define CMU_CLKGAGE_MODE_SFR_F
#define CMU_CLKGAGE_MODE_MEM_F

/* DECON_UPDATE */
#define STANDALONE_UPDATE_F

/* DECON_VIDCON1 */
#define VIDCON1_LINECNT_MASK
#define VIDCON1_I80_ACTIVE
#define VIDCON1_VSTATUS_MASK
#define VIDCON1_VSTATUS_VS
#define VIDCON1_VSTATUS_BP
#define VIDCON1_VSTATUS_AC
#define VIDCON1_VSTATUS_FP
#define VIDCON1_VCLK_MASK
#define VIDCON1_VCLK_RUN_VDEN_DISABLE
#define VIDCON1_VCLK_HOLD
#define VIDCON1_VCLK_RUN


/* DECON_VIDTCON00 */
#define VIDTCON00_VBPD_F(x)
#define VIDTCON00_VFPD_F(x)

/* DECON_VIDTCON01 */
#define VIDTCON01_VSPW_F(x)

/* DECON_VIDTCON10 */
#define VIDTCON10_HBPD_F(x)
#define VIDTCON10_HFPD_F(x)

/* DECON_VIDTCON11 */
#define VIDTCON11_HSPW_F(x)

/* DECON_VIDTCON2 */
#define VIDTCON2_LINEVAL(x)
#define VIDTCON2_HOZVAL(x)

/* TRIGCON */
#define TRIGCON_TRIGEN_PER_F
#define TRIGCON_TRIGEN_F
#define TRIGCON_TE_AUTO_MASK
#define TRIGCON_WB_SWTRIGCMD
#define TRIGCON_SWTRIGCMD_W4BUF
#define TRIGCON_TRIGMODE_W4BUF
#define TRIGCON_SWTRIGCMD_W3BUF
#define TRIGCON_TRIGMODE_W3BUF
#define TRIGCON_SWTRIGCMD_W2BUF
#define TRIGCON_TRIGMODE_W2BUF
#define TRIGCON_SWTRIGCMD_W1BUF
#define TRIGCON_TRIGMODE_W1BUF
#define TRIGCON_SWTRIGCMD_W0BUF
#define TRIGCON_TRIGMODE_W0BUF
#define TRIGCON_HWTRIGMASK
#define TRIGCON_HWTRIGEN
#define TRIGCON_HWTRIG_INV
#define TRIGCON_SWTRIGCMD
#define TRIGCON_SWTRIGEN

/* DECON_CRCCTRL */
#define CRCCTRL_CRCCLKEN
#define CRCCTRL_CRCSTART_F
#define CRCCTRL_CRCEN
#define CRCCTRL_MASK

/* BLENDCON */
#define BLEND_NEW

/* BLENDERQx */
#define BLENDERQ_ZERO
#define BLENDERQ_ONE
#define BLENDERQ_ALPHA_A
#define BLENDERQ_ONE_MINUS_ALPHA_A
#define BLENDERQ_ALPHA0
#define BLENDERQ_Q_FUNC_F(n)
#define BLENDERQ_P_FUNC_F(n)
#define BLENDERQ_B_FUNC_F(n)
#define BLENDERQ_A_FUNC_F(n)

/* BLENDCON */
#define BLEND_NEW

#endif /* EXYNOS_REGS_DECON5433_H */