[PATCHv7 11/15] cec: adv7604: add cec support.

2015-06-29 Thread Hans Verkuil
-device.h #include media/v4l2-dv-timings.h @@ -78,6 +79,8 @@ MODULE_LICENSE(GPL); #define ADV76XX_OP_SWAP_CB_CR (1 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -181,6 +184,10 @@ struct adv76xx_state { u16 spa_port_a

Re: [PATCH] adv7604: add CEC support for adv7611/adv7612

2018-10-15 Thread Niklas Söderlund
Hi Hans, Thanks for your patch. On 2018-10-12 13:30:02 +0200, Hans Verkuil wrote: > The CEC IP is very similar between the three HDMI receivers, but > not identical. Add support for all three variants. > > Tested with an adv7604 and an adv7612. > > Signed-off-by: Hans Verkuil This fixes CEC

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

2013-09-25 Thread Laurent Pinchart
Hi Valentine, Thank you for the patch. Please see below for a couple of comments (in addition to Hans' and Guennadi's comments). On Tuesday 24 September 2013 17:38:34 Valentine Barshak wrote: This adds ADV7611/ADV7612 Dual Port Xpressview 225 MHz HDMI Receiver support. The code is based

[PATCH 36/47] adv7604: Make output format configurable through pad format operations

2014-02-05 Thread Laurent Pinchart
(3 5) +#define ADV7604_OP_CH_SEL_BRG (4 5) +#define ADV7604_OP_CH_SEL_RBG (5 5) + +#define ADV7604_OP_SWAP_CB_CR (1 0) + enum adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14

[PATCH v2 36/48] adv7604: Make output format configurable through pad format operations

2014-03-10 Thread Laurent Pinchart
(3 5) +#define ADV7604_OP_CH_SEL_BRG (4 5) +#define ADV7604_OP_CH_SEL_RBG (5 5) + +#define ADV7604_OP_SWAP_CB_CR (1 0) + enum adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14

[GIT PULL FOR v3.17] Patches for 3.17

2014-06-27 Thread Hans Verkuil
(3): em28xx: add MSI Digivox Trio support DocBook media: fix small typo sn9c102: remove deprecated driver Lars-Peter Clausen (1): adv7604: Update recommended writes for the adv7611 Ovidiu Toader (1): staging/media/rtl2832u_sdr: fix coding style problems by adding

[PATCHv8 11/15] cec: adv7604: add cec support.

2015-08-18 Thread Hans Verkuil
-device.h #include media/v4l2-event.h @@ -80,6 +81,8 @@ MODULE_LICENSE(GPL); #define ADV76XX_OP_SWAP_CB_CR (1 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,6 +187,10 @@ struct adv76xx_state { u16 spa_port_a[2

[PATCHv10 12/16] cec: adv7604: add cec support.

