aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/mxl692.h
diff options
context:
space:
mode:
authorGravatar Brad Love <brad@nextdimension.cc> 2021-01-26 02:54:13 +0100
committerGravatar Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2021-02-05 23:37:59 +0100
commitb53f2fa136b1b20f03184f4a98fea75eb2705eac (patch)
treed83ce886c4d7fe584ad3e4ac7f06249ce123a81b /drivers/media/dvb-frontends/mxl692.h
parentMerge tag 'v5.11-rc6' into patchwork (diff)
downloadlinux-b53f2fa136b1b20f03184f4a98fea75eb2705eac.tar.gz
linux-b53f2fa136b1b20f03184f4a98fea75eb2705eac.tar.bz2
linux-b53f2fa136b1b20f03184f4a98fea75eb2705eac.zip
media: mxl692: MaxLinear 692 ATSC demod/tuner driver
MaxLinear 692 is a combo demod/tuner which has ATSC and QAM capabilities. Only ATSC is currently advertised via DVB properties. QAM still has issues. Confirmed working on both big and little endian. Big endian verified on PowerPC Mac mini. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/mxl692.h')
-rw-r--r--drivers/media/dvb-frontends/mxl692.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mxl692.h b/drivers/media/dvb-frontends/mxl692.h
new file mode 100644
index 000000000000..45bc48f1f12f
--- /dev/null
+++ b/drivers/media/dvb-frontends/mxl692.h
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Driver for the MaxLinear MxL69x family of tuners/demods
+ *
+ * Copyright (C) 2020 Brad Love <brad@nextdimension.cc>
+ *
+ * based on code:
+ * Copyright (c) 2016 MaxLinear, Inc. All rights reserved
+ * which was released under GPL V2
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _MXL692_H_
+#define _MXL692_H_
+
+#include <media/dvb_frontend.h>
+
+#define MXL692_FIRMWARE "dvb-demod-mxl692.fw"
+
+struct mxl692_config {
+ unsigned char id;
+ u8 i2c_addr;
+ /*
+ * frontend
+ * returned by driver
+ */
+ struct dvb_frontend **fe;
+};
+
+#endif /* _MXL692_H_ */