<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/i2c, branch v4.11</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.11</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.11'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2017-03-24T11:22:18Z</updated>
<entry>
<title>i2c: mux: pca954x: Add missing pca9546 definition to chip_desc</title>
<updated>2017-03-24T11:22:18Z</updated>
<author>
<name>Mike Looijmans</name>
<email>mike.looijmans@topic.nl</email>
</author>
<published>2017-03-23T09:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbe4d69d252e9e65c6c46826980b77b11a142065'/>
<id>urn:sha1:dbe4d69d252e9e65c6c46826980b77b11a142065</id>
<content type='text'>
The spec for the pca9546 was missing. This chip is the same as the pca9545
except that it lacks interrupt lines. While the i2c_device_id table mapped
the pca9546 to the pca9545 definition the compatible table did not.

Signed-off-by: Mike Looijmans &lt;mike.looijmans@topic.nl&gt;
Signed-off-by: Peter Rosin &lt;peda@axentia.se&gt;
</content>
</entry>
<entry>
<title>Revert "i2c: mux: pca954x: Add ACPI support for pca954x"</title>
<updated>2017-03-23T21:12:22Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2017-03-21T19:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e88162f9dad426f3c83e23150b7f28b7d9486df8'/>
<id>urn:sha1:e88162f9dad426f3c83e23150b7f28b7d9486df8</id>
<content type='text'>
In ACPI world any ID should be carefully chosen and registered
officially. The commit bbf9d262a147 seems did a wrong assumption because
PCA is the registered PNP ID for "PHILIPS BU ADD ON CARD". I'm pretty
sure this prefix has nothing to do with the driver in question.

Moreover, newer ACPI specification has a support of _DSD method and
special device IDs to allow drivers be enumerated via compatible string.
The slight change to support this kind of enumeration will be added in
sequential patch against pca954x.c.

Revert the commit bbf9d262a147 for good.

Cc: Tin Huynh &lt;tnhuynh@apm.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Peter Rosin &lt;peda@axentia.se&gt;
</content>
</entry>
<entry>
<title>Revert "i2c: copy device properties when using i2c_register_board_info()"</title>
<updated>2017-03-09T15:41:48Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2017-03-09T15:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=806dbb20efde821910b5f747befed794077a9109'/>
<id>urn:sha1:806dbb20efde821910b5f747befed794077a9109</id>
<content type='text'>
This reverts commit b0c1e95ab44feaad8831f2c06a3473c974003b49. It
contains a flaw and the next version has more features added which makes
me want to move it to the next cycle.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'i2c-mux/for-current' of https://github.com/peda-r/i2c-mux into i2c/for-current</title>
<updated>2017-03-09T15:34:41Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2017-03-09T15:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e61dfc836b8a95c54e5b41d2247df258b0593a1b'/>
<id>urn:sha1:e61dfc836b8a95c54e5b41d2247df258b0593a1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "i2c: add missing of_node_put in i2c_mux_del_adapters"</title>
<updated>2017-03-09T15:33:50Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2017-03-09T15:32:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8ce0928e6867fda4d208d7bddf251bce96ab8431'/>
<id>urn:sha1:8ce0928e6867fda4d208d7bddf251bce96ab8431</id>
<content type='text'>
This reverts commit 02dbfa5e5583523035f05636c614a0eca77f1aab. I grabbed
the wrong version from the list and will pull the proper one from Peter
Rosin's mux tree.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: exynos5: Avoid transaction timeouts due TRANSFER_DONE_AUTO not set</title>
<updated>2017-03-09T14:50:16Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2017-03-09T14:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9ad224744218a352964f31007a1420f2420a08a0'/>
<id>urn:sha1:9ad224744218a352964f31007a1420f2420a08a0</id>
<content type='text'>
After commit 7999eecb7e56 ("i2c: exynos5: fix arbitration lost handling"),
some I2C transactions are failing because the TRANSFER_DONE_AUTO field is
not set in the I2C_TRANS_STATUS register so the i2c-&gt;status value is left
to -EINVAL causing the i2c-&gt;msg_complete completion to never be signaled.

For example, when reading the time of an I2C rtc on an Exynos5800 machine:

$ cat /sys/class/rtc/rtc0/time
[   25.924594] exynos5-hsi2c 12e10000.i2c: rx timeout
[   65.028365] max77686-rtc max77802-rtc: Fail to read time reg(-22)
cat: /sys/class/rtc/rtc0/time: Invalid argument

The Exynos5422 manual states clearly that most I2C_TRANS_STATUS reg bits
(including TRANSFER_DONE_AUTO) are cleared after the register is read. So
reading has side effects and should only be done if HSI2C_INT_I2C was set.

Fixes: 7999eecb7e56 ("i2c: exynos5: fix arbitration lost handling")
Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Reviewed-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: designware: add reset interface</title>
<updated>2017-03-08T17:15:18Z</updated>
<author>
<name>Zhangfei Gao</name>
<email>zhangfei.gao@linaro.org</email>
</author>
<published>2016-12-27T14:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab809fd81fde3d416f8656d8f814a0777fb9b65e'/>
<id>urn:sha1:ab809fd81fde3d416f8656d8f814a0777fb9b65e</id>
<content type='text'>
Some platforms like hi3660 need do reset first to allow accessing registers

Signed-off-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Tested-by: Ramiro Oliveira &lt;ramiro.oliveira@synopsys.com&gt;
Acked-by: Jarkko Nikula &lt;jarkko.nikula@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: meson: fix wrong variable usage in meson_i2c_put_data</title>
<updated>2017-03-08T17:06:47Z</updated>
<author>
<name>Heiner Kallweit</name>
<email>hkallweit1@gmail.com</email>
</author>
<published>2017-03-07T20:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b0277f198ac928f323c42e180680d2f79aa980d'/>
<id>urn:sha1:3b0277f198ac928f323c42e180680d2f79aa980d</id>
<content type='text'>
Most likely a copy &amp; paste error.

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Acked-by: Jerome Brunet &lt;jbrunet@baylibre.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Fixes: 30021e3707a7 ("i2c: add support for Amlogic Meson I2C controller")
</content>
</entry>
<entry>
<title>i2c: copy device properties when using i2c_register_board_info()</title>
<updated>2017-03-08T17:05:09Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2017-02-28T19:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b0c1e95ab44feaad8831f2c06a3473c974003b49'/>
<id>urn:sha1:b0c1e95ab44feaad8831f2c06a3473c974003b49</id>
<content type='text'>
This will allow marking device property lists as __initdata, the same as
board info structures themselves.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: m65xx: drop superfluous quirk structure</title>
<updated>2017-03-08T17:03:41Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2017-02-27T19:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1945250d979203ed326b5a44fd705b6b2c46eec5'/>
<id>urn:sha1:1945250d979203ed326b5a44fd705b6b2c46eec5</id>
<content type='text'>
All length fields in Linux I2C are u16, so a HW length limitation of 16
bit lengths is not a limitation. Remove the quirk structure.

Tested-by: Jun Gao &lt;jun.gao@mediatek.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
</feed>