2015-11-12 Thread Hans Verkuil
(1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,6 +187,10 @@ struct adv76xx_state { u16 spa_port_a[2]; struct v4l2_fract aspect_ratio; u32 rgb_quantization_range; + u8 cec_addr[AD

[PATCHv9 11/15] cec: adv7604: add cec support.

2015-09-07 Thread Hans Verkuil
(1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,6 +187,11 @@ struct adv76xx_state { u16 spa_port_a[2]; struct v4l2_fract aspect_ratio; u32 rgb_quantization_range; + bool cec_

[PATCHv14 12/18] cec: adv7604: add cec support.

2016-03-25 Thread Hans Verkuil
(1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,6 +187,10 @@ struct adv76xx_state { u16 spa_port_a[2]; struct v4l2_fract aspect_ratio; u32 rgb_quantization_range; + u8 cec_addr[ADV76XX_MAX_ADDRS];

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

2013-09-25 Thread Valentine
On 09/24/2013 06:17 PM, Hans Verkuil wrote: Hi Valentine, Hi Hans, On Tue 24 September 2013 15:38:34 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 by Shinobu Uehara

[PATCH v3 36/48] adv7604: Make output format configurable through pad format operations

2014-03-11 Thread Laurent Pinchart
(3 5) +#define ADV7604_OP_CH_SEL_BRG (4 5) +#define ADV7604_OP_CH_SEL_RBG (5 5) + +#define ADV7604_OP_SWAP_CB_CR (1 0) + enum adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14

[PATCH v4 36/48] adv7604: Make output format configurable through pad format operations

2014-03-18 Thread Laurent Pinchart
adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14 @@ struct adv7604_reg_seq { u8 val; }; +struct adv7604_format_info { + enum v4l2_mbus_pixelcode code; + u8 op_ch_sel; + bool rgb_out; + bool swap_cb_cr; + u8 op_format_sel; +}; + struct adv7604_chip_info

Re: [PATCH v4 36/48] adv7604: Make output format configurable through pad format operations

2014-03-19 Thread Hans Verkuil
adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14 @@ struct adv7604_reg_seq { u8 val; }; +struct adv7604_format_info { + enum v4l2_mbus_pixelcode code; + u8 op_ch_sel; + bool rgb_out; + bool swap_cb_cr; + u8 op_format_sel; +}; + struct

[PATCH v4 35/49] adv7604: Make output format configurable through pad format operations

2014-04-17 Thread Laurent Pinchart
(1 0) + enum adv7604_type { ADV7604, ADV7611, @@ -63,6 +85,14 @@ struct adv7604_reg_seq { u8 val; }; +struct adv7604_format_info { + enum v4l2_mbus_pixelcode code; + u8 op_ch_sel; + bool rgb_out; + bool swap_cb_cr; + u8

Re: [PATCHv16 09/13] cec: adv7604: add cec support.

2016-06-16 Thread Mauro Carvalho Chehab
604.c > +++ b/drivers/media/i2c/adv7604.c > @@ -40,6 +40,7 @@ > #include > > #include > +#include > #include > #include > #include > @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); > > #define ADV76XX_OP_SWAP_CB_CR(1 << 0) > >

[PATCHv17 12/16] cec: adv7604: add cec support.

2016-06-18 Thread Hans Verkuil
adv7604.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV761

[PATCHv18 11/15] cec: adv7604: add cec support.

2016-06-18 Thread Hans Verkuil
,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,

[PATCHv19 10/14] cec: adv7604: add cec support.

2016-06-25 Thread Hans Verkuil
,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV7611, @@ -184,

Re: [PATCHv16 09/13] cec: adv7604: add cec support.

2016-06-17 Thread Hans Verkuil
EV_API >> diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c >> index beb2841..f462585 100644 >> --- a/drivers/media/i2c/adv7604.c >> +++ b/drivers/media/i2c/adv7604.c >> @@ -40,6 +40,7 @@ >> #include >> >> #include >&

[PATCHv13 12/17] cec: adv7604: add cec support.

2016-03-20 Thread Hans Verkuil
rs/media/i2c/adv7604.c +++ b/drivers/media/i2c/adv7604.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) +

[PATCHv16 09/13] cec: adv7604: add cec support.

2016-04-29 Thread Hans Verkuil
adv7604.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV761

[PATCHv15 09/15] cec: adv7604: add cec support.

2016-04-25 Thread Hans Verkuil
adv7604.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -80,6 +81,8 @@ MODULE_LICENSE("GPL"); #define ADV76XX_OP_SWAP_CB_CR (1 << 0) +#define ADV76XX_MAX_ADDRS (3) + enum adv76xx_type { ADV7604, ADV761

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

2013-09-24 Thread Valentine Barshak
This adds ADV7611/ADV7612 Dual Port Xpressview 225 MHz HDMI Receiver support. The code is based on the ADV7604 driver, and ADV7612 patch by Shinobu Uehara shinobu.uehara...@renesas.com Signed-off-by: Valentine Barshak valentine.bars...@cogentembedded.com --- drivers/media/i2c/Kconfig | 11

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

2013-09-24 Thread Hans Verkuil
Hi Valentine, On Tue 24 September 2013 15:38:34 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 by Shinobu Uehara shinobu.uehara...@renesas.com Thanks for the patch! I have

[PATCH V2] media: i2c: Add ADV761X support

2013-11-15 Thread Valentine Barshak
This adds ADV7611/ADV7612 Xpressview HDMI Receiver base support. Only one HDMI port is supported on ADV7612. The code is based on the ADV7604 driver, and ADV7612 patch by Shinobu Uehara shinobu.uehara...@renesas.com Changes in version 2: * Used platform data for I2C addresses setup. The driver

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

2013-11-19 Thread Hans Verkuil
:54, Valentine Barshak wrote: This adds ADV7611/ADV7612 Xpressview HDMI Receiver base support. Only one HDMI port is supported on ADV7612. The code is based on the ADV7604 driver, and ADV7612 patch by Shinobu Uehara shinobu.uehara...@renesas.com Changes in version 2: * Used platform data

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

2013-11-20 Thread Valentine
wrote: This adds ADV7611/ADV7612 Xpressview HDMI Receiver base support. Only one HDMI port is supported on ADV7612. The code is based on the ADV7604 driver, and ADV7612 patch by Shinobu Uehara shinobu.uehara...@renesas.com Changes in version 2: * Used platform data for I2C addresses setup

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

2013-11-20 Thread Hans Verkuil
changes value. OK, thanks. Regards, Hans Thanks, Val. On 11/15/13 13:54, Valentine Barshak wrote: This adds ADV7611/ADV7612 Xpressview HDMI Receiver base support. Only one HDMI port is supported on ADV7612. The code is based on the ADV7604 driver, and ADV7612 patch by Shinobu

Re: [PATCHv16 09/13] cec: adv7604: add cec support.

2016-06-17 Thread Mauro Carvalho Chehab
the code below, and for patches 10-13: all the above > > applies to them. > > Ack. > > > > >> + > >> config VIDEO_ADV7842 > >> tristate "Analog Devices ADV7842 decoder" > >>depends on VIDEO_V4L2 && I2C &am

[GIT PULL for v4.3-rc1] media updates

2015-09-04 Thread Mauro Carvalho Chehab
eth_zero_addr [media] pctv452e: Replace memset with eth_zero_addr William Towle (4): [media] media: adv7604: chip info and formats for ADV7612 [media] media: adv7604: fix probe of ADV7611/7612 [media] media: adv7604: reduce support to first (digital) input [media] media:

[GIT PULL for v4.1-rc1] media updates

2015-04-21 Thread Mauro Carvalho Chehab
mode, signal is locked [media] media: adv7604: CP CSC uses a different register on adv7604 and adv7611 Documentation/DocBook/media/v4l/compat.xml |2 +- .../DocBook/media/v4l/media-ioc-enum-entities.xml | 92 +- .../DocBook/media/v4l/pixfmt-packed-rgb.xml| 79

[GIT PULL for 3.17-rc1] media updates for next

2014-08-05 Thread Mauro Carvalho Chehab
issues [media] staging: media: davinci_vpfe: fix checkpatch warning [media] media: davinci_vpfe: dm365_resizer: fix sparse warning Lars-Peter Clausen (1): [media] adv7604: Update recommended writes for the adv7611 Laurent Pinchart (39): [media] v4l: vsp1: Remove the unneeded

[GIT PULL for v4.2-rc1] media updates

2015-06-25 Thread Mauro Carvalho Chehab
[media] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2 Wei Yongjun (1): [media] rtl28xxu: fix return value check in rtl2832u_tuner_attach() jean-michel.hautb...@vodalys.com (2): [media] media: adv7604: Fix masks used for querying timings in ADV7611 [media

<    1   2   3