Em Mon, 10 Mar 2014 12:01:28 +0200 Antti Palosaari <crope@xxxxxx> escreveu: > On 05.03.2014 20:49, Mauro Carvalho Chehab wrote: > > Em Thu, 27 Feb 2014 02:22:06 +0200 > > Antti Palosaari <crope@xxxxxx> escreveu: > > > >> Add documentation for RF tuner bandwidth controls. These controls are > >> used to set filters on tuner signal path. > >> > >> Cc: Hans Verkuil <hverkuil@xxxxxxxxx> > >> Signed-off-by: Antti Palosaari <crope@xxxxxx> > >> --- > >> Documentation/DocBook/media/v4l/controls.xml | 19 +++++++++++++++++++ > >> 1 file changed, 19 insertions(+) > >> > >> diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml > >> index 6c9dbf6..5550fea 100644 > >> --- a/Documentation/DocBook/media/v4l/controls.xml > >> +++ b/Documentation/DocBook/media/v4l/controls.xml > >> @@ -5007,6 +5007,25 @@ descriptor. Calling &VIDIOC-QUERYCTRL; for this control will return a > >> description of this control class.</entry> > >> </row> > >> <row> > >> + <entry spanname="id"><constant>V4L2_CID_RF_TUNER_BANDWIDTH_AUTO</constant> </entry> > >> + <entry>boolean</entry> > >> + </row> > >> + <row> > >> + <entry spanname="descr">Enables/disables tuner radio channel > >> +bandwidth configuration. In automatic mode bandwidth configuration is performed > >> +by the driver.</entry> > >> + </row> > >> + <row> > >> + <entry spanname="id"><constant>V4L2_CID_RF_TUNER_BANDWIDTH</constant> </entry> > >> + <entry>integer</entry> > >> + </row> > >> + <row> > >> + <entry spanname="descr">Filter(s) on tuner signal path are used to > >> +filter signal according to receiving party needs. Driver configures filters to > >> +fulfill desired bandwidth requirement. Used when V4L2_CID_RF_TUNER_BANDWIDTH_AUTO is not > >> +set. The range and step are driver-specific.</entry> > > > > Huh? If this is enable/disable, why "the range and step are driver-specific"? > > Because there is two controls grouped. That is situation of having > AUTO/MANUAL. > V4L2_CID_RF_TUNER_BANDWIDTH_AUTO > V4L2_CID_RF_TUNER_BANDWIDTH > > V4L2_CID_RF_TUNER_BANDWIDTH is valid only when > V4L2_CID_RF_TUNER_BANDWIDTH_AUTO == false. > Sorry, but I'm not understanding what you're arguing. Yeah, it is clear at the patch that there are two controls, and that V4L2_CID_RF_TUNER_BANDWIDTH is valid only when AUTO is disabled, but this doesn't answer my question: Why V4L2_CID_RF_TUNER_BANDWIDTH's range and step are driver-specific? -- Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html