[PATCH 3/3] DVBSky V3 PCIe card: add some changes to M88DS3103 for supporting the demod of M88RS6000

2014-10-12 Thread Nibble Max
M88RS6000 is the integrated chip, which includes tuner and demod. Its internal demod is similar with M88DS3103 except some registers definition. The main different part of this internal demod from others is its clock/pll generation IP block sitting inside the tuner die. So clock/pll functions shou

[PATCH 2/3] DVBSky V3 PCIe card: add new dvb-s/s2 tuner for integrated chip M88RS6000

2014-10-12 Thread Nibble Max
M88RS6000 is the integrated chip, which includes tuner and demod. Here splite its tuner as a standalone driver. .set_config is used to config its demod clock, which sits inside tuner die. Signed-off-by: Nibble Max --- drivers/media/tuners/Kconfig | 8 + drivers/media/tuners/Makefile |

[PATCH 1/3] DVBSky V3 PCIe card: add new SMI PCIe bridge driver

2014-10-12 Thread Nibble Max
There is a new PCIe bridge chip(from SMI) used in DVBSky V3 seris cards, include S950 V3 and S952 V3 cards. SMI pcie bridge chip is PCIe 1.1 compliant, supports MSI feature. Main interface blocks: 1>Two DVB transport stream input ports(ts0,ts1). 2>Two I2C master bus(i2c0, i2c1). 3>IR controller. 4

TeVii S482 dual DVB-S2

2014-10-12 Thread Josu Lazkano
Hello, I have TeVii S482 dual DVB-S2 device, is similar to the S480, but it doesn't work with same driver. The problem is that my device is not ported to the Linux kernel, there is a source code in tevii website and liplianin tree: http://www.tevii.com/Tevii_Product_20140428_media_build_b6.tar.b

cron job: media_tree daily build: WARNINGS

2014-10-12 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 Oct 13 04:00:18 CEST 2014 git branch: test git hash: cf3167cf1e969b17671a4d3d956d22718a8ceb85 gcc versi

[PATCH 00/15] media: davinci: vpbe enhancements

2014-10-12 Thread Lad, Prabhakar
This patch series adds following support:- 1: moves the vb2 queue init to probe. 2: uses vb2_fop_* helpers. 3: adds support for VB2_DMABUF. 4: adds support for VIDIOC_CREATE_BUFS and VIDIOC_EXPBUF. 5: Uses fh provided by v4l core. 6: And some cleanups. Lad, Prabhakar (15): media: davinci: vpbe:

[PATCH 01/15] media: davinci: vpbe: initialize vb2 queue and DMA context in probe

2014-10-12 Thread Lad, Prabhakar
this patch moves the initialization of vb2 queue and the DMA context to probe() and clean up in remove() callback respectively. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 128 -- 1 file changed, 60 insertions(+), 68 deletions(-) dif

[PATCH 05/15] media: davinci: vpbe: improve vpbe_buffer_prepare() callback

2014-10-12 Thread Lad, Prabhakar
this patch improve vpbe_buffer_prepare() callback, as buf_prepare() callback is never called with invalid state and check for vb2_plane_vaddr(vb, 0) is dropped as payload check should be done unconditionally. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 23 ++

[PATCH 03/15] media: davinci: vpbe: use vb2_ops_wait_prepare/finish helper functions

2014-10-12 Thread Lad, Prabhakar
this patch makes use of vb2_ops_wait_prepare/finish helper functions. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers

[PATCH 02/15] media: davinci: vpbe: drop buf_init() callback

2014-10-12 Thread Lad, Prabhakar
this patch drops the buf_init() callback as init of buf list is not required. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/dav

[PATCH 06/15] media: davinci: vpbe: use vb2_fop_mmap/poll

2014-10-12 Thread Lad, Prabhakar
this patch teaches vpbe driver to use vb2_fop_mmap/poll helpers. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 44 ++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drive

[PATCH 10/15] media: davinci: vpbe: add support for VIDIOC_CREATE_BUFS

2014-10-12 Thread Lad, Prabhakar
Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index c33b77e..fd8d4f0 100644 --- a/drivers/media/platform/davinci/vpb

[PATCH 07/15] media: davinci: vpbe: use fh handling provided by v4l

2014-10-12 Thread Lad, Prabhakar
this patch converts the driver to use fh handling provided by the v4l core instead of driver doing it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 189 +- include/media/davinci/vpbe_display.h | 11 -- 2 files changed, 65 ins

[PATCH 11/15] media: davinci: vpbe: add support for VIDIOC_EXPBUF

2014-10-12 Thread Lad, Prabhakar
Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index fd8d4f0..378f31b 100644 --- a/drivers/media/platform/davinci/vpb

[PATCH 13/15] media: davinci: vpbe: drop unused member memory from vpbe_layer

2014-10-12 Thread Lad, Prabhakar
Signed-off-by: Lad, Prabhakar --- include/media/davinci/vpbe_display.h | 4 1 file changed, 4 deletions(-) diff --git a/include/media/davinci/vpbe_display.h b/include/media/davinci/vpbe_display.h index de0843d..163a02b 100644 --- a/include/media/davinci/vpbe_display.h +++ b/include/media/d

[PATCH 14/15] media: davinci: vpbe: group v4l2_ioctl_ops

2014-10-12 Thread Lad, Prabhakar
this patch groups the v4l2_ioctl_ops. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index b57fa68..17c965d 10064

