From e3e12f52b214121840b44c91de5b3e5af5d3eb84 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 03:04:41 +0000 Subject: [PATCH] rk3568 rt init --- 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