Re: [PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Hans Verkuil
On 07/15/2014 04:35 AM, Antti Palosaari wrote: > On 07/14/2014 11:01 PM, Hans Verkuil wrote: >> On 07/14/2014 09:55 PM, Antti Palosaari wrote: >>> I actually ran v4l2-compliance and there was problem with ADC band >>> enumeration. v4l2-compliance didn't liked as ADC freq was just 20MHz, >>> both up

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The CPB size is limited by the hardware. Add this limit to the s_fmt. Signed-off-by: panpan liu --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) mode change 100644 => 100755 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c diff --

cron job: media_tree daily build: OK

2014-07-14 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: Tue Jul 15 04:00:22 CEST 2014 git branch: test git hash: 3c0d394ea7022bb9666d9df97a5776c4bcc3045c gcc versi

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Antti Palosaari
On 07/14/2014 11:01 PM, Hans Verkuil wrote: On 07/14/2014 09:55 PM, Antti Palosaari wrote: I actually ran v4l2-compliance and there was problem with ADC band enumeration. v4l2-compliance didn't liked as ADC freq was just 20MHz, both upper and lower limit. Due to that I added even small hack to d

[PATCH 14/18] msi2500: print notice to point SDR API is not 100% stable yet

2014-07-14 Thread Antti Palosaari
SDR API is very new and surprises may occur. Due to that print notice to remind possible users. Signed-off-by: Antti Palosaari --- drivers/media/usb/msi2500/msi2500.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c

[PATCH 09/18] Kconfig: add SDR support

2014-07-14 Thread Antti Palosaari
Add software defined radio device support for media Kconfig. Signed-off-by: Antti Palosaari --- drivers/media/Kconfig | 11 +-- drivers/media/usb/Kconfig | 4 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 1d0

[PATCH 10/18] Kconfig: sub-driver auto-select SPI bus

2014-07-14 Thread Antti Palosaari
Mirics MSi001 and MSi2500 drivers uses SPI bus. Due to that we need auto-select it too. Signed-off-by: Antti Palosaari --- drivers/media/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 3c89fcb..f60bad4 100644 --- a/drivers/media/Kco

[PATCH 13/18] msi2500: change supported formats

2014-07-14 Thread Antti Palosaari
Enable two native formats, V4L2_SDR_FMT_CS8 and V4L2_SDR_FMT_CS14LE. Move emulated formats behind module parameter. Signed-off-by: Antti Palosaari --- drivers/media/usb/msi2500/msi2500.c | 44 + 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/d

[PATCH 12/18] MAINTAINERS: update MSI3101 / MSI2500 driver location

2014-07-14 Thread Antti Palosaari
MSi3101 driver is moved out of staging and renamed. Signed-off-by: Antti Palosaari --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e0bd8b0..798c138 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5893,7 +5893,7 @@ T:g

[PATCH 18/18] MAINTAINERS: update RTL2832_SDR location

2014-07-14 Thread Antti Palosaari
It is moved out of staging to media. Signed-off-by: Antti Palosaari --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 798c138..b5b4c43 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7478,7 +7478,7 @@ W:http://palosaari.fi/

[PATCH 07/18] msi001: move out of staging

2014-07-14 Thread Antti Palosaari
Move MSi001 driver from staging to drivers/media/tuners/. Signed-off-by: Antti Palosaari --- drivers/media/tuners/Kconfig | 6 + drivers/media/tuners/Makefile | 1 + drivers/media/tuners/msi001.c | 500 + drivers/staging/media/msi31

[PATCH 16/18] rtl2832_sdr: put complex U16 format behind module parameter

2014-07-14 Thread Antti Palosaari
Move emulated format behind module parameter as those are not supported. Format conversions will be on library eventually. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832_sdr.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/

[PATCH 17/18] rtl2832_sdr: print notice to point SDR API is not 100% stable yet

2014-07-14 Thread Antti Palosaari
SDR API is very new and surprises may occur. Due to that print notice to remind possible users. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/rtl2832_sdr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/dvb-frontends/rtl2832_sdr.c b/drivers/media/dvb-front

