Merge branch develop-3.10 into develop-3.10-next
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / hdmi / rk_hdmi.h
index 8a42d9da3719f09751d762333dc184e3e1fc0049..c853654871a5c3693482baa353e258a7a49d95b2 100755 (executable)
@@ -313,6 +313,12 @@ struct rk_hdmi_drvdata  {
        u8 soc_type;
        u32 reversed;
 };
+struct hdmi;
+
+struct rk_hdmi_drv_ops {
+       int (*hdmi_debug) (struct hdmi *hdmi, int cmd);
+};
+
 
 struct hdmi {
        struct device *dev;
@@ -325,6 +331,7 @@ struct hdmi {
        struct switch_dev switch_hdmi;
 #endif
 
+       struct mutex lock;
        struct workqueue_struct *workqueue;
        struct delayed_work delay_work;
 
@@ -356,6 +363,7 @@ struct hdmi {
        int yscale;             /* y directoon scale value */
        int tmdsclk;            /* TDMS Clock frequency */
        int pixclock;           /* Pixel Clcok frequency */
+       int uboot_logo;
 
        struct list_head pwrlist_head;
 
@@ -381,6 +389,9 @@ struct hdmi {
        void (*cec_irq)(void);
        void (*cec_set_device_pa)(int);
        int (*cec_enumerate)(void);
+       struct rk_hdmi_drv_ops *ops;
+       unsigned int *support_vic;
+       int support_vic_num;
 };
 
 #define hdmi_err(dev, format, arg...)          \