public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* V4L2 SDR compliance test?
@ 2016-05-09  9:00 Ramesh Shanmugasundaram
       [not found] ` <20160509074729.01385647@recife.lan>
  0 siblings, 1 reply; 4+ messages in thread
From: Ramesh Shanmugasundaram @ 2016-05-09  9:00 UTC (permalink / raw)
  To: linux-media@vger.kernel.org; +Cc: linux-renesas-soc@vger.kernel.org

Hi Maintainers, All,

Renesas R-Car SoCs have Digital Radio Interface (DRIF) controllers. They are 
receive only SPI slave modules that support I2S format. The targeted
application of these controllers is SDR.

While evaluating the V4L2 SDR framework for this controller, we noticed the 
compliance test demands TUNER ioctls for SDR device. As a SoC controller,
DRIF is independent of tuner functionality as a third party provides this
device. The DRIF driver will support V4L2_CID_xxx & V4L2_SDR_FMT_xxx ioctls
but not the tuner ioctls.

Two possible cases:
-------------------
1) Third party tuner driver
	- The framework does provide support to register tuner as a subdev
and can be bound to the SDR device using notifier callbacks

2) User space Tuner app 
	- We also have cases where the tuner s/w logic can be a vendor
supplied user space application or library that talks to the chip using generic
system calls - like i2c read/writes.

The DRIF driver code as such will have v4l2_async_notifier_register only to be
informed if a tuner device attaches. But this may or may not happen
depending on the target board.

>From upstream V4L2 SDR driver perspective, these DRIF patches will FAIL
V4L2 compliance tests (a criteria needed to submit fresh driver patches).

Questions are 
1) Is this approach acceptable to the maintainers?
2) Should the SDR compliance tests be updated for these evolving use cases?
------------------

Thanks,
Ramesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-10  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09  9:00 V4L2 SDR compliance test? Ramesh Shanmugasundaram
     [not found] ` <20160509074729.01385647@recife.lan>
2016-05-09 13:59   ` Ramesh Shanmugasundaram
2016-05-09 15:17     ` Mauro Carvalho Chehab
2016-05-10  6:15       ` Ramesh Shanmugasundaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox