Re: [PATCH 18/26] [media] dvb: Get rid of typedev usage for enums

2015-06-08 Thread Joe Perches
On Mon, 2015-06-08 at 16:54 -0300, Mauro Carvalho Chehab wrote: The DVB API was originally defined using typedefs. This is against Kernel CodingStyle, and there's no good usage here. While we can't remove its usage on userspace, we can avoid its usage in Kernelspace. So, let's do it. This

Re: [RFC PATCH 0/3] Refactoring Videobuf2 for common use

2015-06-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Jun 2015 16:42:48 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On 06/08/2015 03:35 PM, Junghak Sung wrote: Hello everybody, This patch series refactories exsiting Videobuf2, so that not only V4L2 but also other frameworks can use it to manage buffer and utilize queue.

[PATCH 00/26] More DVB Docbook improvements

2015-06-08 Thread Mauro Carvalho Chehab
This patch series add more improvements at the DVB Docbook. The first patch makes the Makefile to report if a value defined on an enum is not documented at frontend.h. Then, it follows a series of patches that associates the xref links to the existing entries, and create documentation for the

[PATCH 10/26] [media] DocBook: remove a wrong cut-and-paste data

2015-06-08 Thread Mauro Carvalho Chehab
By cut-and-paste mistake, TRANSMISSION_MODE_AUTO were documented twice, one at the wrong place. Remove the wrong one. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml

[PATCH 06/26] [media] Docbook: add entry IDs for enum fe_sec_voltage

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_sec_voltage is documented together with FE_SET_VOLTAGE. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 19/26] [media] frontend: Move legacy API enums/structs to the end

2015-06-08 Thread Mauro Carvalho Chehab
In order to better organize the header file, move the legacy API (DVBv3) support to the end, just before the ioctl definitions. This way, we can use just one #if for all of them. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/include/uapi/linux/dvb/frontend.h

[PATCH 15/26] [media] DocBook: better document the DVB-S2 rolloff factor

2015-06-08 Thread Mauro Carvalho Chehab
Instead of using a program listing, use a table and make clearer what each define means. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index e1d1e2469029..c0aa1ad9eccf

[PATCH 20/26] [media] frontend: move legacy typedefs to the end

2015-06-08 Thread Mauro Carvalho Chehab
Just userspace need those typedefs. So, put it in the compat part of the header. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index 75605a7670a9..46c7fd1143a5 100644 ---

[PATCH 05/26] [media] DocBook: add entry IDs for enum fe_sec_tone_mode

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_sec_tone_mode is documented together with FE_SET_TONE. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 11/26] [media] DocBook: add placeholders for ATSC M/H properties

2015-06-08 Thread Mauro Carvalho Chehab
The ATSC M/H specific properties are not properly documented. This became crearer when converting the existing data into tables and adding cross references. For now, just add placeholders, as a further investigation about the meaning of each parameter is required. Cc: Michael Ira Krufky

[PATCH 01/26] [media] DocBook: handle enums on frontend.h

2015-06-08 Thread Mauro Carvalho Chehab
In order to be sure that all enum definitions will be documented, let's parse the enum values and add xref links to them. Lots of missing references will be risen as we miss adding id's to those symbols at the documentation. Next patches will fix this. Signed-off-by: Mauro Carvalho Chehab

[PATCH 12/26] [media] DocBook: Add documentation for ATSC M/H properties

2015-06-08 Thread Mauro Carvalho Chehab
Those data were retrieved by looking at A/153: ATSC Mobile DTV Standard and guessing what makes more sense to each field. Cc: Michael Ira Krufky mkru...@linuxtv.org Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml

[PATCH 04/26] [media] DocBook: add entry IDs for enum fe_status

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_status is documented together with FE_READ_STATUS. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 23/26] [media] dvb: frontend.h: improve dvb_frontent_parameters comment

2015-06-08 Thread Mauro Carvalho Chehab
The comment for struct dvb_frontend_parameters is weird, as it mixes delivery system name (ATSC) with modulation names (QPSK, QAM, OFDM). Use delivery system names there on the frequency comment, as this is clearer, specially after 2GEN delivery systems. While here, add comments at the union, to

[PATCH 26/26] [media] DocBook: Change format for enum dmx_output documentation

