[PATCH 04/20] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-05-21 Thread William Towle
/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -1,15 +1,17 @@ -* Analog Devices ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611 are multiformat video decoders

[PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-06-03 Thread William Towle
/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -1,15 +1,17 @@ -* Analog Devices ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611 are multiformat video decoders

[PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-06-25 Thread William Towle
100644 --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -1,15 +1,17 @@ -* Analog Devices ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611

Re: [PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-06-12 Thread Hans Verkuil
ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI -receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, -and the ADV7611 has one HDMI input and no analog input. +The ADV7604 and ADV7611/12

[PATCH 05/15] media: adv7604: document support for ADV7612 dual HDMI input decoder

2015-05-27 Thread William Towle
/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -1,15 +1,17 @@ -* Analog Devices ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611 are multiformat video decoders

Re: [PATCH 1/2] media: adv7604: Add support for ADV7612 dual HDMI input decoder.

2014-08-18 Thread Laurent Pinchart
ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver -The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI -receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, -and the ADV7611 has one HDMI

[PATCH 1/2] media: adv7604: Add support for ADV7612 dual HDMI input decoder.

2014-08-11 Thread Ian Molton
receiver -The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI -receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, -and the ADV7611 has one HDMI input and no analog input. +The ADV7604 and ADV7611/12 are multiformat video decoders with an integrated

Re: [PATCH v4 45/49] adv7604: Add DT support

2014-04-17 Thread Laurent Pinchart
Hi Sylwester, On Thursday 17 April 2014 16:39:29 Sylwester Nawrocki wrote: On 17/04/14 16:13, Laurent Pinchart wrote: Parse the device tree node to populate platform data. Only the ADV7611 is currently support with DT. Cc: devicet...@vger.kernel.org Cc: Sylwester Nawrocki s.nawro

[PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
This patch adds support for DT parsing of ADV7604 as well as ADV7611. It needs to be improved in order to get ports parsing too. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 1 + drivers/media/i2c/adv7604.c

Re: [PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: This patch adds support for DT parsing of ADV7604 as well as ADV7611. It needs to be improved in order to get ports parsing too. Let's improve it then :-) The DT bindings as proposed

[PATCH 3/8] WmT: document adi,adv7612

2015-01-29 Thread William Towle
/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -1,4 +1,4 @@ -* Analog Devices ADV7604/11 video decoder with HDMI receiver +* Analog Devices ADV7604/11/12 video decoder with HDMI receiver The ADV7604 and ADV7611 are multiformat video

Re: [PATCH 45/47] adv7604: Add DT support

2014-02-11 Thread Laurent Pinchart
with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, +and the ADV7611 has one HDMI input and no analog input. + +Required Properties: + + - compatible: Must

Re: [PATCH 45/47] adv7604: Add DT support

2014-02-11 Thread Lars-Peter Clausen
+1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, +and the ADV7611 has one HDMI input and no analog input. + +Required

Re: [PATCH 45/47] adv7604: Add DT support

2014-02-11 Thread Laurent Pinchart
..0845c50 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four

Re: [PATCH v2 46/48] adv7604: Add DT support

2014-04-17 Thread Laurent Pinchart
Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, +and the ADV7611 has one HDMI input and no analog input. + +Required Properties

Re: [PATCH v2 46/48] adv7604: Add DT support

2014-04-17 Thread Laurent Pinchart
/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, +and the ADV7611

[PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-06-03 Thread William Towle
{ ADV7604, ADV7611, + ADV7612, }; struct adv76xx_reg_seq { @@ -758,6 +759,23 @@ static const struct adv76xx_format_info adv7611_formats[] = { ADV76XX_OP_MODE_SEL_SDR_422_2X | ADV76XX_OP_FORMAT_SEL_12BIT }, }; +static const struct adv76xx_format_info adv7612_formats

[PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-06-25 Thread William Towle
{ ADV7604, ADV7611, + ADV7612, }; struct adv76xx_reg_seq { @@ -766,6 +767,23 @@ static const struct adv76xx_format_info adv7611_formats[] = { ADV76XX_OP_MODE_SEL_SDR_422_2X | ADV76XX_OP_FORMAT_SEL_12BIT }, }; +static const struct adv76xx_format_info adv7612_formats

Re: [PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-06-12 Thread Hans Verkuil
/drivers/media/i2c/adv7604.c @@ -80,6 +80,7 @@ MODULE_LICENSE(GPL); enum adv76xx_type { ADV7604, ADV7611, + ADV7612, }; struct adv76xx_reg_seq { @@ -758,6 +759,23 @@ static const struct adv76xx_format_info adv7611_formats[] = { ADV76XX_OP_MODE_SEL_SDR_422_2X

Re: [PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:53 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: This patch adds support for DT parsing of ADV7604 as well as ADV7611

Re: [PATCH v2 46/48] adv7604: Add DT support

2014-04-17 Thread Sylwester Nawrocki
/devicetree/bindings/media/i2c/adv7604.txt new file mode 100644 index 000..0845c50 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video

[PATCH v4 45/49] adv7604: Add DT support

2014-04-17 Thread Laurent Pinchart
Parse the device tree node to populate platform data. Only the ADV7611 is currently support with DT. Cc: devicet...@vger.kernel.org Cc: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com

Re: [PATCH v4 45/49] adv7604: Add DT support

2014-04-17 Thread Sylwester Nawrocki
Hi Laurent, On 17/04/14 16:13, Laurent Pinchart wrote: Parse the device tree node to populate platform data. Only the ADV7611 is currently support with DT. Cc: devicet...@vger.kernel.org Cc: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Laurent Pinchart laurent.pinch

Re: [PATCH 45/47] adv7604: Add DT support

2014-02-11 Thread Hans Verkuil
/bindings/media/i2c/adv7604.txt new file mode 100644 index 000..0845c50 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders

[PATCH v2 46/48] adv7604: Add DT support

2014-03-10 Thread Laurent Pinchart
000..0845c50 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI

[PATCH v3 46/48] adv7604: Add DT support

2014-03-11 Thread Laurent Pinchart
/bindings/media/i2c/adv7604.txt new file mode 100644 index 000..0845c50 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -0,0 +1,56 @@ +* Analog Devices ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders

[PATCH] adv7611: Set HPD GPIO direction to output

2014-03-25 Thread Laurent Pinchart
The HPD GPIO is used as an output but its direction is never set. Fix it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) This patch applies on top of the ADV7611 support series queued

Re: [PATCH] adv7611: Set HPD GPIO direction to output

2014-03-26 Thread Hans Verkuil
it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) This patch applies on top of the ADV7611 support series queued for v3.16. diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c

[PATCH] adv7604: Mark adv7604_of_id table with __maybe_unused

2014-03-28 Thread Laurent Pinchart
adv7604_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, adv7604_i2c_id); -static struct of_device_id adv7604_of_id[] = { +static struct of_device_id adv7604_of_id[] __maybe_unused = { { .compatible = adi,adv7604, .data = adv7604_chip_info[ADV7604] }, { .compatible = adi,adv7611, .data

[PATCH v4 49/49] adv7604: Mark adv7604_of_id table with __maybe_unused

2014-04-17 Thread Laurent Pinchart
adv7604_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, adv7604_i2c_id); -static struct of_device_id adv7604_of_id[] = { +static struct of_device_id adv7604_of_id[] __maybe_unused = { { .compatible = adi,adv7611, .data = adv7604_chip_info[ADV7611] }, { } }; -- 1.8.3.2 -- To unsubscribe from

[PATCH 2/2] adv7604: Add DT parsing support

2014-09-05 Thread Jean-Michel Hautbois
8336c02..75613a4 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -2705,6 +2705,7 @@ MODULE_DEVICE_TABLE(i2c, adv7604_i2c_id); static struct of_device_id adv7604_of_id[] __maybe_unused = { { .compatible = adi,adv7611, .data = adv7604_chip_info[ADV7611

[PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-01-26 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH 03/13] media: adv7604: fix probe of ADV7611/7612

2015-07-23 Thread William Towle
, v4l2_err(sd, Error %d reading IO Regmap\n, err); return -ENODEV; } - val2 |= val; + val |= val2; if ((state-info-type == ADV7611 val != 0x2051) || (state-info-type == ADV7612 val

Re: [GIT PULL for 3.16-rc1] updates and DT support for adv7604

2014-06-06 Thread Ben Dooks
On 05/06/14 13:55, Mauro Carvalho Chehab wrote: Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media topic/adv76xx For adv7604 driver updates, including DT support. Can we use the adv7611 for the adv7612 with these? -- Ben Dooks

Re: [PATCH 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Mark Rutland
from the code below that a single adv7611 device has multiple I2C addresses at which different registers may be accessed. I guess the secondary instances of the unit have different addresses for all of the pages? Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4afa42af2daa12 No, I

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Valentine
On 11/27/2013 01:43 AM, Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Laurent Pinchart
Hi Lars, On Tuesday 26 November 2013 22:43:32 Lars-Peter Clausen wrote: On 11/26/2013 10:28 PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4a fa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before implementing this one. I'm going to look closer at the patch and test it. I've tried the patch and I

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Laurent Pinchart
Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e 4afa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before implementing this one. I'm

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Lars-Peter Clausen
, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e 4afa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-29 Thread Lars-Peter Clausen
PM, Valentine wrote: On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e 4afa42af2daa12 No, I missed that one somehow

[PATCH] [media] adv7604: Update recommended writes for the adv7611

2014-06-17 Thread Lars-Peter Clausen
Update the recommended writes to those mentioned in the Rev 1.5 version of the ADV7611 Register Settings Recommendations document released by Analog Devices. The document does not mention why the recommended settings have been updated, but presumably those are more fine tuned settings that can

Re: [PATCH] [media] adv7604: Update recommended writes for the adv7611

2014-06-17 Thread Laurent Pinchart
Hi Lars, Thank you for the patch. On Tuesday 17 June 2014 13:52:24 Lars-Peter Clausen wrote: Update the recommended writes to those mentioned in the Rev 1.5 version of the ADV7611 Register Settings Recommendations document released by Analog Devices. The document does not mention why

Re: [PATCH 03/13] media: adv7604: fix probe of ADV7611/7612

2015-07-27 Thread William Towle
. ... Subject: [PATCH] media: adv7604: fix probe of ADV7611/7612 Prior to commit f862f57d ([media] media: i2c: ADV7604: Migrate to regmap), the local variable 'val' contained the combined register reads used in the chipset version ID test. Restore this expectation so that the comparison works as it used

Connecting ADV76xx to CSI via SFMC

2014-11-24 Thread Jean-Michel Hautbois
Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve Longerbeam's tree, and here is the current tree I am using : https://github.com/Vodalys/linux-2.6-imx/tree/mx6-camera-staging-v2-vbx This is a WiP tree, and not intended to be complete right now

[PATCH] media: adv7604: Fix masks used for querying timings in ADV7611

2015-04-09 Thread Jean-Michel Hautbois
All masks for timings are different between ADV7604 and ADV7611. Most of the values have 1 precision bit more in the latter. Fix this by adding new fields to the chip_info structure. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 69

Re: [PATCH 45/47] adv7604: Add DT support

2014-02-11 Thread Hans Verkuil
ADV7604/11 video decoder with HDMI receiver + +The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI +receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, +and the ADV7611 has one HDMI input and no analog input. + +Required Properties

[PATCH 03/20] media: adv7604: chip info and formats for ADV7612

2015-05-21 Thread William Towle
{ ADV7604, ADV7611, + ADV7612, }; struct adv76xx_reg_seq { @@ -753,6 +754,23 @@ static const struct adv76xx_format_info adv7611_formats[] = { ADV76XX_OP_MODE_SEL_SDR_422_2X | ADV76XX_OP_FORMAT_SEL_12BIT }, }; +static const struct adv76xx_format_info adv7612_formats

[PATCH 04/15] media: adv7604: chip info and formats for ADV7612

2015-05-27 Thread William Towle
{ ADV7604, ADV7611, + ADV7612, }; struct adv76xx_reg_seq { @@ -758,6 +759,23 @@ static const struct adv76xx_format_info adv7611_formats[] = { ADV76XX_OP_MODE_SEL_SDR_422_2X | ADV76XX_OP_FORMAT_SEL_12BIT }, }; +static const struct adv76xx_format_info adv7612_formats

[PATCH v2 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Jean-Michel Hautbois
/adv7604.txt @@ -10,8 +10,12 @@ Required Properties: - compatible: Must contain one of the following - adi,adv7611 for the ADV7611 +- adi,adv7604 for the ADV7604 - - reg: I2C slave address + - reg: I2C slave addresses +The ADV7604 has thirteen 256-byte maps that can be accessed

Re: [PATCH] [media] adv7604: Don't shift the I2C address

2015-07-27 Thread Lars-Peter Clausen
Cc Hans and media mailing list On 07/27/2015 02:21 PM, Mike Looijmans wrote: Messages like this are rather confusing: adv7611 5-004c: not an adv7611 on address 0x98 The driver shifts the I2C address left by one (0x98 = 4c 1) probably to match the datasheet. But in all Linux drivers

Re: [GIT PULL for 3.16-rc1] updates and DT support for adv7604

2014-06-06 Thread Lars-Peter Clausen
On 06/06/2014 05:49 PM, Ben Dooks wrote: On 05/06/14 13:55, Mauro Carvalho Chehab wrote: Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media topic/adv76xx For adv7604 driver updates, including DT support. Can we use the adv7611 for the adv7612

i.MX6 status for IPU/VPU/GPU

2014-07-28 Thread Jean-Michel Hautbois
Hi there ! We have a custom board, based on i.MX6 SoC. We are currently using Freescale's release of Linux, but this is a 3.10.17 kernel, and several drivers are lacking (adv7611 for instance) or badly written (all the MXC part). As we want to have nice things :) we would like to use a mainline

ADV76xx : Endpoint parsing

2014-09-02 Thread Jean-Michel Hautbois
the first endpoint from DT, puts the node, and that's all... At least for ADV7611, there is two endpoints : one HDMI as input, one output. I am not even sure that this function gets both... And last but not least, how can we get support for all endpoints in the ADV7604 case ? Thanks, JM

Re: [Linux-kernel] [PATCH 03/13] media: adv7604: fix probe of ADV7611/7612

2015-07-24 Thread Ben Dooks
On 23/07/15 13:21, William Towle wrote: Prior to commit f862f57d ([media] media: i2c: ADV7604: Migrate to regmap), the local variable 'val' contained the combined register reads used in the chipset version ID test. Restore this expectation so that the comparison works as it used to. Forgot

Re: [linux-sunxi] [PATCH v3 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2017-12-18 Thread Maxime Ripard
gt; > > + clocks = < CLK_BUS_CSI>, > > > +< CLK_CSI1_SCLK>, > > > > CSI also has an MCLK. Do you need that one? > > MCLK is not needed if the front end is not a sensor (like adv7611). > I will add it as an option. I guess this should always be needed the

Re: [PATCH] adv7611: Set HPD GPIO direction to output

2014-03-26 Thread Laurent Pinchart
(-) This patch applies on top of the ADV7611 support series queued for v3.16. diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 51f14ab..b38ebb9 100644 --- a/drivers/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -2845,7 +2845,7 @@ static int

Re: [PATCH] adv7611: Set HPD GPIO direction to output

2014-03-26 Thread Hans Verkuil
laurent.pinch...@ideasonboard.com --- drivers/media/i2c/adv7604.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) This patch applies on top of the ADV7611 support series queued for v3.16. diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 51f14ab..b38ebb9 100644

Re: Connecting ADV76xx to CSI via SFMC

2014-11-25 Thread Philipp Zabel
Hi Jean-Michel, Am Montag, den 24.11.2014, 16:19 +0100 schrieb Jean-Michel Hautbois: Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve Longerbeam's tree, and here is the current tree I am using : https://github.com/Vodalys/linux-2.6-imx/tree

Re: [PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-02-02 Thread Hans Verkuil
Hi Jean-Michel, On 01/26/2015 02:52 PM, Jean-Michel Hautbois wrote: The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media

[PATCH v2] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-02-04 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- v2: Use adv7604_chip_info to get register instead of testing the chip ID drivers/media

[PATCH 2/8] adv7604.c: formats, default colourspace, and IRQs

2015-01-29 Thread William Towle
** for lx3.18.x+; from previous description ** The original adv7612-specific driver only contained formats meeting a certain specification; allowing the adv7612 chip to permit all the formats the adv7611 supports breaks this restriction and means that enum_mbus_code can end up containing values

Re: [PATCH 03/20] media: adv7604: chip info and formats for ADV7612

2015-05-25 Thread Guennadi Liakhovetski
!= 0x2051) { - v4l2_info(sd, not an adv7611 on address 0x%x\n, + if ((state-info-type == ADV7611 val != 0x2051) || + (state-info-type == ADV7612 val != 0x2041)) { + v4l2_info(sd, not an adv761x on address 0x%x\n, A switch

[PATCH 2/3] media: adv7604: automatic default-input selection

2015-08-13 Thread William Towle
Add logic such that the default-input property becomes unnecessary for chips that only have one suitable input (ADV7611 by design, and ADV7612 due to commit 7111cddd [media] media: adv7604: reduce support to first (digital) input). Additionally, Ian's documentation in commit bf9c8227 ([media

Re: HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-28 Thread Guennadi Liakhovetski
a fix for probing the ADV7611/ADV7612 chips, a reduced (and renamed) chip info and formats patch intended to pave the way for better ADV7612 support, and updates to rcar_vin_try_fmt() in line with the latest feedback. Cheers, Wills. To follow: [PATCH 01/13] ARM: shmobile: lager dts

Re: [PATCH 03/13] media: adv7604: fix probe of ADV7611/7612

2015-07-24 Thread Hans Verkuil
adv76xx_probe(struct i2c_client *client, v4l2_err(sd, Error %d reading IO Regmap\n, err); return -ENODEV; } - val2 |= val; + val |= val2; if ((state-info-type == ADV7611 val != 0x2051

HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-23 Thread William Towle
Version 5. Some successful upstreaming and some further modification means this obsoletes version 4, as seen at: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/92832 This version of the patch series contains a fix for probing the ADV7611/ADV7612 chips

[PATCH v2 2/9] media: adv7604: automatic "default-input" selection

2016-03-02 Thread Ulrich Hecht
From: William Towle <william.to...@codethink.co.uk> Add logic such that the "default-input" property becomes unnecessary for chips that only have one suitable input (ADV7611 by design, and ADV7612 due to commit 7111cddd "[media] media: adv7604: reduce support to

[PATCH v4 2/8] media: adv7604: automatic "default-input" selection

2016-05-11 Thread Ulrich Hecht
From: William Towle <william.to...@codethink.co.uk> Add logic such that the "default-input" property becomes unnecessary for chips that only have one suitable input (ADV7611 by design, and ADV7612 due to commit 7111cddd518f ("[media] media: adv7604: reduce support to

[PATCH v3 2/7] media: adv7604: automatic "default-input" selection

2016-04-14 Thread Ulrich Hecht
From: William Towle <william.to...@codethink.co.uk> Add logic such that the "default-input" property becomes unnecessary for chips that only have one suitable input (ADV7611 by design, and ADV7612 due to commit 7111cddd518f ("[media] media: adv7604: reduce support to

[PATCH 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Jean-Michel Hautbois
..221b75c 100644 --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -10,6 +10,7 @@ Required Properties: - compatible: Must contain one of the following - adi,adv7611 for the ADV7611 +- adi,adv7604 for the ADV7604

Re: [PATCH 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Hans Verkuil
of the following - adi,adv7611 for the ADV7611 +- adi,adv7604 for the ADV7604 - reg: I2C slave address @@ -32,6 +33,8 @@ The digital output port node must contain at least one endpoint. Optional Properties: - reset-gpios: Reference to the GPIO connected to the device's reset pin

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-26 Thread Valentine
On 11/20/2013 07:53 PM, Valentine wrote: On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4afa42af2daa12 No, I missed that one somehow, although I did search

Re: Connecting ADV76xx to CSI via SFMC

2014-11-25 Thread Jean-Michel Hautbois
Hi Philipp, Thanks for answering. 2014-11-25 9:16 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Montag, den 24.11.2014, 16:19 +0100 schrieb Jean-Michel Hautbois: Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Hans Verkuil
On 02/04/15 12:27, Laurent Pinchart wrote: Hi Hans, Thank you for the patch. On Wednesday 04 February 2015 10:55:21 Hans Verkuil wrote: On 02/03/15 18:13, Pablo Anton wrote: It is confusing which parts of the driver are adv7604 specific, adv7611 specific or common for both. This patch

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Laurent Pinchart
Hi Hans, On Wednesday 04 February 2015 12:35:34 Hans Verkuil wrote: On 02/04/15 12:27, Laurent Pinchart wrote: On Wednesday 04 February 2015 10:55:21 Hans Verkuil wrote: On 02/03/15 18:13, Pablo Anton wrote: It is confusing which parts of the driver are adv7604 specific, adv7611 specific

Re: [PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Lars-Peter Clausen
region\n); + return -ENODEV; + } + /* * Verify that the chip is present. On ADV7604 the RD_INFO register only * identifies the revision, while on ADV7611 it identifies the model as * well. Use the HDMI slave address on ADV7604 and RD_INFO on ADV7611

[PATCH v2 1/5] dt-bindings: media: adv7604: Add support for i2c_new_secondary_device

2018-02-12 Thread Kieran Bingham
Documentation/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -13,7 +13,11 @@ Required Properties: - "adi,adv7611" for the ADV7611 - "adi,adv7612" for the ADV7612 - - reg: I2C slave address + - reg:

[PATCH v3 1/5] dt-bindings: media: adv7604: Add support for i2c_new_secondary_device

2018-02-12 Thread Kieran Bingham
gs/media/i2c/adv7604.txt index 9cbd92eb5d05..ebb5f070c05b 100644 --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -13,7 +13,11 @@ Required Properties: - "adi,adv7611" for the ADV7611 - "adi,adv7612

Re: [PATCH v3 1/5] dt-bindings: media: adv7604: Add support for i2c_new_secondary_device

2018-02-13 Thread Kieran Bingham
b/Documentation/devicetree/bindings/media/i2c/adv7604.txt index >> 9cbd92eb5d05..ebb5f070c05b 100644 >> --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt >> +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt >> @@ -13,7 +13,11 @@ Required Properties: >

Re: [PATCH v3 1/5] dt-bindings: media: adv7604: Add support for i2c_new_secondary_device

2018-02-13 Thread Laurent Pinchart
; .../devicetree/bindings/media/i2c/adv7604.txt | 18 > >> > >> -- 1 file changed, 16 insertions(+), 2 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.txt > >> b/Documentation/devicetree/bin

Re: [PATCH v3 1/5] dt-bindings: media: adv7604: Add support for i2c_new_secondary_device

2018-02-13 Thread Laurent Pinchart
92eb5d05..ebb5f070c05b 100644 > --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt > +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt > @@ -13,7 +13,11 @@ Required Properties: > - "adi,adv7611" for the ADV7611 > - "adi,adv7612&qu

[PATCH v4 1/5] dt-bindings: media: adv7604: Extend bindings to allow specifying slave map addresses

2018-02-13 Thread Kieran Bingham
+++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -13,7 +13,11 @@ Required Properties: - "adi,adv7611" for the ADV7611 - "adi,adv7612" for the ADV7612 - - reg: I2C slave address + - reg: I2C slave addresses +The ADV76xx has up to thirteen 256-by

[PATCH 0/3] media: Add SH-Mobile RCAR-H2 Lager board support

2013-09-24 Thread Valentine Barshak
The following patches add ADV7611/ADV7612 HDMI receiver I2C driver and add RCAR H2 SOC support along with ADV761x output format support to rcar_vin soc_camera driver. These changes are needed for SH-Mobile R8A7790 Lager board video input support. Valentine Barshak (3): media: i2c: Add ADV761X

Re: [PATCH 1/3] media: i2c: Add ADV761X support

2013-09-25 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 24 September 2013 17:54:11 Guennadi Liakhovetski wrote: Hi Valentine, On Tue, 24 Sep 2013, Valentine Barshak wrote: This adds ADV7611/ADV7612 Dual Port Xpressview 225 MHz HDMI Receiver support. The code is based on the ADV7604 driver, and ADV7612 patch

Re: [PATCH 0/3] media: Add SH-Mobile RCAR-H2 Lager board support

2013-11-12 Thread Valentine
On 11/12/2013 03:42 AM, Laurent Pinchart wrote: Hi Valentine, On Tuesday 24 September 2013 17:38:33 Valentine Barshak wrote: The following patches add ADV7611/ADV7612 HDMI receiver I2C driver and add RCAR H2 SOC support along with ADV761x output format support to rcar_vin soc_camera driver

Re: [PATCH 0/3] media: Add SH-Mobile RCAR-H2 Lager board support

2013-11-12 Thread Laurent Pinchart
Hi Valentine, On Wednesday 13 November 2013 00:34:04 Valentine wrote: On 11/12/2013 03:42 AM, Laurent Pinchart wrote: On Tuesday 24 September 2013 17:38:33 Valentine Barshak wrote: The following patches add ADV7611/ADV7612 HDMI receiver I2C driver and add RCAR H2 SOC support along

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-20 Thread Valentine
On 11/20/2013 07:42 PM, Hans Verkuil wrote: Hi Valentine, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4afa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before implementing this one

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-27 Thread Hans Verkuil
look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e4a fa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before implementing this one. I'm going to look closer at the patch and test it. I've tried the patch

Re: [PATCH V2] media: i2c: Add ADV761X support

2013-11-27 Thread Laurent Pinchart
wrote: Hi Valentine, Hi Hans, Did you ever look at this adv7611 driver: https://github.com/Xilinx/linux-xlnx/commit/610b9d5de22ae7c0047c65a07e 4afa42af2daa12 No, I missed that one somehow, although I did search for the adv7611/7612 before implementing this one. I'm going

Re: [PATCH v4 45/49] adv7604: Add DT support

2014-04-17 Thread Sylwester Nawrocki
On 17/04/14 16:39, Sylwester Nawrocki wrote: On 17/04/14 16:13, Laurent Pinchart wrote: Parse the device tree node to populate platform data. Only the ADV7611 is currently support with DT. Cc: devicet...@vger.kernel.org Cc: Sylwester Nawrocki s.nawro...@samsung.com Signed-off

Re: [GIT PULL for 3.16-rc1] updates and DT support for adv7604

2014-06-06 Thread Ben Dooks
support. Can we use the adv7611 for the adv7612 with these? You can, except that you won't be able to use the second HDMI in. But it should be fairly trivial to add that. Thanks, we're going to try the rcar_vin driver and the HDMI in on the Lager board next week. -- Ben Dooks

Re: [PATCH v2 2/2] adv7604: Use DT parsing in dummy creation

2014-09-01 Thread Jean-Michel Hautbois
of the following - adi,adv7611 for the ADV7611 +- adi,adv7604 for the ADV7604 Addition of ADV7604 support is unrelated to the subject and needs to be split into a separate patch. OK, I will do that. - - reg: I2C slave address + - reg: I2C slave addresses +The ADV7604 has thirteen 256-byte

[PATCH 1/2] adv7604: Add support for i2c_new_secondary_device

2014-09-05 Thread Jean-Michel Hautbois
contain one of the following - adi,adv7611 for the ADV7611 +- adi,adv7604 for the ADV7604 - - reg: I2C slave address + - reg: I2C slave addresses +The ADV7604 has thirteen 256-byte maps that can be accessed via the main +I²C ports. Each map has it own I²C address and acts

[PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-22 Thread Jean-Michel Hautbois
/media/i2c/adv7604.txt b/Documentation/devicetree/bindings/media/i2c/adv7604.txt index 5c8b3e6..8486b5c 100644 --- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt +++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt @@ -12,7 +12,10 @@ Required Properties: - adi,adv7611

Re: [linux-sunxi] [PATCH v3 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2017-12-18 Thread Yong
gt; > + reg = <0x01cb4000 0x1000>; > > > > + interrupts = ; > > > > + clocks = < CLK_BUS_CSI>, > > > > +< CLK_CSI1_SCLK>, > > > > > > CSI also has an MCLK. Do you need that one?

Re: [PATCH] adv7604: Add DT parsing support

2015-01-09 Thread Jean-Michel Hautbois
support for DT parsing of ADV7604 as well as ADV7611. It needs to be improved in order to get ports parsing too. Let's improve it then :-) The DT bindings as proposed by this patch are incomplete, that's just asking for trouble. How would you model the adv7604 ports ? I am opened

Re: HDMI and Composite capture on Lager, for kernel 4.1, version 5

2015-07-28 Thread Hans Verkuil
series contains a fix for probing the ADV7611/ADV7612 chips, a reduced (and renamed) chip info and formats patch intended to pave the way for better ADV7612 support, and updates to rcar_vin_try_fmt() in line with the latest feedback. Cheers, Wills. I've merged patches 3-13 (patches 10 and 11

Re: [PATCH v4 2/8] media: adv7604: automatic "default-input" selection

2016-06-27 Thread Hans Verkuil
On 05/11/2016 04:02 PM, Ulrich Hecht wrote: > From: William Towle <william.to...@codethink.co.uk> > > Add logic such that the "default-input" property becomes unnecessary > for chips that only have one suitable input (ADV7611 by design, and > ADV7612 due to comm

  1   2   3   >