[PATCH 12/15] media: davinci: vpbe: use helpers provided by core if streaming is started

2014-10-12 Thread Lad, Prabhakar
this patch uses vb2_is_busy() helper to check if streaming is actually started, instead of driver managing it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 34 --- include/media/davinci/vpbe_display.h | 4 2 files change

[PATCH 09/15] media: davinci: vpbe: add support for VB2_DMABUF

2014-10-12 Thread Lad, Prabhakar
Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index 76450aa..c33b77e 100644 --- a/drivers/media/plat

[PATCH 15/15] media: davinci: vpbe: return -ENODATA for *dv_timings/*_std calls

2014-10-12 Thread Lad, Prabhakar
this patch adds support for returning -ENODATA if the current output doesn't support it. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe.c b/driver

[PATCH 08/15] media: davinci: vpbe: use vb2_ioctl_* helpers

2014-10-12 Thread Lad, Prabhakar
this patch adds support for using vb2_ioctl_* helpers. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 178 ++ 1 file changed, 14 insertions(+), 164 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media

[PATCH 04/15] media: davinci: vpbe: drop buf_cleanup() callback

2014-10-12 Thread Lad, Prabhakar
this patch drops buf_cleanup() callback as this callback is never called with buffer state active. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c | 24 1 file changed, 24 deletions(-) diff --git a/drivers/media/platform/davinci/vpbe_disp

Re: Kernel panic using a webcam

2014-10-12 Thread Andrew Klofas
On Sun, Oct 12, 2014 at 12:20 PM, Andrew Klofas wrote: > > On Sat, Oct 11, 2014 at 5:02 AM, Laurent Pinchart > wrote: >> >> Hi Andrew, >> >> On Friday 10 October 2014 17:55:54 Andrew Klofas wrote: >> > Greetings, >> > >> > I am new to the linux kernel community (first time contacting anyone), >>

[PATCH 2/3] media: rc: meson: document device tree bindings

2014-10-12 Thread Beniamino Galvani
This adds binding documentation for the infrared remote control receiver available in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/media/meson-ir.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/b

[PATCH 0/3] media: rc: add support for Amlogic Meson IR receiver

2014-10-12 Thread Beniamino Galvani
Hi, this is a driver for the IR receiver available in Amlogic Meson6 and Meson8 SoCs. The device can operate in two modes: in "NEC" mode the hardware can decode frames using the NEC IR protocol, while in "general" mode the receiver simply reports the duration of pulses and spaces for software deco

[PATCH 3/3] ARM: dts: meson: add dts nodes for IR receiver

2014-10-12 Thread Beniamino Galvani
Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ arch/arm/boot/dts/meson8-vega-s89e.dts | 6 ++ arch/arm/boot/dts/meson8.dtsi | 7 +++ 3 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dt

[PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-10-12 Thread Beniamino Galvani
Amlogic Meson SoCs include a infrared remote control receiver that can operate in two modes: in "NEC" mode the hardware can decode frames using the NEC IR protocol, while in "general" mode the receiver simply reports the duration of pulses and spaces for software decoding. This is a driver for the

Fwd: Kernel panic using a webcam

2014-10-12 Thread Andrew Klofas
-- Forwarded message -- From: Andrew Klofas Date: Sun, Oct 12, 2014 at 12:20 PM Subject: Re: Kernel panic using a webcam To: Laurent Pinchart Cc: linux-media@vger.kernel.org On Sat, Oct 11, 2014 at 5:02 AM, Laurent Pinchart wrote: > > Hi Andrew, > > On Friday 10 October 2014 1

cx23885 0000:01:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)

2014-10-12 Thread beta992
I build the latest drivers from git and used the patch from ZZram (https://patchwork.linuxtv.org/patch/25867/). The patch isn't implemented yet, but worked before. What I understand the DVB-C uses: /* For DVB-C */ > + .symbol_rate_min = 87, > + .symbol_rate_max = 1170, So maybe the check

[PATCHv2 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
Add an option to disable remote controller for DVBSky devices by specifying the disable_rc option at modprobe. Signed-off-by: Olli Salonen --- diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 5c7387a..f2d0eb7 100644 --- a/drivers/media/usb/dvb-u

Re: [PATCH 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
On 12.10.2014 13:12, Antti Palosaari wrote: static int dvbsky_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc) { +if (dvb_usb_dvbsky_disable_rc) +return 0; + +rc->map_name = RC_MAP_DVBSKY; rc->allowed_protos = RC_BIT_RC5; rc->query = d

Re: [PATCH 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Antti Palosaari
On 10/12/2014 01:03 PM, Olli Salonen wrote: Added an option disable_rc that can be used to disable the IR receiver polling for this module. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/d

[PATCH 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
Added an option disable_rc that can be used to disable the IR receiver polling for this module. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/me

[PATCH 3/4] dvbsky: clean logging

2014-10-12 Thread Olli Salonen
dev_err includes the function name in the log printout, so there is no need to include it manually. While here, fix a small grammatical error in the i2c error message. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 21 - 1 file changed, 8 insertions

[PATCH 2/4] dvbsky: added debug logging

2014-10-12 Thread Olli Salonen
Added debug logging using dev_dgb. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 502b52c..fabe3

[PATCH 1/4] dvbsky: don't print MAC address from read_mac_address

2014-10-12 Thread Olli Salonen
The dvb-usb-v2 already prints out the MAC address, no need to print it out also here. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 3