Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) Rockchip Electronics Co.Ltd
 * Author:
 *      Algea Cao <algea.cao@rock-chips.com>
 */
#ifndef DW_HDMI_QP_CEC_H
#define DW_HDMI_QP_CEC_H

struct dw_hdmi_qp;

struct dw_hdmi_qp_cec_ops {
	void (*enable)(struct dw_hdmi_qp *hdmi);
	void (*disable)(struct dw_hdmi_qp *hdmi);
	void (*write)(struct dw_hdmi_qp *hdmi, u32 val, int offset);
	u32 (*read)(struct dw_hdmi_qp *hdmi, int offset);
};

struct dw_hdmi_qp_cec_data {
	struct dw_hdmi_qp *hdmi;
	const struct dw_hdmi_qp_cec_ops *ops;
	int irq;
};

#endif