upstream: [media] v4l: add RF tuner channel bandwidth control
authorAntti Palosaari <crope@iki.fi>
Sat, 1 Feb 2014 02:36:13 +0000 (23:36 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:01 +0000 (11:55 +0900)
commit5d7939bc9372790bf7f15f452a3801a3bdf2abfb
tree19ddb2e8c8aaf8a9d73d3a7eff9eda3998020f10
parentefbdde5c220558cbcd61f89198a01a5c9d28b904
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>
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h