|
@@ -14,6 +14,9 @@
|
|
#define HDMI_STA 0x0010
|
|
#define HDMI_STA 0x0010
|
|
#define HDMI_STA_DLL_LCK BIT(5)
|
|
#define HDMI_STA_DLL_LCK BIT(5)
|
|
|
|
|
|
|
|
+#define HDMI_STA_HOT_PLUG_SHIFT 4
|
|
|
|
+#define HDMI_STA_HOT_PLUG (1 << HDMI_STA_HOT_PLUG_SHIFT)
|
|
|
|
+
|
|
struct sti_hdmi;
|
|
struct sti_hdmi;
|
|
|
|
|
|
struct hdmi_phy_ops {
|
|
struct hdmi_phy_ops {
|
|
@@ -37,7 +40,6 @@ struct hdmi_phy_ops {
|
|
* @irq_status: interrupt status register
|
|
* @irq_status: interrupt status register
|
|
* @phy_ops: phy start/stop operations
|
|
* @phy_ops: phy start/stop operations
|
|
* @enabled: true if hdmi is enabled else false
|
|
* @enabled: true if hdmi is enabled else false
|
|
- * @hpd_gpio: hdmi hot plug detect gpio number
|
|
|
|
* @hpd: hot plug detect status
|
|
* @hpd: hot plug detect status
|
|
* @wait_event: wait event
|
|
* @wait_event: wait event
|
|
* @event_received: wait event status
|
|
* @event_received: wait event status
|
|
@@ -57,7 +59,6 @@ struct sti_hdmi {
|
|
u32 irq_status;
|
|
u32 irq_status;
|
|
struct hdmi_phy_ops *phy_ops;
|
|
struct hdmi_phy_ops *phy_ops;
|
|
bool enabled;
|
|
bool enabled;
|
|
- int hpd_gpio;
|
|
|
|
bool hpd;
|
|
bool hpd;
|
|
wait_queue_head_t wait_event;
|
|
wait_queue_head_t wait_event;
|
|
bool event_received;
|
|
bool event_received;
|