2015-06-08 Thread Mauro Carvalho Chehab
Use a table for the Demux output. No new information added here. They were all merged inside the table. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/Makefile b/Documentation/DocBook/media/Makefile index e7d44a0b00d6..23996f88cd58 100644

[PATCH 22/26] [media] frontend: Fix a typo at the comments

2015-06-08 Thread Mauro Carvalho Chehab
The description of struct dtv_stats has a spmall typo: FE_SCALE_DECIBELS instead of FE_SCALE_DECIBEL Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index 46c7fd1143a5..0380e62fc8b2 100644

[PATCH 03/26] [media] DocBook: add entry IDs for enum fe_sec_mini_cmd

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_sec_mini_cmd is documented together with FE_DISEQC_SEND_BURST. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 13/26] [media] DocBook: document DVB-S2 pilot in a table

2015-06-08 Thread Mauro Carvalho Chehab
Putting it into a table allows to comment each possible values, with makes more clear what field means. Also, it allows to do cross-references with the frontend.h. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml

[PATCH 14/26] [media] DocBook: Remove duplicated documentation for SEC_VOLTAGE_*

2015-06-08 Thread Mauro Carvalho Chehab
The table were documented at the legacy ioctl call. Move it to the DVBv5 ioctl, and add a cross ref link on the legacy section. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml

[PATCH 09/26] [media] DocBook: add IDs for enum fe_bandwidth

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_bandwidth is documented at the frontend legacy xml file. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 08/26] [media] DocBook: Better document DTMB time interleaving

2015-06-08 Thread Mauro Carvalho Chehab
The DTMB time interleaving was not properly documented. Add a documentation for it. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index 816d5ac56164..33f2313aca07 100644

[PATCH 16/26] [media] DocBook: properly document the delivery systems

2015-06-08 Thread Mauro Carvalho Chehab
Use a table for the delivery systems. The table is organized by the type (cable, satellite, terrestrial) and shows what standards are not fully implemented. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml

BUG: sleeping function called from invalid context at drivers/media/common/siano/smscoreapi.c:1655

2015-06-08 Thread Laura Abbott
Hi, We've gotten several reports of sleeping in atomic from the siano driver: BUG: sleeping function called from invalid context at drivers/media/common/siano/smscoreapi.c:1655 in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/0 no locks held by swapper/0/0. irq event stamp: 523335

Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t

2015-06-08 Thread Ksenija Stanojević
Hi Greg, It's been over two weeks that I've sent this patch. Have you missed it? Thanks, Ksenija On Fri, May 22, 2015 at 9:52 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 22 May 2015 17:58:42 Ksenija Stanojevic wrote: 'struct timeval last_tv' is used to get the time of last signal change

[PATCH 07/26] [media] DocBook: Add entry IDs for the enums defined at dvbproperty.xml

2015-06-08 Thread Mauro Carvalho Chehab
There are lots of enums that are defined at dvbproperty. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml

[PATCH 02/26] [media] DocBook: Add entry IDs for enum fe_caps

2015-06-08 Thread Mauro Carvalho Chehab
enum fe_caps is documented at FE_GET_INFO ioctl. Add xrefs for each entry there. This makes the hyperlinks at frontend.h to go directly to the right documentation. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/fe-get-info.xml

[PATCH 24/26] [media] dvb: frontend.h: add a note for the deprecated enums/structs

2015-06-08 Thread Mauro Carvalho Chehab
Let be clear, at the header, about what got deprecated. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index e764fd8b7e35..00a20cd21ee2 100644 --- a/include/uapi/linux/dvb/frontend.h +++

[PATCH 21/26] [media] DocBook: Remove comments before parsing enum values

2015-06-08 Thread Mauro Carvalho Chehab
The comments may affect enum value parsing. Use cpp to remove them. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/Makefile b/Documentation/DocBook/media/Makefile index 226152952f58..e7d44a0b00d6 100644 ---

[PATCH 25/26] [media] dvb: dmx.h: don't use anonymous enums

2015-06-08 Thread Mauro Carvalho Chehab
There are several anonymous enums here, used via a typedef. Well, we don't like typedefs on Kernel, so let's de-anonimize those enums. Then, latter, we may be able to get rid of the typedefs, at least from Kernelspace. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git

[PATCH 17/26] [media] DocBook: add xrefs for enum fe_type

