1 #ifndef __RK616_HDMI_H__
2 #define __RK616_HDMI_H__
4 #include "../../rk_hdmi.h"
5 #include <linux/mfd/rk616.h>
7 #if defined(CONFIG_HDMI_SOURCE_LCDC1)
8 #define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC1
10 #define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC0
17 #if defined(CONFIG_SND_RK_SOC_HDMI_SPDIF)
18 #define HDMI_CODEC_SOURCE_SELECT INPUT_SPDIF
20 #define HDMI_CODEC_SOURCE_SELECT INPUT_IIS
23 extern void rk616_hdmi_control_output(int enable);
24 extern int rk616_hdmi_register_hdcp_callbacks(void (*hdcp_cb)(void),
25 void (*hdcp_irq_cb)(int status),
26 int (*hdcp_power_on_cb)(void),
27 void (*hdcp_power_off_cb)(void));
31 struct early_suspend early_suspend;
32 struct delayed_work rk616_delay_work;
33 struct work_struct rk616_irq_work_struct;
34 struct mfd_rk616 *rk616_drv;
35 struct dentry *debugfs_dir;
38 #endif /* __RK30_HDMI_H__ */