Re: [PATCH] saa7134: Add support for SnaZio TvPVR PRO

2014-02-09 Thread Antti Palosaari
Moikka! On 10.02.2014 01:44, GEORGE wrote: b/drivers/media/rc/keymaps/rc-snazio-tvpvr-pro.c new file mode 100644 index 000..44f0c81 --- /dev/null +++ b/drivers/media/rc/keymaps/rc-snazio-tvpvr-pro.c @@ -0,0 +1,116 @@ +/* rc-snazio-tvpvr-pro.h - Keytable for snazio_tvpvr_pro Remote Controlle

Re: exynos4 / g2d

2014-02-09 Thread Sachin Kamat
+cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias Jakobi wrote: > Hello! > > I noticed while here > (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/exynos4x12.dtsi?id=3a0d48f6f81459c874165ffb14b310c0b5bb0c58) > the n

cron job: media_tree daily build: WARNINGS

2014-02-09 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Mon Feb 10 04:00:23 CET 2014 git branch: test git hash: 37e59f876bc710d67a30b660826a5e83e07101ce gcc versio

Sehr geehrter Nutzer

2014-02-09 Thread ADMIN
Sehr geehrter Nutzer Ihre E-Mail wurde von 2 GB, die von Webmaster erstellt überschritten wird, können Sie derzeit laufen 2.30GB, kann man nicht senden oder empfangen, neue Nachrichten, bis Sie Ihre account.Complete überprüfen bilden unten, um Ihr Konto zu überprüfen. Bitte füllen Sie die D

Remote RM-KS for Avermedia PCI M733A (saa7134)

2014-02-09 Thread ZRADU
I have this saa7134 card (PCI): 180 -> Avermedia PCI M733A [1461:4155,1461:4255] My card is autodetected as subsystem [1461:4255] It works very well (TV, RADIO, COMPOSITE), except REMOTE. The latest developtment version of the driver gives support only to the RM_K6 remote control This card com

Re: [PATCH] saa7134: Add support for SnaZio TvPVR PRO

2014-02-09 Thread GEORGE
Screenshot with lspci -vnn output: http://imgur.com/RnKkQCj On 10.02.2014 01:44, GEORGE wrote: git clone git://linuxtv.org/media_build.git cd media_build make -C linux/ download make -C linux/ untar git send-email --to "linux-media@vger.kernel.org" 0001-Adding-debugging-level-for-printk.patch

Re: [PATCH] saa7134: Add support for SnaZio TvPVR PRO

2014-02-09 Thread GEORGE
git clone git://linuxtv.org/media_build.git cd media_build make -C linux/ download make -C linux/ untar git send-email --to "linux-media@vger.kernel.org" 0001-Adding-debugging-level-for-printk.patch V One Multimedia Pte Ltd The hardware working: Tested: TV: http://imgur.com/Kz37m9e RADIO:

saa7134 warning during resume from S3

2014-02-09 Thread valerio.va...@inwind.it
[1.] One line summary of the problem: Kernel from 3.12.6 (did not try lower) to 3.13.2 gives a warning during resume from S3 sleep [2.] Full description of the problem/report: It doesn't happen with 2.6.24.7. OS is Debian Lenny, with vanilla kernel. It happens the same after upgrade to Squeeze

Re: [PATCH] media: soc-camera: support deferred probing of clients and OF cameras

2014-02-09 Thread Guennadi Liakhovetski
Hi Bryan, Thanks for reiterating this patch! On Fri, 7 Feb 2014, Bryan Wu wrote: > From: Guennadi Liakhovetski > > Currently soc-camera doesn't work with independently registered I2C client > devices, it has to register them itself. This patch adds support for such > configurations, in which c

Re: [PATCH, RFC 07/30] [media] radio-cadet: avoid interruptible_sleep_on race

2014-02-09 Thread Arnd Bergmann
On Friday 07 February 2014, Hans Verkuil wrote: > OK, let's try again. This patch is getting bigger and bigger, but it is always > nice to know that your ISA card that almost no one else in the world has is > really, > really working well. :-) > > Regards, > > Hans > > Signed-off-by: Ha

Re: [PATCH v2] em28xx: Only deallocate struct em28xx after finishing all extensions

2014-02-09 Thread Mauro Carvalho Chehab
Em Sun, 09 Feb 2014 19:41:09 +0100 Frank Schäfer escreveu: > > Am 15.01.2014 22:13, schrieb Frank Schäfer: > > Am 14.01.2014 18:36, schrieb Mauro Carvalho Chehab: > >> We can't free struct em28xx while one of the extensions is still > >> using it. > >> > >> So, add a kref() to control it, freein

Re: [PATCH 19/28] Remove SI4713

2014-02-09 Thread Richard Weinberger
Am 09.02.2014 20:13, schrieb Hans Verkuil: > On 02/09/2014 07:47 PM, Richard Weinberger wrote: >> The symbol is an orphan, get rid of it. > > NACK. > > It's not an orphan, it's a typo. It should be I2C_SI4713. > > Paul, Richard, let me handle this. I'll make a patch for this tomorrow (I > bel

Re: [PATCH 19/28] Remove SI4713

2014-02-09 Thread Hans Verkuil
On 02/09/2014 07:47 PM, Richard Weinberger wrote: > The symbol is an orphan, get rid of it. NACK. It's not an orphan, it's a typo. It should be I2C_SI4713. Paul, Richard, let me handle this. I'll make a patch for this tomorrow (I believe there was a report about a missing I2C dependency as well

[PATCH 19/28] Remove SI4713

2014-02-09 Thread Richard Weinberger
The symbol is an orphan, get rid of it. Signed-off-by: Richard Weinberger --- drivers/media/radio/si4713/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/radio/si4713/Kconfig b/drivers/media/radio/si4713/Kconfig index a7c3ba8..ed51ed0 100644 --- a/drivers/media/radio/s

Re: [PATCH v2] em28xx: Only deallocate struct em28xx after finishing all extensions

2014-02-09 Thread Frank Schäfer
Am 15.01.2014 22:13, schrieb Frank Schäfer: > Am 14.01.2014 18:36, schrieb Mauro Carvalho Chehab: >> We can't free struct em28xx while one of the extensions is still >> using it. >> >> So, add a kref() to control it, freeing it only after the >> extensions fini calls. >> >> Signed-off-by: Mauro Ca

Re: [PATCH 4/4] em28xx-i2c: remove duplicate error printing code from em28xx_i2c_xfer()

2014-02-09 Thread Frank Schäfer
Am 04.02.2014 19:50, schrieb Mauro Carvalho Chehab: > Em Sun, 19 Jan 2014 22:48:37 +0100 > Frank Schäfer escreveu: > >> Signed-off-by: Frank Schäfer >> --- >> drivers/media/usb/em28xx/em28xx-i2c.c | 11 +++ >> 1 Datei geändert, 3 Zeilen hinzugefügt(+), 8 Zeilen entfernt(-) >> >> diff

Re: [PATCH 3/4] em28xx-i2c: do not map -ENXIO errors to -ENODEV for empty i2c transfers

2014-02-09 Thread Frank Schäfer
Am 04.02.2014 19:47, schrieb Mauro Carvalho Chehab: > Em Sun, 19 Jan 2014 22:48:36 +0100 > Frank Schäfer escreveu: > >> Commit e63b009d6e "" changed the error codes i2c ACK errors from -ENODEV to >> -ENXIO. >> But it also introduced a line that maps -ENXIO back to -ENODEV in case of >> empty i2

Re: [PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Hans Verkuil
On 02/09/2014 06:37 PM, Paul Bolle wrote: > On Sun, 2014-02-09 at 18:04 +0100, Hans Verkuil wrote: >> The i2c module is loaded by v4l2_i2c_new_subdev_board(). > > I see. Thanks. > > But now I wonder: is I2C_SI4713 useful on itself? Would anyone use > si4713.ko without using either radio-usb-si471

Re: [PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Paul Bolle
On Sun, 2014-02-09 at 18:04 +0100, Hans Verkuil wrote: > The i2c module is loaded by v4l2_i2c_new_subdev_board(). I see. Thanks. But now I wonder: is I2C_SI4713 useful on itself? Would anyone use si4713.ko without using either radio-usb-si4713.ko or radio-platform-si4713.ko? Because it seems that

Re: [REVIEW PATCH 00/86] SDR tree

2014-02-09 Thread Anca Emanuel
On Sun, Feb 9, 2014 at 10:48 AM, Antti Palosaari wrote: > That is everything I have on my SDR queue. There is drivers for Mirics > MSi3101 and Realtek RTL2832U based devices. These drivers are still on > staging and I am not going to move those out of staging very soon as I > want get some experim

Re: [PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Hans Verkuil
On 02/09/2014 04:27 PM, Paul Bolle wrote: > Hans, > > On Sun, 2014-02-09 at 16:18 +0100, Hans Verkuil wrote: >> USB_SI4713 and PLATFORM_SI4713 both depend on I2C_SI4713. So the select >> should be I2C_SI4713. > > Are you sure? I've actually scanned si4713.c before submitting this > patch and I co

Re: [PATCH] saa7134: Add support for SnaZio TvPVR PRO

2014-02-09 Thread Anca Emanuel
I will like some proof that you have the hardware working: dmesg, and printscreen. like this: http://imgur.com/KNrfsmv On Sun, Feb 9, 2014 at 6:06 PM, POJAR GEORGE wrote: > From: POJAR GEORGE > > Signed-off-by: POJAR GEORGE > --- > Documentation/video4linux/CARDLIST.saa7134 | 1 + > driv

Re: RFH: Trying to implement support PCTV Quatro Stick 522e

2014-02-09 Thread Antti Palosaari
Moikka Heiko, On 09.02.2014 17:33, Heiko Voigt wrote: Hi, I just purchased a PCTV QuatroStick 522e (2013:025e). Since it is the successor of the 520e I believed that there would probably be Linux support for it, it seems not. ah, first 292e and now that... But I do not want to give up so ea

[PATCH] saa7134: Add support for SnaZio TvPVR PRO

2014-02-09 Thread POJAR GEORGE
From: POJAR GEORGE Signed-off-by: POJAR GEORGE --- Documentation/video4linux/CARDLIST.saa7134 | 1 + drivers/media/pci/saa7134/saa7134-cards.c | 51 ++- drivers/media/pci/saa7134/saa7134-input.c | 62 + drivers/media/pci/saa7134/saa7134.h| 1 +

RFH: Trying to implement support PCTV Quatro Stick 522e

2014-02-09 Thread Heiko Voigt
Hi, I just purchased a PCTV QuatroStick 522e (2013:025e). Since it is the successor of the 520e I believed that there would probably be Linux support for it, it seems not. But I do not want to give up so easily and since there is support for the previous models I would like to have a go at adding

Re: [PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Paul Bolle
Hans, On Sun, 2014-02-09 at 16:18 +0100, Hans Verkuil wrote: > USB_SI4713 and PLATFORM_SI4713 both depend on I2C_SI4713. So the select > should be I2C_SI4713. Are you sure? I've actually scanned si4713.c before submitting this patch and I couldn't find anything in it that these other two modules

Re: [PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Hans Verkuil
On 02/09/2014 03:56 PM, Paul Bolle wrote: > Commits 7391232e1215 ("[media] si4713: Reorganized drivers/media/radio > directory") and b874b39fcd2f ("[media] si4713: Added the USB driver for > Si4713") both added a "select SI4713". But there's no Kconfig symbol > SI4713, so these selects are nops. It

[PATCH] [media] si4713: Remove "select SI4713"

2014-02-09 Thread Paul Bolle
Commits 7391232e1215 ("[media] si4713: Reorganized drivers/media/radio directory") and b874b39fcd2f ("[media] si4713: Added the USB driver for Si4713") both added a "select SI4713". But there's no Kconfig symbol SI4713, so these selects are nops. It's not clear why they were added but it's safe to

[PATCH] [media] v4l: omap4iss: Remove VIDEO_OMAP4_DEBUG

2014-02-09 Thread Paul Bolle
Commit d632dfefd36f ("[media] v4l: omap4iss: Add support for OMAP4 camera interface - Build system") added a Kconfig entry for VIDEO_OMAP4_DEBUG. But nothing uses that symbol. This entry was apparently copied from a similar entry for "OMAP 3 Camera debug messages". But a corresponding Makefile lin

[PATCH 2/2] af9035: Add remaining it913x dual ids to af9035.

2014-02-09 Thread Malcolm Priestley
As follow on to patch af9035: Move it913x single devices to af9035 and patch 1. SNR is reported as db/10 values. All dual ids are added to af9035 and it913x driver disabled. it913x/it913x-fe removal patches to follow. Signed-off-by: Malcolm Priestley --- drivers/media/usb/dvb-usb-v2/af9035.c

[PATCH 1/2] af9035: add default 0x9135 slave I2C address

2014-02-09 Thread Malcolm Priestley
On some devices the vendor has not set EEPROM_2ND_DEMOD_ADDR. Checks tmp is not zero after call to get EEPROM_2ND_DEMOD_ADDR and sets the default slave address of 0x3a on 0x9135 devices. Signed-off-by: Malcolm Priestley --- drivers/media/usb/dvb-usb-v2/af9035.c | 8 1 file changed, 8 i

Re: [PATCH] af9035: Move it913x single devices to af9035

2014-02-09 Thread Antti Palosaari
Moi Malcolm! On 09.02.2014 10:59, Malcolm Priestley wrote: On Sat, 2014-02-08 at 16:11 +, Malcolm Priestley wrote: The generic v1 and v2 devices have been all tested. IDs tested USB_PID_ITETECH_IT9135 v1 & v2 USB_PID_ITETECH_IT9135_9005 v1 USB_PID_ITETECH_IT9135_9006 v2 Current Issues The

Re: Support for Empia 2980 video/audio capture chip set

2014-02-09 Thread pepijn de vos
Hey, I signed up to this list because I found this thread in the archives when googling for a driver for my Dazzle. Unfortunately I can't reply to an email I did not get. Like Keith Lawson I'm a developer with no kernel experience, although I have some experience with C and libusb. I'd be happ

Re: [PATCH RFC 0/2] drivers/base: simplify simple DT-based components

2014-02-09 Thread Russell King - ARM Linux
On Sun, Feb 09, 2014 at 10:22:19AM +0100, Jean-Francois Moine wrote: > On Fri, 7 Feb 2014 20:23:51 + > Russell King - ARM Linux wrote: > > > Here's my changes to the TDA998x driver to add support for the component > > helper. The TDA998x driver retains support for the old way so that > > dri

[REVIEW PATCH 81/86] rtl2832: Fix deadlock on i2c mux select function.

2014-02-09 Thread Antti Palosaari
From: Luis Alves Signed-off-by: Luis Alves Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c index c0366a8..cfc5438 1006

[REVIEW PATCH 61/86] MAINTAINERS: add rtl2832_sdr driver

2014-02-09 Thread Antti Palosaari
Realtek RTL2832 SDR driver. Currently in staging as SDR API is not ready. Signed-off-by: Antti Palosaari --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f03772a..0ed943a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7338,6 +7338,16

[REVIEW PATCH 86/86] e4000: convert to Regmap API

2014-02-09 Thread Antti Palosaari
That comes possible after driver was converted to kernel I2C model (I2C binding & proper I2C client with no gate control hack). All nasty low level I2C routines are now covered by regmap. Also some variable renaming and minor functionality changes. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Sig

[REVIEW PATCH 73/86] msi001: implement .enum_freq_bands()

2014-02-09 Thread Antti Palosaari
Implement .enum_freq_bands() in order to provide VIDIOC_ENUM_FREQ_BANDS IOCTL from sub-device. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/msi001.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/staging/media/msi3101/msi001.

[REVIEW PATCH 68/86] DocBook: document RF tuner bandwidth controls

2014-02-09 Thread Antti Palosaari
Add documentation for RF tuner bandwidth controls. These controls are used to set filters on tuner signal path. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/controls.xml | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation

[REVIEW PATCH 67/86] v4l: reorganize RF tuner control ID numbers

2014-02-09 Thread Antti Palosaari
It appears that controls are ordered by ID number. Change order of controls by reorganizing assigned IDs now as we can. It is not reasonable possible after the API is released. Leave some spare space between IDs too for future extensions. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- incl

[REVIEW PATCH 74/86] msi3101: provide RF tuner bands from sub-device

2014-02-09 Thread Antti Palosaari
Let the msi001 tuner driver report its frequency bands. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 48 + 1 file changed, 15 insertions(+), 33 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/stagin

[REVIEW PATCH 70/86] msi3101: use formats defined in V4L2 API

2014-02-09 Thread Antti Palosaari
Switch new formats V4L2_SDR_FMT_CU8 and V4L2_SDR_FMT_CU16LE as those are now defined in API. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi31

[REVIEW PATCH 77/86] e4000: implement PLL lock v4l control

2014-02-09 Thread Antti Palosaari
Implement PLL lock control to get PLL lock flag status from tuner synthesizer. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/tuners/e4000.c | 53 ++- drivers/media/tuners/e4000_priv.h | 2 ++ 2 files change

[REVIEW PATCH 65/86] e4000: remove .set_config() which was for controls

2014-02-09 Thread Antti Palosaari
That custom DVB callback is not needed anymore for setting gain controls as those are now implemented using V4L2 control framework. That change was proposed by Mauro. Cc: Mauro Carvalho Chehab Signed-off-by: Antti Palosaari --- drivers/media/tuners/e4000.c | 68

[REVIEW PATCH 76/86] v4l: add control for RF tuner PLL lock flag

2014-02-09 Thread Antti Palosaari
Add volatile boolean control to indicate if tuner frequency synthesizer is locked to requested frequency. That means tuner is able to receive given frequency. Control is named as "PLL lock", since frequency synthesizers are based of phase-locked-loop. Maybe more general name could be wise still? C

[REVIEW PATCH 85/86] rtl2832_sdr: do not init tuner when only freq is changed

2014-02-09 Thread Antti Palosaari
Initializing whole tuner every time when frequency is changed is wrong and unnecessary. Init tuner only when streaming is started. Change other parameters runtime. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 25 +++- 1 file changed, 2

[REVIEW PATCH 78/86] DocBook: media: document PLL lock control

2014-02-09 Thread Antti Palosaari
Document PLL lock V4L2 control. It is read only RF tuner control which is used to inform if tuner is receiving frequency or not. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/controls.xml | 9 + 1 file changed, 9 insertion

[REVIEW PATCH 66/86] rtl28xxu: fix switch-case style issue

2014-02-09 Thread Antti Palosaari
Use break, not return, for every case. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index 73348bf..afafe92 100644

[REVIEW PATCH 64/86] rtl2832_sdr: use E4000 tuner controls via V4L framework

2014-02-09 Thread Antti Palosaari
Use V4L2 control framework for E4000 tuner as it provides controls that way now. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 92 +--- 1 file changed, 34 insertions(+), 58 deletions(-) diff

[REVIEW PATCH 84/86] e4000: get rid of DVB i2c_gate_ctrl()

2014-02-09 Thread Antti Palosaari
Gate control is now implemented by rtl2832 I2C adapter so we do not need proprietary DVB i2c_gate_ctrl() anymore. Signed-off-by: Antti Palosaari --- drivers/media/tuners/e4000.c | 106 +-- 1 file changed, 21 insertions(+), 85 deletions(-) diff --git a/dri

[REVIEW PATCH 71/86] rtl2832_sdr: use formats defined in V4L2 API

2014-02-09 Thread Antti Palosaari
Switch new formats V4L2_SDR_FMT_CU8 and V4L2_SDR_FMT_CU16LE as those are now defined in API. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/media/rtl2832u_

[REVIEW PATCH 80/86] rtl2832: add muxed I2C adapter for demod itself

2014-02-09 Thread Antti Palosaari
There was a deadlock between master I2C adapter and muxed I2C adapter. Implement two I2C muxed I2C adapters and leave master alone, just only for offering I2C adapter for these mux adapters. Reported-by: Luis Alves Reported-by: Benjamin Larsson Signed-off-by: Antti Palosaari --- drivers/media/

[REVIEW PATCH 79/86] rtl2832: provide muxed I2C adapter

2014-02-09 Thread Antti Palosaari
RTL2832 provides gated / repeater I2C adapter for tuner. Implement it as a muxed I2C adapter. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/Kconfig| 2 +- drivers/media/dvb-frontends/rtl2832.c | 26 ++ drivers/media/dvb-frontends/rtl2832.h

Re: [PATCH RFC 0/2] drivers/base: simplify simple DT-based components

2014-02-09 Thread Jean-Francois Moine
On Fri, 7 Feb 2014 20:23:51 + Russell King - ARM Linux wrote: > Here's my changes to the TDA998x driver to add support for the component > helper. The TDA998x driver retains support for the old way so that > drivers can be transitioned. For any one DRM "card" the transition to I rewrote th

[REVIEW PATCH 62/86] rtl28xxu: attach SDR module later

2014-02-09 Thread Antti Palosaari
SDR module was attached between demod and tuner. Change it happen after tuner attached. We are going to implement V4L controls for tuner drivers and those controls are loaded during SDR attach. Due to that (tuner controls), tuner driver must be loaded before SDR module. Also as we are here, limit

[REVIEW PATCH 82/86] rtl2832: implement delayed I2C gate close

2014-02-09 Thread Antti Palosaari
Delay possible I2C gate close a little bit in order to see if there is next message coming to tuner in a sequence. Also, export private muxed I2C adapter. That is aimed only for SDR extension module as SDR belongs to same RTL2832 physical I2C bus (it is physically property of RTL2832, whilst it is

[REVIEW PATCH 83/86] rtl28xxu: use muxed RTL2832 I2C adapters for E4000 and RTL2832_SDR

2014-02-09 Thread Antti Palosaari
RTL2832 driver provides muxed I2C adapters for tuner bus I2C gate control. Pass those adapters to rtl2832_sdr and e4000 modules in order to get rid of proprietary DVB .i2c_gate_ctrl() callback use. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 12 ++-- driv

[REVIEW PATCH 72/86] v4l: add enum_freq_bands support to tuner sub-device

2014-02-09 Thread Antti Palosaari
Add VIDIOC_ENUM_FREQ_BANDS, enumerate supported frequency bands, IOCTL support for sub-device tuners too. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- include/media/v4l2-subdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h

[REVIEW PATCH 75/86] r820t/rtl2832u_sdr: implement gains using v4l2 controls

2014-02-09 Thread Antti Palosaari
Implement gain controls using v4l2 control framework. Pointer to control handler is provided by exported symbol. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/tuners/r820t.c | 175 ++- drivers/media/tuners/r8

[REVIEW PATCH 69/86] v4l: uapi: add SDR formats CU8 and CU16LE

2014-02-09 Thread Antti Palosaari
V4L2_SDR_FMT_CU8 — Complex unsigned 8-bit IQ sample V4L2_SDR_FMT_CU16LE — Complex unsigned 16-bit little endian IQ sample Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- include/uapi/linux/videodev2.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/videodev2.h b/i

[REVIEW PATCH 63/86] e4000: implement controls via v4l2 control framework

2014-02-09 Thread Antti Palosaari
Implement gain and bandwidth controls using v4l2 control framework. Pointer to control handler is provided by exported symbol. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/tuners/e4000.c | 210 +- drivers/m

[REVIEW PATCH 60/86] MAINTAINERS: add msi3101 driver

2014-02-09 Thread Antti Palosaari
Mirics MSi2500 (MSi3101) SDR ADC + USB interface driver. Currently in staging as SDR API is not ready. Signed-off-by: Antti Palosaari --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 15ebabb..f03772a 100644 --- a/MAINTAINERS +++ b/MA

[REVIEW PATCH 57/86] msi001: Mirics MSi001 silicon tuner driver

2014-02-09 Thread Antti Palosaari
That RF tuner driver is bound via SPI bus model and it implements V4L subdev API. I split it out from MSi3101 SDR driver. MSi3101 = MSi2500 + MSi001. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/Kconfig | 4 + drivers/staging/media/msi3101/Makefile | 1 + drivers/staging

[REVIEW PATCH 54/86] v4l: add RF tuner channel bandwidth control

2014-02-09 Thread Antti Palosaari
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 frequen

[REVIEW PATCH 52/86] DocBook: media: document V4L2_CTRL_CLASS_RF_TUNER

2014-02-09 Thread Antti Palosaari
It is class for RF tuner specific controls, like gain controls, filters, signal strength. Cc: Hans Verkuil Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/me

[REVIEW PATCH 55/86] msi3101: implement tuner bandwidth control

2014-02-09 Thread Antti Palosaari
Implement control that user could adjust tuner filters manually, if he wish. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 44 ++--- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi310

[REVIEW PATCH 58/86] msi3101: use msi001 tuner driver

2014-02-09 Thread Antti Palosaari
Remove MSi001 RF tuner related code as MSi001 functionality is moved to own driver. Implement SPI master adapter. Attach MSi001 driver via SPI / V4L subdev framework. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/Kconfig | 3 +- drivers/staging/media/msi3101/sdr-msi3

Re: [PATCH] af9035: Move it913x single devices to af9035

2014-02-09 Thread Malcolm Priestley
On Sat, 2014-02-08 at 16:11 +, Malcolm Priestley wrote: > The generic v1 and v2 devices have been all tested. > > IDs tested > USB_PID_ITETECH_IT9135 v1 & v2 > USB_PID_ITETECH_IT9135_9005 v1 > USB_PID_ITETECH_IT9135_9006 v2 > > Current Issues > There is no signal on > USB_PID_ITETECH_IT9135

[REVIEW PATCH 50/86] DocBook: V4L: add V4L2_SDR_FMT_CU8 - 'CU08'

2014-02-09 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU8 SDR format. It is complex unsigned 8-bit IQ sample. Used by software defined radio devices. Cc: Hans Verkuil Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil --- .../DocBook/media/v4l/pixfmt-sdr-cu08.xml | 44 ++ Documentation/DocBook

[REVIEW PATCH 51/86] DocBook: V4L: add V4L2_SDR_FMT_CU16LE - 'CU16'

2014-02-09 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU16LE format. It is complex unsigned 16-bit little endian IQ sample. Used by software defined radio devices. Cc: Hans Verkuil Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil --- .../DocBook/media/v4l/pixfmt-sdr-cu16le.xml| 46 ++ Documen

[REVIEW PATCH 56/86] rtl2832_sdr: implement tuner bandwidth control

2014-02-09 Thread Antti Palosaari
Implement control that user could adjust tuner filters manually, if he wish. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 71 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl28

[REVIEW PATCH 53/86] xc2028: silence compiler warnings

2014-02-09 Thread Antti Palosaari
There is now new tuner types which are not handled on that switch-case. Print error if unknown tuner type is meet. drivers/media/tuners/tuner-xc2028.c: In function ‘generic_set_freq’: drivers/media/tuners/tuner-xc2028.c:1037:2: warning: enumeration value ‘V4L2_TUNER_ADC’ not handled in switch [-W

[REVIEW PATCH 00/86] SDR tree

2014-02-09 Thread Antti Palosaari
That is everything I have on my SDR queue. There is drivers for Mirics MSi3101 and Realtek RTL2832U based devices. These drivers are still on staging and I am not going to move those out of staging very soon as I want get some experiments first. That set is available via Git: http://git.linuxtv.or

[REVIEW PATCH 01/86] rtl2832_sdr: Realtek RTL2832 SDR driver module

2014-02-09 Thread Antti Palosaari
Implement SDR driver for Realtek RTL2832U chip as a DVB extension module. SDR module is attached by DVB USB RTL28XXU driver as a DVB SEC (satellite equipment controller) module. Abusing unused SEC here has no harm as that is DVB-T only frontend. SDR functionality is provided by RTL2832 DVB-T demod

[REVIEW PATCH 13/86] rtl2832_sdr: implement FMT IOCTLs

2014-02-09 Thread Antti Palosaari
VIDIOC_ENUM_FMT, VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT. Return stream according to FMT. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 125 ++- 1 file changed, 75 insertions(+), 50 deletions(-) diff --git a/drivers/staging/media

[REVIEW PATCH 04/86] rtl2832_sdr: initial support for R820T tuner

2014-02-09 Thread Antti Palosaari
Use tuner via internal DVB API. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 84 +++- 1 file changed, 53 insertions(+), 31 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/staging/media/rtl2832u_sd

[REVIEW PATCH 14/86] msi3101: add signed 8-bit pixel format for SDR

2014-02-09 Thread Antti Palosaari
It is 8-bit unsigned data, byte after byte. Used for streaming SDR I/Q data from ADC. V4L2_PIX_FMT_SDR_S8, v4l fourcc "DS08". Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/media/msi3101/sdr-ms

[REVIEW PATCH 15/86] msi3101: implement FMT IOCTLs

2014-02-09 Thread Antti Palosaari
VIDIOC_ENUM_FMT, VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT. Implement 8-bit signed stream (type '504' samples per USB packet) using FMT. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 165 +--- 1 file changed, 123 insertions(+), 42 d

[REVIEW PATCH 07/86] rtl2832_sdr: initial support for FC0012 tuner

2014-02-09 Thread Antti Palosaari
Use tuner via internal DVB API. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c index

[REVIEW PATCH 05/86] rtl2832_sdr: use get_if_frequency()

2014-02-09 Thread Antti Palosaari
Get IF from tuner and use it. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 60 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/staging/media/rtl2832u_sdr/r

[REVIEW PATCH 11/86] rtl2832: style changes and minor cleanup

2014-02-09 Thread Antti Palosaari
Most of those were reported by checkpatch.pl... debug module parameter is not used anywhere so remove it. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832.c | 26 +++- drivers/media/dvb-frontends/rtl2832.h | 2 +- drivers/media/dvb-frontends/rtl2832_

[REVIEW PATCH 06/86] rtl2832_sdr: implement sampling rate

2014-02-09 Thread Antti Palosaari
Now it is possible to set desired sampling rate via v4l2 controls. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/dr

[REVIEW PATCH 34/86] msi3101: improve ADC config stream format selection

2014-02-09 Thread Antti Palosaari
Improve ADC config stream format selection. No functional changes. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 37 + 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/dri

[REVIEW PATCH 32/86] msi3101: calculate tuner filters

2014-02-09 Thread Antti Palosaari
Calculate tuner filters from sampling rate and use it if not defined manually. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/driver

[REVIEW PATCH 30/86] rtl2832_sdr: remove FMT buffer type checks

2014-02-09 Thread Antti Palosaari
Remove unneeded buffer type checks from FMT IOTCL handlers. Checks are already done by V4L core. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/dri

[REVIEW PATCH 29/86] rtl2832_sdr: improve ADC device programming logic

2014-02-09 Thread Antti Palosaari
Refactor and implement properly RTL2832 programming logic. Implement some things more correctly. Restore some critical registers to POR default state, making it possible to use it as a DVB-T device without resetting or replugging. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u

[REVIEW PATCH 28/86] rtl2832_sdr: clamp ADC frequency to valid range always

2014-02-09 Thread Antti Palosaari
V4L2 tuner API says incorrect value should be round to nearest legal value. Implement it for ADC frequency setting. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/dr

[REVIEW PATCH 21/86] rtl2832_sdr: convert to SDR API

2014-02-09 Thread Antti Palosaari
It was abusing video device API. Use SDR API instead. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 387 +-- 1 file changed, 223 insertions(+), 164 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/s

[REVIEW PATCH 36/86] msi3101: disable all but u8 and u16le formats

2014-02-09 Thread Antti Palosaari
As for now, better to support only two general stream formats. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index 2b8

[REVIEW PATCH 24/86] msi3101: add u16 LE sample format

2014-02-09 Thread Antti Palosaari
Add unsigned 16-bit little endian sample format. That stream format is scaled from hardware 14-bit signed value. That is best known sampling resolution that MSi2500 ADC provides. It is not guaranteed to be little endian, but host endian which is usually little endian - room for improvement. Signe

[REVIEW PATCH 19/86] rtl28xxu: add module parameter to disable IR

2014-02-09 Thread Antti Palosaari
Disable IR interrupts in order to avoid SDR sample loss. IR interrupts causes some extra load for device and it seems be one reason to loss samples when sampling rate is high. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 7 +++ 1 file changed, 7 insertions(+)

[REVIEW PATCH 17/86] msi3101: move format 336 conversion to libv4lconvert

2014-02-09 Thread Antti Palosaari
Move format 384 conversion to libv4lconvert as a fourcc "DS12". It is 12-bit sample pairs packed to 3 bytes. msi3101: move format 336 conversion 336 to libv4l Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 66 +++-- 1 file changed, 24 in

[REVIEW PATCH 26/86] rtl2832_sdr: return NULL on rtl2832_sdr_attach failure

2014-02-09 Thread Antti Palosaari
dvb_attach() expects NULL on attach failure. Do some style changes also while we are here. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 50 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/staging/media/rtl2

[REVIEW PATCH 31/86] rtl2832_sdr: switch FM to DAB mode

2014-02-09 Thread Antti Palosaari
It seems to perform a little bit better on weak signals when mode is DAB. It looks like weak signals are faded out by squelch(?) in FM mode as voice was silenced under one sec when tuned to weak FM station. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 4 +

[REVIEW PATCH 16/86] msi3101: move format 384 conversion to libv4lconvert

2014-02-09 Thread Antti Palosaari
Move format 384 conversion to libv4lconvert as a fourcc "M384". Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 163 ++-- 1 file changed, 57 insertions(+), 106 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drive

[REVIEW PATCH 25/86] msi3101: tons of small changes

2014-02-09 Thread Antti Palosaari
* remove unneeded controls * rename things * remove unneeded callbacks * use likely/unlikely on hot paths * use 1Hz resolution for tuner RF frequency Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 214 +++- 1 file changed, 55 insertions(+

[REVIEW PATCH 22/86] msi3101: convert to SDR API

2014-02-09 Thread Antti Palosaari
Convert to SDR API. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 218 ++-- 1 file changed, 142 insertions(+), 76 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index

[REVIEW PATCH 37/86] v4l: add RF tuner gain controls

2014-02-09 Thread Antti Palosaari
Modern silicon RF tuners used nowadays has many controllable gain stages on signal path. Usually, but not always, there is at least 3 gain stages. Also on some cases there could be multiple gain stages within the ones specified here. However, I think that having these three controllable gain stages

[REVIEW PATCH 27/86] rtl2832_sdr: calculate bandwidth if not set by user

2014-02-09 Thread Antti Palosaari
Calculate bandwidth from sampling rate if it is not set by user. Signed-off-by: Antti Palosaari --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c b/drivers/staging/

[REVIEW PATCH 33/86] msi3101: remove FMT buffer type checks

2014-02-09 Thread Antti Palosaari
Remove unneeded buffer type checks from FMT IOTCL handlers. Checks are already done by V4L core. Signed-off-by: Antti Palosaari --- drivers/staging/media/msi3101/sdr-msi3101.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/stagi

  1   2   >