hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h
....@@ -3,17 +3,24 @@
33
44 struct dw_hdmi;
55
6
+#define CEC_EN BIT(0)
7
+#define CEC_WAKE BIT(1)
8
+
69 struct dw_hdmi_cec_ops {
710 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
811 u8 (*read)(struct dw_hdmi *hdmi, int offset);
912 void (*enable)(struct dw_hdmi *hdmi);
1013 void (*disable)(struct dw_hdmi *hdmi);
14
+ void (*mod)(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned int reg);
1115 };
1216
1317 struct dw_hdmi_cec_data {
1418 struct dw_hdmi *hdmi;
1519 const struct dw_hdmi_cec_ops *ops;
1620 int irq;
21
+ int wake_irq;
1722 };
1823
24
+void dw_hdmi_hpd_wake_up(struct platform_device *pdev);
25
+
1926 #endif