2015-06-08 Thread Mauro Carvalho Chehab
The only enum that was missing xrefs at frontend.h is fe_type. Add xrefs for them. Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com diff --git a/Documentation/DocBook/media/dvb/frontend_legacy_api.xml b/Documentation/DocBook/media/dvb/frontend_legacy_api.xml index

Re: [PATCH 18/26] [media] dvb: Get rid of typedev usage for enums

2015-06-08 Thread Stefan Richter
On Jun 08 Mauro Carvalho Chehab wrote: The DVB API was originally defined using typedefs. This is against Kernel CodingStyle, and there's no good usage here. While we can't remove its usage on userspace, we can avoid its usage in Kernelspace. [...] Acked-by: Stefan Richter

[PATCH] [media] lmedm04: implement dvb v5 statistics

2015-06-08 Thread Malcolm Priestley
Indroduce function lme2510_update_stats to update statistics directly from usb interrupt. Provide signal and snr wrap rounds for dvb v3 functions. Block and post bit are not available. When i2c_talk_onoff is on no statistics are available, with possible future hand over to the relevant

Re: [PATCH] [media] lmedm04: implement dvb v5 statistics

2015-06-08 Thread Malcolm Priestley
On 08/06/15 21:06, Malcolm Priestley wrote: Indroduce function lme2510_update_stats to update statistics directly from usb interrupt. Provide signal and snr wrap rounds for dvb v3 functions. Block and post bit are not available. When i2c_talk_onoff is on no statistics are available, with

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: Antti Palosaari To: Unembossed Name severe.siberian@mail.ru; linux-media@vger.kernel.org Sent: Monday, June 08, 2015 10:22 PM Subject: Re: About Si2168 Part, Revision and ROM detection. Also, I would like to suggest a following naming method for files containing firmware patches.

Re: [PATCH] Doc:nfc: Fix typo in nfc-hci.txt

2015-06-08 Thread Samuel Ortiz
Hi Msanari, On Fri, Jun 05, 2015 at 09:38:19PM +0900, Masanari Iida wrote: This patch fix a spelling typo in nfc-hci.txt Signed-off-by: Masanari Iida standby2...@gmail.com --- Documentation/nfc/nfc-hci.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Cheers,

Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t

2015-06-08 Thread Greg KH
On Mon, Jun 08, 2015 at 09:37:24PM +0200, Ksenija Stanojević wrote: Hi Greg, It's been over two weeks that I've sent this patch. Have you missed it? Not at all, please look at the output of $ ./scripts/get_maintainer.pl --file drivers/staging/media/lirc/lirc_sir.c To see why I

[PATCH v2][media] lmedm04: implement dvb v5 statistics

2015-06-08 Thread Malcolm Priestley
Indroduce function lme2510_update_stats to update statistics directly from usb interrupt. Provide signal and snr wrap rounds for dvb v3 functions. Block and post bit are not available. When i2c_talk_onoff is on no statistics are available, with possible future hand over to the relevant

[PATCH 2/2 v3] au0828: Add support for media controller

2015-06-08 Thread Rafael Lourenço de Lima Chehab
Add support for analog and dvb tv using media controller. Signed-off-by: Rafael Lourenço de Lima Chehab chehabraf...@gmail.com --- drivers/media/dvb-frontends/au8522_decoder.c | 17 + drivers/media/dvb-frontends/au8522_priv.h| 12 drivers/media/usb/au0828/au0828-core.c | 98

[PATCH 1/2 v3] au0828: move dev-boards atribuition to happen earlier

2015-06-08 Thread Rafael Lourenço de Lima Chehab
The attribution of dev-boards occured too late, which would couse an OOPS in media controller registration. Signed-off-by: Rafael Lourenço de Lima Chehab chehabraf...@gmail.com --- drivers/media/usb/au0828/au0828-cards.c | 2 -- drivers/media/usb/au0828/au0828-core.c | 2 ++ 2 files changed, 2

[PATCH v6 3/3] IB/ipath: use arch_phys_wc_add() and require PAT disabled

2015-06-08 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void.

Re: [PATCH v6 0/3] linux: address broken PAT drivers

2015-06-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Jun 2015 17:20:19 -0700 Luis R. Rodriguez mcg...@do-not-panic.com escreveu: From: Luis R. Rodriguez mcg...@suse.com Mauro, since the ivtv patch is already acked by the driver maintainer and depends on an x86 symbol that went through Boris' tree are you OK in it going through

cron job: media_tree daily build: WARNINGS

