From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h b/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h
index cf4dc12..ec10660 100644
--- a/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h
+++ b/kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h
@@ -3,17 +3,24 @@
struct dw_hdmi;
+#define CEC_EN BIT(0)
+#define CEC_WAKE BIT(1)
+
struct dw_hdmi_cec_ops {
void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
u8 (*read)(struct dw_hdmi *hdmi, int offset);
void (*enable)(struct dw_hdmi *hdmi);
void (*disable)(struct dw_hdmi *hdmi);
+ void (*mod)(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned int reg);
};
struct dw_hdmi_cec_data {
struct dw_hdmi *hdmi;
const struct dw_hdmi_cec_ops *ops;
int irq;
+ int wake_irq;
};
+void dw_hdmi_hpd_wake_up(struct platform_device *pdev);
+
#endif
--
Gitblit v1.6.2