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

2015-06-08 Thread Hans Verkuil
On 06/09/2015 02:56 AM, Mauro Carvalho Chehab wrote: > Em Mon, 08 Jun 2015 17:20:20 -0700 > "Luis R. Rodriguez" escreveu: > >> From: "Luis R. Rodriguez" >> >> 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

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: "Antti Palosaari" To: "Unembossed Name" ; 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. It's self explaining: dvb-demod-si2168-a30-rom3_0_2-p

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 wrote: > Add support for analog and dvb tv using media controller. > > Signed-off-by: Rafael Lourenço de Lima Chehab > --- > drivers/media/dvb-frontends/au8522_decoder.c | 17 + > drivers/media/dvb-frontends/au8522_priv.h| 12

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 versi

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: "Antti Palosaari" To: "Unembossed Name" ; 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 ROM 3.0.2 and makes version 3.0.2 => 3.0.20 after pat

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 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

[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 --- 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 --- drivers/media/usb/au0828/au0828-cards.c | 2 -- drivers/media/usb/au0828/au0828-core.c | 2 ++ 2 files changed, 2 insertions(+), 2 delet

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

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" escreveu: > From: "Luis R. Rodriguez" > > 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? Sure. I just fi

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" escreveu: > From: "Luis R. Rodriguez" > > 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

[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" 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. In order to h

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

2015-06-08 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" There is no good reason not to, we eventually delete it as well. Cc: Toshi Kani Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Suresh Siddha Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Juergen Gross Cc: Daniel Vetter Cc: Andy Lutomirski Cc: Dave Airlie C

[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" 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. In order to h

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

2015-06-08 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" 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 these please

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 "\x80\x41\x44\x33\x30\x02\x0

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Unembossed Name
From: "Antti Palosaari" To: "Unembossed Name" ; 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. It's self explaining: dvb-demod-si2168-a30-rom3_0_2-p

[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 frontend/

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 > --- > Documentation/nfc/nfc-hci.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Cheers, Samuel. -- To unsub

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 (drivers/media/fi

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 possi

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 ig

[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 frontend/

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. >

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/

[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 diff --git a/Documentation/DocBook/media/dvb/fe-get-info.xml b/Documentation/DocBook/media/dvb

[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 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 +++ b/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 diff --git a/Documentation/DocBook/media/Makefile b/Documentation/DocBook/media/Makefile index 226152952f58..e7d44a0b00d6 100644 --- a/Documentation/DocBook/media/Makefile +++ b/Documentatio

[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 diff --git a/include/uapi/linux/dvb/dmx

[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 diff --git a/Documentation/DocBook/media/dvb/frontend_legacy_api.xml b/Documentation/DocBook/media/dvb/frontend_legacy_api.xml index 8523caf91a2c..8fadf3a4ba44 100644 --- a/Do

[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 diff --git a/Documentation/DocBook/media/dvb/fe-read-status.xml b/Documentation/Doc

[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 diff --git a/Documentation/DocBook/media/Makefile b/Documentation/DocBook/media/Makefile index e7d44a0b00d6..23996f88cd58 100644 --- a/Documentation/DocBo

[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 diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index 46c7fd1143a5..0380e62fc8b2 100644 --- a/include/uapi/linux/d

[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 Signed-off-by: Mauro Carvalho Chehab diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml i

[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 diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/frontend.h index 75605a7670a9..46c7fd1143a5 100644 --- a/include/uapi/linux/dvb/frontend.h +++ b/include/

[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 diff --git a/Documentation/DocBook/media/dvb/fe-set-tone.xml b/Documentation/Do

[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 Signed-o

[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 diff

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dv

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index e31d9457671f.

[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 diff --git a/Documentation/DocBook/media/dvb/frontend_legacy_api.xml b/Docume

[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 mis

[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 diff --git a/Documentation/DocBook/media/dvb/fe-set-voltage.xml b/Documentatio

[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 diff --git a/include/uapi/linux/dvb/frontend.h b/include/uapi/linux/dvb/fronte

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index e1d1e2469029..c0aa1ad9eccf 100644 --- a/Documentatio

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index 33f2313aca07..7e5147e6

[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 diff --git a/Documentation/DocBook/media/dvb/fe-diseqc-send-burst.xml b

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml index 816d5ac56164..33f2313aca07 100644 --- a/Documentation/Doc

[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 diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbpro

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 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 >> and 'st

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 hard

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 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. > > > > I

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

2015-06-08 Thread Hans Verkuil
On 06/08/2015 05:28 PM, Ezequiel Garcia wrote: > > > On 06/08/2015 07:02 AM, Hans Verkuil wrote: >> 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'

Unable to compile v4l-dvb in ubuntu 14.04

2015-06-08 Thread CIJOML CIJOMLovic
Hello, I am trying to compile v4l git with no success. I have kernel and headers installed. Is problem at my side or in source? Thank you for help or solving the problem: root@Latitude-E5550:/usr/src/v4l-dvb-3724e93f7af5# make make -C /usr/src/v4l-dvb-3724e93f7af5/v4l make[1]: Entering directory

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

2015-06-08 Thread Ezequiel Garcia
On 06/08/2015 07:02 AM, Hans Verkuil wrote: > 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 recom

Re: About Si2168 Part, Revision and ROM detection.

2015-06-08 Thread Antti Palosaari
On 06/06/2015 08:03 AM, Unembossed Name wrote: Information below was given by a hardware vendor, who uses these demodulators on their dvb-t2 products. As an explanation on our questions for Si2168 Linux driver development. I think it can give more clue with Part, Revision and ROM detection algori

[GIT PULL FOR v4.2] bdisp driver

2015-06-08 Thread Hans Verkuil
Hi Mauro, This is the bdisp driver (again), this time with MAINTAINERS update. Regards, Hans The following changes since commit 839aa56d077972170a074bcbe31bf0d7eba37b24: [media] v4l2-ioctl: log buffer type 0 correctly (2015-06-06 07:43:49 -0300) are available in the git repository a

RE: [PATCH] bdisp: update MAINTAINERS

2015-06-08 Thread Fabien DESSENNE
OK, Acked-by: Fabien Dessenne > -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: lundi 8 juin 2015 16:33 > To: Fabien DESSENNE; Linux Media Mailing List > Subject: Re: [PATCH] bdisp: update MAINTAINERS > > On 06/08/2015 03:36 PM, Fabien DESSENNE wrote: > > OK,

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

2015-06-08 Thread Hans Verkuil
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. > > I would separate existing Videobuf2-core framework into two parts - common >

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: Lin

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 implementin

[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 --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c @@ -134,23 +134,11 @@ static irqreturn_t solo_isr(int irq, void *dat

[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 --- 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 broken down to 20 *

[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 --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c @@ -483,7 +483,6 @@ static int

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

[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 --- 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 cleanup the PCI dev

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

2015-06-08 Thread Junghak Sung
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. I would separate existing Videobuf2-core framework into two parts - common and v4l2-specific part. This work is as follows : 1. Separa

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 reporte

[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 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: F: drivers/md/bcac

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 v4l2-dv-

[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

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" 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

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 vertica

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 > 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 HDMI link. Regards,

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: [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: [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: Hel

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: v4l2-complia

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

[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 diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v

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 controll

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 > exist

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 Acked-by: Hans Verkuil Regards, Hans > --- > drivers/media/usb/hackrf/hackrf.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --gi

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 ha

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 > Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil > --- > Documentation/DocBook/media/v4l/compat.xml | 4 +++ > Documentation/DocBook/media/v4l/dev

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 > Signed-off-by

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 > Signed-off-by: Antti Palosaari > --- > Documentation/DocBook/media/v4l/compat.xml | 4 > Documentation/DocBook/media/v4l/controls.xml | 19 +++

[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 Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/media-dev.c | 75 +

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 rig

[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 Acked-by: Kyungmin Park Cc: Sylwester Nawrocki Cc: devicet...@vger.kernel.org --- .../devicetree/bindings/media/samsung-fimc.txt | 10 ++ 1 file changed, 10

[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 categoriz

[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 Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/le

[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 Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/l

[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 used

[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 Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus Cc: devicet...@vger.kernel.org

[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 Acked-by: Kyungmin Park Cc: Richard Purdie --- Documentation/leds/leds-class-flash.txt | 51 +++ 1 file changed, 51 insert

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 tu

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 mean

  1   2   >