<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/i2c, branch v3.12.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/i2c?h=v3.12.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/i2c?h=v3.12.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-02-06T19:22:20Z</updated>
<entry>
<title>i2c: piix4: Add support for AMD ML and CZ SMBus changes</title>
<updated>2014-02-06T19:22:20Z</updated>
<author>
<name>Shane Huang</name>
<email>shane.huang@amd.com</email>
</author>
<published>2014-01-22T22:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5a81a0ae34d50bf9c15d9f4b233f81888a000650'/>
<id>urn:sha1:5a81a0ae34d50bf9c15d9f4b233f81888a000650</id>
<content type='text'>
commit 032f708bc4f6da868ec49dac48ddf3670d8035d3 upstream.

The locations of SMBus register base address and enablement bit are changed
from AMD ML, which need this patch to be supported.

Signed-off-by: Shane Huang &lt;shane.huang@amd.com&gt;
Reviewed-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs</title>
<updated>2014-02-06T19:22:19Z</updated>
<author>
<name>Gregory CLEMENT</name>
<email>gregory.clement@free-electrons.com</email>
</author>
<published>2013-12-31T15:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6ab649440058e703f5d479cb390050937c3b1702'/>
<id>urn:sha1:6ab649440058e703f5d479cb390050937c3b1702</id>
<content type='text'>
commit 6cf70ae928bae17077efc0d528dec49bc380438b upstream.

The first variants of Armada XP SoCs (A0 stepping) have issues related
to the i2c controller which prevent to use the offload mechanism and
lead to a kernel hang during boot.

The commit introduces a new the compatible string
marvell,mv78230-a0-i2c for the i2c controller. When this compatible
string is used the driver disables the offload mechanism and the
kernel no more hangs on these SoCs.

Signed-off-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Reported-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 930ab3d403ae (i2c: mv64xxx: Add I2C Transaction Generator support)
Signed-off-by: Jason Cooper &lt;jason@lakedaemon.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: mux: gpio: use gpio_set_value_cansleep()</title>
<updated>2013-12-04T19:05:11Z</updated>
<author>
<name>Ionut Nicu</name>
<email>ioan.nicu.ext@nsn.com</email>
</author>
<published>2013-10-11T12:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9770b2810aafbb61bff57c39d3384448f0a7b01b'/>
<id>urn:sha1:9770b2810aafbb61bff57c39d3384448f0a7b01b</id>
<content type='text'>
commit 250ad590d6f12d93f4d85be305b0a598d609232e upstream.

Some gpio chips may have get/set operations that
can sleep. gpio_set_value() only works for chips
which do not sleep, for the others we will get a
kernel warning. Using gpio_set_value_cansleep()
will work for both chips that do sleep and those
who don't.

Signed-off-by: Ionut Nicu &lt;ioan.nicu.ext@nsn.com&gt;
Acked-by: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: mux: gpio: use reg value for i2c_add_mux_adapter</title>
<updated>2013-12-04T19:05:11Z</updated>
<author>
<name>Ionut Nicu</name>
<email>ioan.nicu.ext@nsn.com</email>
</author>
<published>2013-10-11T10:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=91831b48272d5cf2759d6d89a2f67cc7ebec72d0'/>
<id>urn:sha1:91831b48272d5cf2759d6d89a2f67cc7ebec72d0</id>
<content type='text'>
commit 8c0ec2500eeb89749341884a972860d7f9e56f9c upstream.

The i2c-mux driver requires that the chan_id parameter
passed to the i2c_add_mux_adapter() function is equal
to the reg value for that adapter:

for_each_child_of_node(mux_dev-&gt;of_node, child) {
	ret = of_property_read_u32(child, "reg", &amp;reg);
	if (ret)
		continue;
	if (chan_id == reg) {
		priv-&gt;adap.dev.of_node = child;
		break;
	}
}

The i2c-mux-gpio driver uses an internal logical index
for chan_id when calling i2c_add_mux_adapter() instead
of using the reg value.

Because of this, there will problems in selecting the
right adapter when the i2c-mux-gpio's index into
mux-&gt;data.values doesn't match the reg value.

An example of such a case:

mux-&gt;data.values = { 1, 0 }

