linux/drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2016 Linaro Limited.
 * Copyright (c) 2014-2016 HiSilicon Limited.
 */

#ifndef __DW_DSI_REG_H__
#define __DW_DSI_REG_H__

#include <linux/io.h>

#define MASK(x)

/*
 * regs
 */
#define PWR_UP
#define RESET
#define POWERUP
#define PHY_IF_CFG
#define CLKMGR_CFG
#define PHY_RSTZ
#define PHY_ENABLECLK
#define PHY_UNRSTZ
#define PHY_UNSHUTDOWNZ
#define PHY_TST_CTRL0
#define PHY_TST_CTRL1
#define CLK_TLPX
#define CLK_THS_PREPARE
#define CLK_THS_ZERO
#define CLK_THS_TRAIL
#define CLK_TWAKEUP
#define DATA_TLPX(x)
#define DATA_THS_PREPARE(x)
#define DATA_THS_ZERO(x)
#define DATA_THS_TRAIL(x)
#define DATA_TTA_GO(x)
#define DATA_TTA_GET(x)
#define DATA_TWAKEUP(x)
#define PHY_CFG_I
#define PHY_CFG_PLL_I
#define PHY_CFG_PLL_II
#define PHY_CFG_PLL_III
#define PHY_CFG_PLL_IV
#define PHY_CFG_PLL_V
#define DPI_COLOR_CODING
#define DPI_CFG_POL
#define VID_HSA_TIME
#define VID_HBP_TIME
#define VID_HLINE_TIME
#define VID_VSA_LINES
#define VID_VBP_LINES
#define VID_VFP_LINES
#define VID_VACTIVE_LINES
#define VID_PKT_SIZE
#define VID_MODE_CFG
#define PHY_TMR_CFG
#define BTA_TO_CNT
#define PHY_TMR_LPCLK_CFG
#define CLK_DATA_TMR_CFG
#define LPCLK_CTRL
#define PHY_TXREQUESTCLKHS
#define MODE_CFG
#define PHY_STATUS

#define PHY_STOP_WAIT_TIME

/*
 * regs relevant enum
 */
enum dpi_color_coding {};

enum dsi_video_mode_type {};

enum dsi_work_mode {};

/*
 * Register Write/Read Helper functions
 */
static inline void dw_update_bits(void __iomem *addr, u32 bit_start,
				  u32 mask, u32 val)
{}

#endif /* __DW_DRM_DSI_H__ */