mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 13:16:43 +07:00
b30cc07de8
Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses existing ones, thus reduces some code. It adds some features to gl861, to support the friio-specific init/config of the devices and implement i2c communications to the tuner via demod with USB vendor requests. [mchehab+samsung@kernel.org: fix merge conflicts] Signed-off-by: Akihiro Tsukada <tskd08@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
15 lines
270 B
C
15 lines
270 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _DVB_USB_GL861_H_
|
|
#define _DVB_USB_GL861_H_
|
|
|
|
#include "dvb_usb.h"
|
|
|
|
#define GL861_WRITE 0x40
|
|
#define GL861_READ 0xc0
|
|
|
|
#define GL861_REQ_I2C_WRITE 0x01
|
|
#define GL861_REQ_I2C_READ 0x02
|
|
#define GL861_REQ_I2C_RAW 0x03
|
|
|
|
#endif
|