summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-01-31 23:36:13 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:55:01 +0900
commit5d7939bc9372790bf7f15f452a3801a3bdf2abfb (patch)
tree19ddb2e8c8aaf8a9d73d3a7eff9eda3998020f10 /include/uapi
parentefbdde5c220558cbcd61f89198a01a5c9d28b904 (diff)
downloadlinux-3.10-5d7939bc9372790bf7f15f452a3801a3bdf2abfb.tar.gz
linux-3.10-5d7939bc9372790bf7f15f452a3801a3bdf2abfb.tar.bz2
linux-3.10-5d7939bc9372790bf7f15f452a3801a3bdf2abfb.zip
upstream: [media] v4l: add RF tuner channel bandwidth control
Modern silicon RF tuners has one or more adjustable filters on signal path, in order to filter noise from desired radio channel. Add channel bandwidth control to tell the driver which is radio channel width we want receive. Filters could be then adjusted by the driver or hardware, using RF frequency and channel bandwidth as a base of filter calculations. On automatic mode (normal mode), bandwidth is calculated from sampling rate or tuning info got from userspace. That new control gives possibility to set manual mode and let user have more control for filters. Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/v4l2-controls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index 58a8a348062..d0277188e85 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -901,5 +901,7 @@ enum v4l2_deemphasis {
#define V4L2_CID_RF_TUNER_MIXER_GAIN (V4L2_CID_RF_TUNER_CLASS_BASE + 4)
#define V4L2_CID_RF_TUNER_IF_GAIN_AUTO (V4L2_CID_RF_TUNER_CLASS_BASE + 5)
#define V4L2_CID_RF_TUNER_IF_GAIN (V4L2_CID_RF_TUNER_CLASS_BASE + 6)
+#define V4L2_CID_RF_TUNER_BANDWIDTH_AUTO (V4L2_CID_RF_TUNER_CLASS_BASE + 7)
+#define V4L2_CID_RF_TUNER_BANDWIDTH (V4L2_CID_RF_TUNER_CLASS_BASE + 8)
#endif