Merge tag 'v4.4-rc4'
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / hdmi / rockchip-hdmiv1 / rockchip_hdmiv1.h
1 #ifndef __ROCKCHIP_HDMI_V1_H__
2 #define __ROCKCHIP_HDMI_V1_H__
3
4 #include "../rockchip-hdmi.h"
5
6 struct hdmi_dev {
7         void __iomem            *regbase;
8         int                     regbase_phy;
9         int                     regsize_phy;
10
11         struct clk              *pd;
12         struct clk              *hclk;
13         unsigned int            hclk_rate;
14
15         struct hdmi             *hdmi;
16         struct device           *dev;
17         struct dentry           *debugfs_dir;
18         int                     irq;
19
20         struct work_struct      irq_work;
21         struct delayed_work     delay_work;
22         struct workqueue_struct *workqueue;
23
24 #ifdef CONFIG_HAS_EARLYSUSPEND
25         struct early_suspend    early_suspend;
26 #endif
27         int                     soctype;
28         int                     audiosrc;
29         int                     enable;
30         unsigned char           clk_disable;
31         unsigned char           clk_on;
32         spinlock_t              reg_lock;
33
34         unsigned int            tmdsclk;
35         unsigned int            pixelrepeat;
36         int                     pwr_mode;
37 };
38 #endif /* __RK3036_HDMI_H__ */