<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/i2c, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-06T10:09:23Z</updated>
<entry>
<title>[media] tc358743: fix register i2c_rd/wr function fix</title>
<updated>2017-06-06T10:09:23Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2017-05-04T15:20:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b0755e90ae03ba40174842af6fa810355960fbc'/>
<id>urn:sha1:4b0755e90ae03ba40174842af6fa810355960fbc</id>
<content type='text'>
The below mentioned fix contains a small but severe bug,
fix it to make the driver work again.

Fixes: 3538aa6ecfb2 ("[media] tc358743: fix register i2c_rd/wr functions")

Cc: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Hans Verkuil &lt;hansverk@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] cec: select CEC_CORE instead of depend on it</title>
<updated>2017-06-04T18:23:33Z</updated>
<author>
<name>Hans Verkuil</name>
</author>
<published>2017-05-28T08:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9177e51d1434076a91f9bfb693deae8b955d6d57'/>
<id>urn:sha1:9177e51d1434076a91f9bfb693deae8b955d6d57</id>
<content type='text'>
The CEC framework is used by both drm and media. That makes it tricky
to get the dependencies right.

This patch moves the CEC_CORE and MEDIA_CEC_NOTIFIER config options
out of the media menu and instead drivers that want to use CEC should
select CEC_CORE and MEDIA_CEC_NOTIFIER (if needed).

Signed-off-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: print error if devm_*_optional*() fails</title>
<updated>2017-04-25T10:08:21Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2017-04-19T12:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3622d3e77ecef090b5111e3c5423313f11711dfa'/>
<id>urn:sha1:3622d3e77ecef090b5111e3c5423313f11711dfa</id>
<content type='text'>
devm_gpiod_get_optional() can return -ENOSYS if GPIOLIB is
disabled, causing probe to fail. Warn the user if this
happens.

Acked-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Acked-by: Hans Verkuil &lt;hans.verkuil@cisco.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: add support for MEDIA_BUS_FMT_YVYU8_2X8 and MEDIA_BUS_FMT_VYUY8_2X8</title>
<updated>2017-04-19T12:01:43Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d72b196f96e2afad1656c9332da7ffe3b07e17cb'/>
<id>urn:sha1:d72b196f96e2afad1656c9332da7ffe3b07e17cb</id>
<content type='text'>
Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: fix vflip control</title>
<updated>2017-04-19T12:01:09Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f140fc2064bcd23e0490d8210650e2ef21c1c89'/>
<id>urn:sha1:7f140fc2064bcd23e0490d8210650e2ef21c1c89</id>
<content type='text'>
Enabling vflip currently causes wrong colors.
It seems that (at least with the current sensor setup) REG04_VFLIP_IMG only
changes the vertical readout direction.
Because pixels are arranged RGRG... in odd lines and GBGB... in even lines,
either a one line shift or even/odd line swap is required, too, but
apparently this doesn't happen.

I finally figured out that this can be done manually by setting
REG04_VREF_EN.
Looking at hflip, it turns out that bit REG04_HREF_EN is set there
permanetly, but according to my tests has no effect on the pixel readout
order.
So my conclusion is that the current documentation of sensor register 0x04
is wrong (has changed after preliminary datasheet version 2.2).

I'm pretty sure that automatic vertical line shift/switch can be enabled,
too, but until anyone finds ot how this works, we have to stick with manual
switching.

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: fix duplicate width+height returning from ov2640_select_win()</title>
<updated>2017-04-19T11:58:41Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38eeb491cf81dc8552d8b2e29f4f1807cb6e4d11'/>
<id>urn:sha1:38eeb491cf81dc8552d8b2e29f4f1807cb6e4d11</id>
<content type='text'>
ov2640_select_win() returns height and width values as part of struct
ov2640_win_size, so there is no point in modifying the passed height and
width parameters, too.

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: add missing write to size change preamble</title>
<updated>2017-04-19T11:55:38Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f7711b2ad3b2e2aa3e9e3db4d3a2887e38b52b3'/>
<id>urn:sha1:2f7711b2ad3b2e2aa3e9e3db4d3a2887e38b52b3</id>
<content type='text'>
HSIZE and VSIZE bits 0 to 2 and HSIZE bit 11 are encoded in DSP register
SIZEL.

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: add information about DSP register 0xc7</title>
<updated>2017-04-19T11:55:07Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06dd8f7791ed9ec284a847ee5089850c00d71fd8'/>
<id>urn:sha1:06dd8f7791ed9ec284a847ee5089850c00d71fd8</id>
<content type='text'>
According to ov2640 software application notes, there are two Automatic
White Balance (AWB) modes, which are selected by DSP register 0xc7:

1) Simple AWB: assumes the average color is gray
   + independent from lens
   - doesn't work well if captured area contains unbalanced colors
     (e.g. large blue background)

2) Advanced AWB: uses color temperature information
   + more accurate, works with all image contents
   - lens specific, requires calibration

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: improve banding filter register definitions/documentation</title>
<updated>2017-04-19T11:54:35Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d81638eadded798819c6ad3d31575f2ae7ac8929'/>
<id>urn:sha1:d81638eadded798819c6ad3d31575f2ae7ac8929</id>
<content type='text'>
- add missing initialisation of sensor register COM25 (2 MSBs of banding
  filter AEC values)
- add macros for setting the banding filter AEC values
- add definitions for sensor register 0x5a, which is documented in
  Omnivisions software application notes

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
<entry>
<title>[media] ov2640: fix init sequence alignment</title>
<updated>2017-04-19T11:53:36Z</updated>
<author>
<name>Frank Schaefer</name>
</author>
<published>2017-04-16T17:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=534dca983e3a9b8ea461104d4072d2a646acefdf'/>
<id>urn:sha1:534dca983e3a9b8ea461104d4072d2a646acefdf</id>
<content type='text'>
While we are at it, remove a misleading comment (copy/paste mistake)

Signed-off-by: Frank Schäfer &lt;fschaefer.oss@googlemail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@s-opensource.com&gt;
</content>
</entry>
</feed>
