History

[media] media: i2c: max2175: Add MAX2175 support

This patch adds driver support for the MAX2175 chip. This is Maxim Integrated's RF to Bits tuner front end chip designed for software-defined radio solutions. This driver exposes the tuner as a sub-device instance with standard and custom controls to configure the device.

Ramesh Shanmugasundaram committed 9 years ago

Commit b47b79d1 parent a45509c7 files · +1667 −0Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/max2175.h+28−0
@@ -0,0 +1,28 @@
1+/*
2+ * max2175.h
3+ *
4+ * Maxim Integrated MAX2175 RF to Bits tuner driver - user space header file.
5+ *
6+ * Copyright (C) 2016 Maxim Integrated Products
7+ * Copyright (C) 2017 Renesas Electronics Corporation
8+ *
9+ * This program is free software; you can redistribute it and/or modify
10+ * it under the terms of the GNU General Public License version 2
11+ * as published by the Free Software Foundation.
12+ *
13+ * This program is distributed in the hope that it will be useful,
14+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+ * GNU General Public License for more details.
17+ */
18+
19+#ifndef __UAPI_MAX2175_H_
20+#define __UAPI_MAX2175_H_
21+
22+#include <linux/v4l2-controls.h>
23+
24+#define V4L2_CID_MAX2175_I2S_ENABLE (V4L2_CID_USER_MAX217X_BASE + 0x01)
25+#define V4L2_CID_MAX2175_HSLS (V4L2_CID_USER_MAX217X_BASE + 0x02)
26+#define V4L2_CID_MAX2175_RX_MODE (V4L2_CID_USER_MAX217X_BASE + 0x03)
27+
28+#endif /* __UAPI_MAX2175_H_ */