diff options
| author | Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com> | 2017-06-13 08:54:47 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-20 06:02:43 -0400 |
| commit | b47b79d8a231d137ec9f9a5bef05f9e2f19a4347 (patch) | |
| tree | 45daae32dc861131d7e1b931fc6aef9cc6e9705e /include/uapi/linux | |
| parent | a45509c080a13a2cd7f3a4f5ab8733f57dd8f1a3 (diff) | |
[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.
Signed-off-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/max2175.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/uapi/linux/max2175.h b/include/uapi/linux/max2175.h new file mode 100644 index 000000000000..3ef5d264440f --- /dev/null +++ b/include/uapi/linux/max2175.h | |||
| @@ -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_ */ | ||