2015-06-08 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 Jun 9 04:00:15 CEST 2015 git branch: test git hash: ec8f3386a7ef6af7f185aba486402e82cd84b0ad gcc

[PATCH v6 2/3] IB/ipath: add counting for MTRR

2015-06-08 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com There is no good reason not to, we eventually delete it as well. Cc: Toshi Kani toshi.k...@hp.com Cc: Roland Dreier rol...@kernel.org Cc: Sean Hefty sean.he...@intel.com Cc: Hal Rosenstock hal.rosenst...@gmail.com Cc: Suresh Siddha sbsid...@gmail.com Cc:

[PATCH v6 0/3] linux: address broken PAT drivers

2015-06-08 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com Mauro, since the ivtv patch is already acked by the driver maintainer and depends on an x86 symbol that went through Boris' tree are you OK in it going through Boris' tree? Boris, provided the outcome of the above maintainer's preference for you to merge

Re: [RFC] V4L2 codecs in user space

2015-06-08 Thread Damian Hobson-Garcia
Hi Nicolas, On 2015-06-08 10:50 PM, Nicolas Dufresne wrote: Le lundi 08 juin 2015 à 13:42 +0900, Damian Hobson-Garcia a écrit : Also, if this method is not recommended, should there be a 1-2 line disclaimer on the V4L2_Userspace_Library wiki page that mentions this? I think you may have

Re: [RFC PATCH 0/3] Refactoring Videobuf2 for common use

2015-06-08 Thread Junghak Sung
On 06/09/2015 02:39 AM, Mauro Carvalho Chehab wrote: Em Mon, 08 Jun 2015 16:42:48 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On 06/08/2015 03:35 PM, Junghak Sung wrote: Hello everybody, This patch series refactories exsiting Videobuf2, so that not only V4L2 but also other frameworks

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Antti Palosaari
On 06/09/2015 01:14 AM, Unembossed Name wrote: First of all, unfortunately I don't any other chip revisions than B40, but these sniffs I found somewhere on my logs (replies to command 0x02): Si2168 40 \x80\x42\x44\x34\x30\x02\x00\x00\x00\x00\x00\x00\x01 Si2168 20

[PATCH v6 1/3] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-06-08 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of ioremap_nocache() to use strong UC, use of mtrr_add() on those systems would make write-combining void.

Re: [PATCH v6 1/3] ivtv: use arch_phys_wc_add() and require PAT disabled

2015-06-08 Thread Mauro Carvalho Chehab
Em Mon, 08 Jun 2015 17:20:20 -0700 Luis R. Rodriguez mcg...@do-not-panic.com escreveu: From: Luis R. Rodriguez mcg...@suse.com We are burrying direct access to MTRR code support on x86 in order to take advantage of PAT. In the future we also want to make the default behaviour of

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: Antti Palosaari To: Unembossed Name severe.siberian@mail.ru; linux-media@vger.kernel.org Sent: Tuesday, June 09, 2015 6:46 AM Subject: Re: About Si2168 Part, Revision and ROM detection. And at the same time, he was able to successfully upload firmware patch, that designed for A30

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: Antti Palosaari To: Unembossed Name severe.siberian@mail.ru; linux-media@vger.kernel.org Sent: Tuesday, June 09, 2015 6:46 AM Subject: Re: About Si2168 Part, Revision and ROM detection. Also, I would like to suggest a following naming method for files containing firmware patches.

Re: [PATCH 2/2 v3] au0828: Add support for media controller

2015-06-08 Thread Shuah Khan
On Mon, Jun 8, 2015 at 7:20 PM, Rafael Lourenço de Lima Chehab chehabraf...@gmail.com wrote: Add support for analog and dvb tv using media controller. Signed-off-by: Rafael Lourenço de Lima Chehab chehabraf...@gmail.com --- drivers/media/dvb-frontends/au8522_decoder.c | 17 +

