1 #ifndef __ROCKCHIP_DP_CORE_H__
2 #define __ROCKCHIP_DP_CORE_H__
4 /* dp grf register offset */
5 #define GRF_SOC_CON9 0x6224
6 #define GRF_SOC_CON26 0x6268
8 #define DPTX_HPD_SEL (3 << 12)
9 #define DPTX_HPD_DEL (2 << 12)
10 #define DPTX_HPD_SEL_MASK (3 << 28)
12 #define DP_SEL_VOP_LIT BIT(12)
13 #define MAX_FW_WAIT_SECS 64
14 #define EDID_BLOCK_SIZE 128
15 #define CDN_DP_FIRMWARE "cdn/dptx.bin"
18 struct fb_videomode *mode;
30 struct dp_disp_info disp_info;
33 struct notifier_block fb_notif;
38 int cdn_dp_fb_register(struct platform_device *pdev, void *dp);
39 void hpd_change(struct device *dev, int lanes);