For chan_id = 0, i2c-mux will bind the adapter to the
of_node with reg = &lt;0&gt;, but when it will call the
select() callback with chan_id set to 0, the i2c-mux-gpio
will use it as an index into mux-&gt;data.values and it will
actually select the bus with reg = &lt;1&gt;.

Signed-off-by: Ionut Nicu &lt;ioan.nicu.ext@nsn.com&gt;
Acked-by: Alexander Sverdlin &lt;alexander.sverdlin@nsn.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: wmt: add missing clk_disable_unprepare() on error</title>
<updated>2013-12-04T19:05:11Z</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-11-11T14:23:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5b13b578a4a0e7dce4f20f3ab79a00c78623f47c'/>
<id>urn:sha1:5b13b578a4a0e7dce4f20f3ab79a00c78623f47c</id>
<content type='text'>
commit 2dc9688a106886db7191d30f30ffd61fde827efd upstream.

Add the missing clk_disable_unprepare() before return
from wmt_i2c_reset_hardware() in the error handling case.

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: i2c-mux-pinctrl: use deferred probe when adapter not found</title>
<updated>2013-10-10T08:22:35Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2013-10-10T08:19:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2737de460e33df89461a59b247d3bfd477101785'/>
<id>urn:sha1:2737de460e33df89461a59b247d3bfd477101785</id>
<content type='text'>
If it is not there yet, it might appear later.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: i2c-arb-gpio-challenge: use deferred probe when adapter not found</title>
<updated>2013-10-10T08:22:34Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2013-10-10T08:19:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0cd98069ad7acb2a1bdb1bb71b904c1aae0033d0'/>
<id>urn:sha1:0cd98069ad7acb2a1bdb1bb71b904c1aae0033d0</id>
<content type='text'>
If it is not there yet, it might appear later.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: i2c-mux-gpio: use deferred probing</title>
<updated>2013-10-10T08:22:33Z</updated>
<author>
<name>Ionut Nicu</name>
<email>ioan.nicu.ext@nsn.com</email>
</author>
<published>2013-10-09T09:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9937b8d89e1b70c08330b57afbc62c934e37c9e2'/>
<id>urn:sha1:9937b8d89e1b70c08330b57afbc62c934e37c9e2</id>
<content type='text'>
If the i2c-parent bus driver is not loaded, returning
-ENODEV will force people to unload and then reload the
module again to get it working.

Signed-off-by: Ionut Nicu &lt;ioan.nicu.ext@nsn.com&gt;
Acked-by: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: i2c-mux-gpio: don't ignore of_get_named_gpio errors</title>
<updated>2013-10-10T08:22:32Z</updated>
<author>
<name>Ionut Nicu</name>
<email>ioan.nicu.ext@nsn.com</email>
</author>
<published>2013-10-08T13:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=492ed77bfadb968cca7beca348cd45b444393cd4'/>
<id>urn:sha1:492ed77bfadb968cca7beca348cd45b444393cd4</id>
<content type='text'>
of_get_named_gpio could return -E_PROBE_DEFER or another
error code. This error should be passed further instead
of being ignored.

Signed-off-by: Ionut Nicu &lt;ioan.nicu.ext@nsn.com&gt;
Acked-by: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: omap: Clear ARDY bit twice</title>
<updated>2013-10-10T08:22:32Z</updated>
<author>
<name>Taras Kondratiuk</name>
<email>taras.kondratiuk@linaro.org</email>
</author>
<published>2013-10-07T10:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4cdbf7d346e7461c3b93a26707c852e2c9db3753'/>
<id>urn:sha1:4cdbf7d346e7461c3b93a26707c852e2c9db3753</id>
<content type='text'>
Initially commit cb527ede1bf6ff2008a025606f25344b8ed7b4ac
"i2c-omap: Double clear of ARDY status in IRQ handler"
added a workaround for undocumented errata ProDB0017052.
But then commit 1d7afc95946487945cc7f5019b41255b72224b70
"i2c: omap: ack IRQ in parts" refactored code and missed
one of ARDY clearings. So current code violates errata.
It causes often i2c bus timeouts on my Pandaboard.

This patch adds a second clearing in place.

Signed-off-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Signed-off-by: Taras Kondratiuk &lt;taras.kondratiuk@linaro.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Cc: stable@kernel.org
</content>
</entry>
</feed>