Re: [PATCH v9 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-06-08 Thread Jacek Anaszewski
On 06/08/2015 09:37 AM, Sakari Ailus wrote: Hi Jacek, On Mon, Jun 08, 2015 at 09:21:10AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/03/2015 10:59 PM, Sakari Ailus wrote: Hi Jacek, On Wed, Jun 03, 2015 at 09:56:39AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/02/2015 05:32 PM,

Re: [PATCH v9 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-06-08 Thread Jacek Anaszewski
Hi Sakari, On 06/03/2015 10:59 PM, Sakari Ailus wrote: Hi Jacek, On Wed, Jun 03, 2015 at 09:56:39AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/02/2015 05:32 PM, Sakari Ailus wrote: Hi, Jacek! On Tue, Jun 02, 2015 at 11:13:54AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/01/2015

Re: [v4l-utils PATCH/RFC v5 00/14] Add a plugin for Exynos4 camera

2015-06-08 Thread Hans Verkuil
Hi Jacek, What is the status of this? It would be really useful to have a working plugin as an example in v4l-utils. Regards, Hans On 02/26/2015 04:59 PM, Jacek Anaszewski wrote: This is a fifth version of the patch series adding a plugin for the Exynos4 camera. Temporarily the

[PATCHv3 08/11] sh-vou: add support for log_status

2015-06-08 Thread Hans Verkuil
(Changes since v2: drop the duplicate PSELA register) Dump the VOU registers in log_status. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/sh_vou.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/media/platform/sh_vou.c

Re: [PATCH v9 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-06-08 Thread Sakari Ailus
Hi Jacek, On Mon, Jun 08, 2015 at 09:21:10AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/03/2015 10:59 PM, Sakari Ailus wrote: Hi Jacek, On Wed, Jun 03, 2015 at 09:56:39AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 06/02/2015 05:32 PM, Sakari Ailus wrote: Hi, Jacek! On Tue,

RE: [PATCH v3 2/3] [media] bdisp: 2D blitter driver using v4l2 mem2mem framework

2015-06-08 Thread Fabien DESSENNE
From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com] Sent: samedi 6 juin 2015 12:43 To: Fabien DESSENNE Cc: linux-media@vger.kernel.org; Benjamin Gaignard; Hugues FRUCHET Subject: Re: [PATCH v3 2/3] [media] bdisp: 2D blitter driver using v4l2 mem2mem framework Em Tue, 12 May 2015

Re: [RFC] V4L2 codecs in user space

2015-06-08 Thread Hans Verkuil
Hi Damian, On 06/08/2015 06:42 AM, Damian Hobson-Garcia wrote: Hello again, On 2015-06-02 10:40 AM, Damian Hobson-Garcia wrote: Hello All, I would like to ask for some comments about a plan to use user space video codecs through the V4L interface. I am thinking of a situation similar to

Re: [PATCH] [media] s5k5baf: Convert use of __constant_cpu_to_be16 to cpu_to_be16

2015-06-08 Thread Andrzej Hajda
On 06/06/2015 03:53 AM, Vaishali Thakkar wrote: In little endian cases, macro cpu_to_be16 unfolds to __swab16 which provides special case for constants. In big endian cases, __constant_cpu_to_be16 and cpu_to_be16 expand directly to the same expression. So, replace __constant_cpu_to_be16 with

[PATCH v10 7/8] DT: Add documentation for exynos4-is 'flashes' property

2015-06-08 Thread Jacek Anaszewski
This patch adds a description of 'samsung,camera-flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: devicet...@vger.kernel.org ---

[PATCH v10 6/8] exynos4-is: Improve the mechanism of async subdevs verification

2015-06-08 Thread Jacek Anaszewski
Avoid verifying bound async sensor sub-devices by their of_nodes, which duplicates v4l2-async functionality, in favour of matching them by the corresponding struct v4l2_async_subdev. The structures are now being aggregated in the newly introduced struct fimc_async_subdevs which allows for

[PATCH v10 5/8] leds: aat1290: add support for V4L2 Flash sub-device

2015-06-08 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH v10 8/8] exynos4-is: Add support for v4l2-flash subdevs

2015-06-08 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing camera-flashes DT property and asynchronous sub-device registration. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

Re: [PATCH 2/9] v4l2: add RF gain control

2015-06-08 Thread Hans Verkuil
On 06/06/2015 02:03 PM, Antti Palosaari wrote: Add new RF tuner gain control named RF gain. That is aimed for external LNA (amplifier) chip just right after antenna connector. I don't follow. Do you mean: This feeds into the external LNA... But if that's the case, then the LNA chip isn't

Re: [RFC] V4L2 codecs in user space

2015-06-08 Thread Hans Verkuil
On 06/08/2015 11:54 AM, Damian Hobson-Garcia wrote: Hi Hans, Thank you for your comments, On 2015-06-08 5:25 PM, Hans Verkuil wrote: Hi Damian, On 06/08/2015 06:42 AM, Damian Hobson-Garcia wrote: Hello again, On 2015-06-02 10:40 AM, Damian Hobson-Garcia wrote: Hello All, I would like

Re: [RFC PATCH] v4l2-dv-timings: add support for reduced blanking v2

2015-06-08 Thread Hans Verkuil
On 06/08/2015 12:44 PM, Hans Verkuil wrote: On 06/05/2015 10:52 AM, Prashant Laddha wrote: Added support for reduced blanking version 2 (RB v2) in cvt timings. Standard specifies a fixed vsync pulse of 8 lines to indicate RB v2 timings. Vertical back porch is fixed at 6 lines and vertical

Re: [PATCH 1/9] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR

2015-06-08 Thread Hans Verkuil
Hi Antti, I am not so sure about this. The situation with TUNER_ADC is similar to TUNER_RADIO: we use TUNER_RADIO for radio modulators, even though it is clearly not a tuner type. Basically the tuner type is interpreted as going the reverse direction for a modulator. Calling it TUNER_SDR

Re: [v4l-utils PATCH/RFC v5 00/14] Add a plugin for Exynos4 camera

2015-06-08 Thread Jacek Anaszewski
Hi Hans, It got stuck on this version. I have some slight improvements locally but haven't sent them as there hasn't been any comment to this so far. AFAIR Sakari had some doubts about handling multiple pipelines within one media controller. In this approach only one pipeline is allowed. There

Re: [PATCH 3/9] DocBook: document tuner RF gain control

2015-06-08 Thread Hans Verkuil
Hi Antti, Some typos: On 06/06/2015 02:03 PM, Antti Palosaari wrote: Add brief description for tuner RF gain control. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/media/v4l/compat.xml | 4

Re: [PATCH 9/9] hackrf: do not set human readable name for formats

2015-06-08 Thread Hans Verkuil
On 06/06/2015 02:03 PM, Antti Palosaari wrote: Format names are set by core nowadays. Remove name from driver. Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com Regards, Hans --- drivers/media/usb/hackrf/hackrf.c | 3 --- 1 file changed,

Re: [PATCH 8/9] hackrf: add support for transmitter

2015-06-08 Thread Hans Verkuil
Hi Antti, I've got one comment: On 06/06/2015 02:03 PM, Antti Palosaari wrote: HackRF SDR device has both receiver and transmitter. There is limitation that receiver and transmitter cannot be used at the same time (half-duplex operation). That patch implements transmitter support to existing

Re: [PATCH 4/6] adv7604: log infoframes

2015-06-08 Thread Hans Verkuil
On 06/07/2015 12:32 PM, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Hmm, missing commit log. I'm sure I wrote it at some point in time... This should be: Add support for logging the detected InfoFrames for the adv76xx. Helps in debugging what is actually received on the

Re: [v4l-utils PATCH/RFC v5 00/14] Add a plugin for Exynos4 camera

2015-06-08 Thread Jacek Anaszewski
On 06/08/2015 11:36 AM, Hans Verkuil wrote: On 06/08/2015 11:14 AM, Jacek Anaszewski wrote: Hi Hans, It got stuck on this version. I have some slight improvements locally but haven't sent them as there hasn't been any comment to this so far. AFAIR Sakari had some doubts about handling multiple

Re: [PATCH 4/9] v4l2: add support for SDR transmitter

2015-06-08 Thread Hans Verkuil
On 06/06/2015 02:03 PM, Antti Palosaari wrote: New IOCTL ops: vidioc_enum_fmt_sdr_out vidioc_g_fmt_sdr_out vidioc_s_fmt_sdr_out vidioc_try_fmt_sdr_out New vb2 buffertype: V4L2_BUF_TYPE_SDR_OUTPUT New v4l2 capability: V4L2_CAP_SDR_OUTPUT Cc: Hans Verkuil hverk...@xs4all.nl

Re: [RFC PATCH] v4l2-dv-timings: add support for reduced blanking v2

2015-06-08 Thread Hans Verkuil
On 06/05/2015 10:52 AM, Prashant Laddha wrote: Added support for reduced blanking version 2 (RB v2) in cvt timings. Standard specifies a fixed vsync pulse of 8 lines to indicate RB v2 timings. Vertical back porch is fixed at 6 lines and vertical front porch is remainder of vertical blanking

Re: Obtain Si2157 and LGDT3306A signal stats from HVR955Q?

2015-06-08 Thread Antti Palosaari
Moikka! On 06/08/2015 01:21 AM, Doug Lung wrote: Hello! this is my first post here, although I've benefited from all the work of the contributors over the year. Thanks! I'm looking for help getting similar signal statistics from the new Hauppauge HVR955Q (Si2157, LGDT3306A, CX23102) USB ATSC

[PATCH v10 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-06-08 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be

[PATCH v10 0/8] LED / flash API integration

2015-06-08 Thread Jacek Anaszewski
This is tenth non-RFC version of LED / flash API integration series [1]. It is based on linux_next-20150605 with patch [2]. Changes since v9 - improved v4l2_flash_open and v4l2_flash_close functions of v4l2-flash-led-class wrapper, to lock/unlock also the sysfs

[PATCH v10 3/8] leds: max77693: add support for V4L2 Flash sub-device

2015-06-08 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH v10 4/8] DT: aat1290: Document handling external strobe sources

2015-06-08 Thread Jacek Anaszewski
This patch adds documentation for a pinctrl-names property. The property, when present, is used for switching the source of the strobe signal for the device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com

[PATCH v10 1/8] Documentation: leds: Add description of v4l2-flash sub-device

2015-06-08 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Richard Purdie rpur...@rpsys.net ---

Re: [RFC] V4L2 codecs in user space

2015-06-08 Thread Damian Hobson-Garcia
Hi Hans, Thank you for your comments, On 2015-06-08 5:25 PM, Hans Verkuil wrote: Hi Damian, On 06/08/2015 06:42 AM, Damian Hobson-Garcia wrote: Hello again, On 2015-06-02 10:40 AM, Damian Hobson-Garcia wrote: Hello All, I would like to ask for some comments about a plan to use user

Re: [PATCH v2 1/2] clk: change clk_ops' -round_rate() prototype

2015-06-08 Thread Jon Hunter
Hi Boris, On 05/06/15 12:39, Boris Brezillon wrote: Hi Jon, On Fri, 5 Jun 2015 09:46:09 +0100 Jon Hunter jonath...@nvidia.com wrote: On 05/06/15 00:02, Paul Walmsley wrote: Hi folks just a brief comment on this one: On Thu, 30 Apr 2015, Boris Brezillon wrote: Clock rates are

Re: [PATCH 5/9] DocBook: document SDR transmitter

2015-06-08 Thread Hans Verkuil
On 06/06/2015 02:03 PM, Antti Palosaari wrote: Add documentation for V4L SDR transmitter (output) devices. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/compat.xml

Re: [v4l-utils PATCH/RFC v5 00/14] Add a plugin for Exynos4 camera

2015-06-08 Thread Hans Verkuil
On 06/08/2015 11:14 AM, Jacek Anaszewski wrote: Hi Hans, It got stuck on this version. I have some slight improvements locally but haven't sent them as there hasn't been any comment to this so far. AFAIR Sakari had some doubts about handling multiple pipelines within one media controller.

[PATCH] stk1160: fix sequence handling

2015-06-08 Thread Hans Verkuil
Fix the sequence counter: we're counting frames, not fields. Also remove the unused 'field' field. That would only be needed if this driver would support V4L2_FIELD_ALTERNATE. Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c

Re: [PATCH v2 0/2] stk1160: Frame scaling and de-verbosification

2015-06-08 Thread Hans Verkuil
Hi Ezequiel, On 06/07/2015 12:26 AM, Ezequiel Garcia wrote: I've removed the driver verbosity and fixed the frame scale implementation. In addition to the usual mplayer/vlc/qv4l2, it's tested with v4l2-compliance on 4.1-rc4. I recommend you use the media_tree.git master branch:

[PATCH] SOLO6x10: Fix G.723 minimum audio period count.

2015-06-08 Thread Krzysztof Hałasa
The period count is fixed, don't confuse ALSA. Signed-off-by: Krzysztof Hałasa khal...@piap.pl --- a/drivers/media/pci/solo6x10/solo6x10-g723.c +++ b/drivers/media/pci/solo6x10/solo6x10-g723.c @@ -48,10 +48,8 @@ /* The solo writes to 1k byte pages, 32 pages, in the dma. Each 1k page * is

Re: [RFC PATCH] v4l2-dv-timings: add support for reduced blanking v2

2015-06-08 Thread Prashant Laddha (prladdha)
Thanks for the review Hans. I will address your comments and post revised patches for this. Regards, Prashant On 08/06/15 4:14 pm, Hans Verkuil hverk...@xs4all.nl wrote: On 06/05/2015 10:52 AM, Prashant Laddha wrote: Added support for reduced blanking version 2 (RB v2) in cvt timings.

[GIT PULL FOR v4.2] Various fixes

2015-06-08 Thread Hans Verkuil
m2m improvements, adv driver fixes/improvements, compiler warning fix, interlaced and DV timings related fixes/improvements. Regards, Hans The following changes since commit 839aa56d077972170a074bcbe31bf0d7eba37b24: [media] v4l2-ioctl: log buffer type 0 correctly (2015-06-06 07:43:49

[PATCH] bdisp: update MAINTAINERS

2015-06-08 Thread Hans Verkuil
Add entry for the bdisp driver to the MAINTAINERS file. Signed-off-by: Hans Verkuil hans.verk...@cisco.com diff --git a/MAINTAINERS b/MAINTAINERS index 3cfb979..de3cf29 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1964,6 +1964,14 @@ W: http://bcache.evilpiepirate.org S: Maintained:

[PATCH] SOLO6x10: remove unneeded register locking and barriers.

2015-06-08 Thread Krzysztof Hałasa
readl() and writel() are atomic, we don't need the spin lock. Also, flushing posted write buffer isn't required. Especially on read :-) Signed-off-by: Krzysztof Hałasa khal...@piap.pl --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c @@ -483,7

Re: [RFC] V4L2 codecs in user space

2015-06-08 Thread Nicolas Dufresne
Le lundi 08 juin 2015 à 13:42 +0900, Damian Hobson-Garcia a écrit : Also, if this method is not recommended, should there be a 1-2 line disclaimer on the V4L2_Userspace_Library wiki page that mentions this? I think you may have got that wrong. The V4L2 userspace library is not implementing

[PATCH] SOLO6x10: Remove dead code.

2015-06-08 Thread Krzysztof Hałasa
solo_dev and pdev cannot be NULL here. It doesn't matter if we initialized the PCI device or not. Signed-off-by: Krzysztof Hałasa khal...@piap.pl --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c @@ -134,23 +134,11 @@ static irqreturn_t

Re: [PATCH] bdisp: update MAINTAINERS

2015-06-08 Thread Hans Verkuil
On 06/08/2015 03:36 PM, Fabien DESSENNE wrote: OK, I will take care of this new driver. Sorry, but I need your Acked-by before I can merge this. Regards, Hans -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: lundi 8 juin 2015 14:24 To: Linux Media

RE: [PATCH] bdisp: update MAINTAINERS

2015-06-08 Thread Fabien DESSENNE
OK, I will take care of this new driver. -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: lundi 8 juin 2015 14:24 To: Linux Media Mailing List; Fabien DESSENNE Subject: [PATCH] bdisp: update MAINTAINERS Add entry for the bdisp driver to the MAINTAINERS file.

[PATCH] SOLO6x10: unmap registers only after free_irq().

2015-06-08 Thread Krzysztof Hałasa
Fixes a panic on ARM. Diagnosis by Russell King. Signed-off-by: Krzysztof Hałasa khal...@piap.pl --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c @@ -164,9 +164,9 @@ static void free_solo_dev(struct solo_dev *solo_dev) /* Now

Re: [RFC PATCH v2 0/4] Support for interlaced in cvt/gtf timings

2015-06-08 Thread Hans Verkuil
Hi Prashant, I've merged patches 1 and 2, but I'm postponing 3 and 4: I'd like to be able to test this before merging, ideally with the cobalt driver, but that will take time. They are in my todo list, so they won't be forgotten. In the meantime it is useful to have support for this in

A few SOLO6x10 patches.

2015-06-08 Thread Krzysztof Hałasa
Hi, I'm attaching a few patches to SOLO6x10 video frame grabber driver. Nothing out of ordinary, an audio bug fix (nobody using SOLO with audio?), an rmmod-related panic and the register access optimization. Feel free to pick up what you want. The remaining issue is incorrect SDRAM size reported

  1   2   >