support rk616 hdmi
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / hdmi / chips / rk616 / rk616_hdmi.h
1 #ifndef __RK616_HDMI_H__
2 #define __RK616_HDMI_H__
3
4 #include "../../rk_hdmi.h"
5 #include <linux/mfd/rk616.h>
6
7 #if defined(CONFIG_HDMI_SOURCE_LCDC1)
8 #define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC1
9 #else
10 #define HDMI_SOURCE_DEFAULT HDMI_SOURCE_LCDC0
11 #endif
12
13 extern void rk616_hdmi_control_output(int enable);
14 extern int rk616_hdmi_register_hdcp_callbacks(void (*hdcp_cb)(void),
15                                          void (*hdcp_irq_cb)(int status),
16                                          int  (*hdcp_power_on_cb)(void),
17                                          void (*hdcp_power_off_cb)(void));
18 #endif /* __RK30_HDMI_H__ */