[PATCH 08/18] MAINTAINERS: update MSI001 driver location

2014-07-14 Thread Antti Palosaari
Signed-off-by: Antti Palosaari --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6b7c633..e0bd8b0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5891,7 +5891,7 @@ W:http://palosaari.fi/linux/ Q: http://patchwork.linuxt

[PATCH 05/18] v4l: uapi: add SDR format CS14

2014-07-14 Thread Antti Palosaari
V4L2_SDR_FMT_CS14LE - Complex signed 14-bit IQ sample Signed-off-by: Antti Palosaari --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index e1ac240..25ab057 100644 --- a/include/uapi/linux/video

[PATCH 01/18] v4l: uapi: add SDR format RU12LE

2014-07-14 Thread Antti Palosaari
V4L2_SDR_FMT_RU12LE - Real unsigned 12-bit little endian sample inside 16-bit (2 byte). V4L2 FourCC: RU12. Signed-off-by: Antti Palosaari --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 1

[PATCH 03/18] v4l: uapi: add SDR format CS8

2014-07-14 Thread Antti Palosaari
V4L2_SDR_FMT_CS8 - Complex signed 8-bit IQ sample Signed-off-by: Antti Palosaari --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 3cb60f6..e1ac240 100644 --- a/include/uapi/linux/videodev2

[PATCH 02/18] DocBook: V4L: add V4L2_SDR_FMT_RU12LE - 'RU12'

2014-07-14 Thread Antti Palosaari
Document V4L2_SDR_FMT_RU12LE format. It is real unsigned 12-bit little endian sample inside 16-bit space. Used by software defined radio devices. Signed-off-by: Antti Palosaari --- .../DocBook/media/v4l/pixfmt-sdr-ru12le.xml| 40 ++ Documentation/DocBook/media/v4l/pix

[PATCH 06/18] DocBook: V4L: add V4L2_SDR_FMT_CS14LE - 'CS14'

2014-07-14 Thread Antti Palosaari
V4L2_SDR_FMT_CS14LE is complex signed 14-bit sample format, used for software defined radio devices. Signed-off-by: Antti Palosaari --- .../DocBook/media/v4l/pixfmt-sdr-cs14le.xml| 47 ++ Documentation/DocBook/media/v4l/pixfmt.xml | 1 + 2 files changed, 48 i

[PATCH 04/18] DocBook: V4L: add V4L2_SDR_FMT_CS8 - 'CS08'

2014-07-14 Thread Antti Palosaari
V4L2_SDR_FMT_CS8 is complex signed 8-bit sample format, used for software defined radio devices. Signed-off-by: Antti Palosaari --- .../DocBook/media/v4l/pixfmt-sdr-cs08.xml | 44 ++ Documentation/DocBook/media/v4l/pixfmt.xml | 1 + 2 files changed, 45 inser

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Hans Verkuil
On 07/14/2014 09:55 PM, Antti Palosaari wrote: > Moikka Hans! > > On 07/14/2014 10:34 PM, Hans Verkuil wrote: >> On 07/14/2014 09:27 PM, Antti Palosaari wrote: >>> AirSpy SDR driver. >>> >>> Thanks to Youssef Touil and Benjamin Vernoux for support, help and >>> hardware! >>> http://airspy.com/ >>>

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Antti Palosaari
Moikka Hans! On 07/14/2014 10:34 PM, Hans Verkuil wrote: On 07/14/2014 09:27 PM, Antti Palosaari wrote: AirSpy SDR driver. Thanks to Youssef Touil and Benjamin Vernoux for support, help and hardware! http://airspy.com/ Signed-off-by: Antti Palosaari --- drivers/staging/media/Kconfig

Re: [PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Hans Verkuil
On 07/14/2014 09:27 PM, Antti Palosaari wrote: > AirSpy SDR driver. > > Thanks to Youssef Touil and Benjamin Vernoux for support, help and > hardware! > http://airspy.com/ > > Signed-off-by: Antti Palosaari > --- > drivers/staging/media/Kconfig |1 + > drivers/staging/media/Makefile

[PATCH] airspy: AirSpy SDR driver

2014-07-14 Thread Antti Palosaari
AirSpy SDR driver. Thanks to Youssef Touil and Benjamin Vernoux for support, help and hardware! http://airspy.com/ Signed-off-by: Antti Palosaari --- drivers/staging/media/Kconfig |1 + drivers/staging/media/Makefile|1 + drivers/staging/media/airspy/Kconfig |5 + d

Re: [GIT PULL] si2157, si2168, cxusb, TechnoTrend TVStick CT2-4400

2014-07-14 Thread Antti Palosaari
Minor PULL request update, new tags added. The following changes since commit 3445857b22eafb70a6ac258979e955b116bfd2c6: [media] hdpvr: fix two audio bugs (2014-07-04 15:13:02 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git silabs for you to fetch cha

Re: [PATCH 14/18] cxusb: TechnoTrend CT2-4400 USB DVB-T2/C tuner support

2014-07-14 Thread Antti Palosaari
On 07/14/2014 08:19 PM, Michael Ira Krufky wrote: Reviewed-by: Michael Ira Krufky I assume you'll merge this via your own branch? ...I've been traveling on & off for the past few months, but I am back now - I'll be getting thru my pending patch queue right away Yes, because all those remaini

Re: [PATCH 14/18] cxusb: TechnoTrend CT2-4400 USB DVB-T2/C tuner support

2014-07-14 Thread Michael Ira Krufky
Reviewed-by: Michael Ira Krufky I assume you'll merge this via your own branch? ...I've been traveling on & off for the past few months, but I am back now - I'll be getting thru my pending patch queue right away Cheers, Mike On Mon, Jul 14, 2014 at 1:08 PM, Antti Palosaari wrote: > From: Oll

[GIT PULL] si2157, si2168, cxusb, TechnoTrend TVStick CT2-4400

2014-07-14 Thread Antti Palosaari
Olli hacked support for TechnoTrend TVStick CT2-4400. http://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-TVStick_CT2-4400 USB ID 0b48:3014. USB interface: Cypress CY7C68013A-56LTXC Demodulator: Silicon Labs Si2168-30 Tuner: Silicon Labs Si2158-20 I have reviewed all the code. regards Antti

[PATCH 03/18] si2168: set cmd args using memcpy

2014-07-14 Thread Antti Palosaari
Use memcpy for set cmd buffer in order to keep style in line with rest of file. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 39 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c

[PATCH 01/18] si2157: implement sleep

2014-07-14 Thread Antti Palosaari
Implement sleep for power-management. Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index fa4cc7b..082e80e 100644 --- a/drivers/media/tuners/si2157.c

[PATCH 04/18] si2168: implement CNR statistic

2014-07-14 Thread Antti Palosaari
Implement CNR statistic. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 78af598..bfd7525 100644 --- a/drivers/media/dvb-fronten

[PATCH 17/18] si2168: few firmware download changes

2014-07-14 Thread Antti Palosaari
Rework firmware selection logic a little bit. Print notice asking user update firmware when old Si2168 B40 firmware is used. Signed-off-by: Antti Palosaari Tested-by: Olli Salonen --- drivers/media/dvb-frontends/si2168.c | 41 1 file changed, 27 insertions(+

[PATCH 16/18] si2157: advertise Si2158 A20 firmware

2014-07-14 Thread Antti Palosaari
Driver uses that firmware. Add it module firmware list. Signed-off-by: Antti Palosaari Tested-by: Olli Salonen --- drivers/media/tuners/si2157.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index b656f9b..3fa1f26 100644 --- a/

[PATCH 18/18] si2157: rework firmware download logic a little bit

2014-07-14 Thread Antti Palosaari
Rework firmware selection / chip detection logic a little bit. Add missing release_firmware() to error path. Signed-off-by: Antti Palosaari Tested-by: Olli Salonen --- drivers/media/tuners/si2157.c | 108 +++--- 1 file changed, 58 insertions(+), 50 deletions(

[PATCH 14/18] cxusb: TechnoTrend CT2-4400 USB DVB-T2/C tuner support

2014-07-14 Thread Antti Palosaari
From: Olli Salonen USB ID 0b48:3014. USB interface: Cypress CY7C68013A-56LTXC Demodulator: Silicon Labs Si2168-30 Tuner: Silicon Labs Si2158-20 Cc: Michael Krufky Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/dvb-core/dvb-usb-ids.

[PATCH 10/18] si2168: Add support for chip revision Si2168 A30

2014-07-14 Thread Antti Palosaari
From: Olli Salonen Add handling for different chip revisions and firmwares. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 34 ++- drivers/media/dvb-frontends/si2168_priv.h |

[PATCH 13/18] si2157: Set delivery system and bandwidth before tuning

2014-07-14 Thread Antti Palosaari
From: Olli Salonen Tell used TV standard and bandwidth for tuner firmware. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/me

[PATCH 02/18] si2168: implement sleep

2014-07-14 Thread Antti Palosaari
Implement sleep for power-management. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 2e3cdcf..13cf2

[PATCH 05/18] si2157: add read data support for fw cmd func

2014-07-14 Thread Antti Palosaari
We want also read data from firmware. Add support for it. Copied from si2168 driver. Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 74 +- drivers/media/tuners/si2157_priv.h | 3 +- 2 files changed, 43 insertions(+), 34 deletions(-)

[PATCH 12/18] si2157: Add support for Si2158 chip

2014-07-14 Thread Antti Palosaari
From: Olli Salonen Add support for Si2158 A20 chip. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 73 +++--- drivers/media/tuners/si2157.h | 2 +- drivers/media/tuners/si2

[PATCH 15/18] si2168: advertise Si2168 A30 firmware

2014-07-14 Thread Antti Palosaari
Driver uses that new firmware too, so advertise it. Signed-off-by: Antti Palosaari Tested-by: Olli Salonen --- drivers/media/dvb-frontends/si2168.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 268fce3..e9c

[PATCH 09/18] si2168: Small typo fix (SI2157 -> SI2168)

2014-07-14 Thread Antti Palosaari
From: Olli Salonen Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-front

[PATCH 11/18] si2157: Move chip initialization to si2157_init

2014-07-14 Thread Antti Palosaari
From: Olli Salonen Move chip initialization related code from si2157_set_params to si2157_init. Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Antti Palosaari --- drivers/media/tuners/si2157.c | 71 ++- 1 file changed, 30 inser

[PATCH 07/18] si2168: do not set values which are already on default

2014-07-14 Thread Antti Palosaari
No need to set explicitly value that are already defaulted same. Setting new value returns old value. Firmware default values can be found just looking returned value. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 98 1 file chang

[PATCH 06/18] si2168: remove duplicate command

2014-07-14 Thread Antti Palosaari
Same command was executed twice, but different value. Remove redundant command. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/

[PATCH 08/18] si2168: receive 4 bytes reply from cmd 0x14

2014-07-14 Thread Antti Palosaari
Command 0x14 returns 4 bytes as a reply. It is used for setting key/value pairs to firmware and it returns 4 bytes back including old value. Signed-off-by: Antti Palosaari --- drivers/media/dvb-frontends/si2168.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --gi

Re: [PATCH v3 1/2] media: soc_camera: pxa_camera device-tree support

2014-07-14 Thread Robert Jarzmik
Robert Jarzmik writes: > Robert Jarzmik writes: > > Hi Guennadi, Mark, > > Can I consider my work done for this serie, or am I forgetting pending > comments > ? If done, an ack from Mark would be good. Mark, ping ? Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscrib

[PATCH 2/4] qm1d1c0042: add driver for Sharp QM1D1C0042 8PSK tuner

2014-07-14 Thread tskd08
From: Akihiro Tsukada This patch adds driver for qm1d1c0042 (Trellis Coded) 8PSK tuner chips. It is used as an ISDB-S tuner in earthsoft pt3 cards. Signed-off-by: Akihiro Tsukada --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile | 1 + drivers/media/tuners/qm1d

[PATCH 4/4] pt3: add support for Earthsoft PT3 ISDB-S/T receiver card

2014-07-14 Thread tskd08
From: Akihiro Tsukada This patch adds support for PT3 PCIe cards. PT3 has an FPGA PCIe bridge chip, a TC90522 demod chip and a VA4M6JC2103 tuner module which contains two QM1D1C0042 chips for ISDB-S and two MxL301RF's for ISDB-T. It can receive and deliver 4 (2x ISDB-S, 2x ISDB-T) streams simulta

[PATCH 1/4] mxl301rf: add driver for MaxLinear MxL301RF OFDM tuner

2014-07-14 Thread tskd08
From: Akihiro Tsukada This patch adds driver for mxl301rf OFDM tuner chips. It is used as an ISDB-T tuner in earthsoft pt3 cards. Note that this driver does not initilize the chip, because the initilization sequence / register setting is not disclosed. Thus, the driver assumes that the chips are

[PATCH 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-07-14 Thread tskd08
From: Akihiro Tsukada This patch adds driver for tc90522 demodulator chips. The chip contains 4 demod modules that run in parallel and are independently controllable via separate I2C addresses. Two of the modules are for ISDB-T and the rest for ISDB-S. It is used in earthsoft pt3 cards. Note tha

[PATCH 0/4] dvb: Add support for PT3 ISDB-S/T card

2014-07-14 Thread tskd08
From: Akihiro Tsukada Hi, This patch series adds support for "PT3" ISDB-S/T receiver cards. It contains a PCI bridge driver, a dvb-frontend driver and two tuner drivers. I know "Bud R" had already posted ones to this mailing list, (as in 1400629035-32487-1-git-send-email-knightri...@are.ma ), b

RE: [PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread Kamil Debski
Hi, > From: panpan liu [mailto:panpan1@samsung.com] > Sent: Monday, July 14, 2014 1:18 PM > Subject: [PATCH] s5p-mfc: limit the size of the CPB > > The register of the CPB limits the size. The max size is 4M, so it > is more reasonable. The commit message should be rephrased as well. It is n

[PATCH 06/12] v4l2-ioctl: clear reserved field of G/S_SELECTION.

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 0e90349..ede9b03 100644 --- a/drivers/media/v4l2-cor

[PATCH 05/12] v4l2-ioctl: clips, clipcount and bitmap should not be zeroed.

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil Otherwise you cannot get the current clip and bitmap information from an overlay. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-

[PATCH 04/12] v4l2-ioctl: call g_selection before calling cropcap

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil If the vidioc_cropcap op is implemented by the driver then the v4l2 core will call that directly. If g_selection is available, then the core cropcap implementation uses g_selection to fill in the bounds and defrect and it sets the pixelaspect to 1x1. But if both are available

[PATCH 12/12] v4l2-ioctl.c: check vfl_type in ENUM_FMT.

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil The other format ioctls (g/s/try_fmt) all check if the passed buffer type makes sense for the device node's vfl_type. E.g. it makes no sense for a VBI buffer type to be passed through a video node instead of a vbi node. But this check was missing in ENUM_FMT which can cause a

[PATCH 10/12] v4l2-dev: streamon/off is only a valid ioctl for video, vbi and sdr

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil The VIDIOC_STREAMON/OFF ioctls are not valid for radio devices, just like the other streaming I/O ioctls. Add the streamon/off ioctls to the other streaming I/O ioctls. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-dev.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH 07/12] v4l2-ioctl: remove pointless INFO_FL_CLEAR.

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil The edid field is the last field of the struct, so there is nothing to clear. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4

[PATCH 11/12] v4l2-ioctl.c: fix enum_freq_bands handling

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil If the driver supports enum_freq_bands, but only for certain device nodes, then it may return -ENOTTY. But in that case the code should fall into the fall-back case where the current tuner/modulator range is returned. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v

[PATCH 09/12] videodev2.h: add V4L2_FIELD_HAS_T_OR_B macro

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil Add a macro to test if the field consists of a single top or bottom field. Anyone who needs to work with fields as opposed to frame will need this. Signed-off-by: Hans Verkuil --- include/uapi/linux/videodev2.h | 4 1 file changed, 4 insertions(+) diff --git a/include/

[PATCH 01/12] DocBook media: fix wrong spacing

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil There shouldn't be any spaces after or before . This leads to ugly results like: 'image size set by VIDIOC_S_FMT .' Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/selection-api.xml | 95 +++--- .../DocBook/media/v4l/vidioc-g-selection.xml

[PATCH 08/12] v4l2-dev: don't debug poll unless the debug level > 2

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil Some applications poll a lot, so prevent the poll message from flooding the log. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-co

[PATCH 02/12] DocBook media: add missing dqevent src_change field.

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil The v4l2_event union has a new src_change field, but that was never added to the VIDIOC_DQEVENT documentation of that union. Fixed. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Do

[PATCH 00/12] Pending v4l2 core/doc fixes

2014-07-14 Thread Hans Verkuil
The first 9 have been posted before, the last three are new. These are all little fixes for issues I found while working on the vivi replacement. Usually all for fairly obscure corner cases, but that's what you write a test driver for, after all. If there are no objections, then I'll make a pull

[PATCH 03/12] DocBook media: fix incorrect header reference

2014-07-14 Thread Hans Verkuil
From: Hans Verkuil The text referred to videodev.h when videodev2.h was meant. Fixed. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/pixfmt.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBo

Re: [PATCH 2/2] libv4lcontrol: sync control strings/flags with the kernel

2014-07-14 Thread Hans de Goede
Hi, On 07/08/2014 01:07 PM, Hans Verkuil wrote: > Hans, > > I'd like your opinion on this. I really don't think the (sw) suffix serves > any purpose and is just confusing to the end-user. > > If you think that it is important that apps/users know that a control is > emulated, > then I would pro

Re: [PATCH 1/2] libv4lconvert: add support for extended controls

2014-07-14 Thread Hans de Goede
Hi, On 07/08/2014 01:04 PM, Hans Verkuil wrote: > libv4lconvert did not support the extended control API so qv4l2, which > uses it, didn't work properly with libv4l2 since passing software > emulated controls using the extended control API will fail as those > controls are obviously not known to t

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Signed-off-by: panpan liu --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) mode change 100644 => 100755 drivers/media/platform/s5p-mfc/s5p_

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Change-Id: I4ffe90ac8b4de7aed8f396b3072d5db6ead9741c Signed-off-by: panpan liu --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) mode change

Re: [PATCH] gspca_stv06xx: enable button found on some Quickcam Express variant

2014-07-14 Thread Hans de Goede
Hi, On 07/11/2014 02:56 PM, Antonio Ospite wrote: > Signed-off-by: Antonio Ospite Thanks, I've added this to my tree and send a pull-req for it to Mauro. Regards, Hans > --- > drivers/media/usb/gspca/stv06xx/stv06xx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --gi

[PULL patches for 3.17]: New gspca_pac7302 usb-id + qce button fix

2014-07-14 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 2 small fixes, a nw gspca_pac7302 usb-id + qce button fix. Note this supersedes my previous pull-req for just the new usb-id. The following changes since commit 3c0d394ea7022bb9666d9df97a5776c4bcc3045c: [media] dib8000: improve the message that reports p

Re: [PATCH v2 8/9] Documentation: devicetree: Document sclk-jpeg clock for exynos3250 SoC

2014-07-14 Thread Mark Rutland
On Fri, Jul 11, 2014 at 04:19:49PM +0100, Jacek Anaszewski wrote: > JPEG IP on Exynos3250 SoC requires enabling two clock > gates for its operation. This patch documents this > requirement. > > Signed-off-by: Jacek Anaszewski > Signed-off-by: Kyungmin Park > Cc: Rob Herring > Cc: Pawel Moll >

RE: [PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread Kamil Debski
Hi panpan, Thank you for your patch, please find my comments inline. > From: panpan liu [mailto:panpan1@samsung.com] > Sent: Monday, July 14, 2014 9:22 AM > > The register of the CPB limits the size. The max size is 4M, so it is > more reasonable. > > Signed-off-by: panpan liu > --- > dri

[PATCH] s5p-mfc: limit the size of the CPB

2014-07-14 Thread panpan liu
The register of the CPB limits the size. The max size is 4M, so it is more reasonable. Signed-off-by: panpan liu --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c