<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/i2c, branch tegra-11.2.9</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>i2c: buses: tegra: assign unused address to i2c slave</title>
<updated>2011-04-05T00:59:06+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2011-04-01T14:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bdf0b4ce59907edd0523c5fb29a02e53a8e66a13'/>
<id>bdf0b4ce59907edd0523c5fb29a02e53a8e66a13</id>
<content type='text'>
New i2c slave should be configured with a non-zero i2c address.
Configure i2c slave with an i2c address assigned by platform
data for an i2c dev.

BUG 788286

Reviewed-on: http://git-master/r/25100
(cherry picked from commit e6e0610c72ffce3b734e079faf88fad3f0468d07)

Change-Id: I440aa2cc72007d2835b2027c0b26089d0aad9263
Reviewed-on: http://git-master/r/25223
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New i2c slave should be configured with a non-zero i2c address.
Configure i2c slave with an i2c address assigned by platform
data for an i2c dev.

BUG 788286

Reviewed-on: http://git-master/r/25100
(cherry picked from commit e6e0610c72ffce3b734e079faf88fad3f0468d07)

Change-Id: I440aa2cc72007d2835b2027c0b26089d0aad9263
Reviewed-on: http://git-master/r/25223
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: buses: tegra: use new cam_i2c slave controller</title>
<updated>2011-03-26T00:09:08+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2011-03-25T09:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b42cce8710bef378af433b7f06a8501128fc1a87'/>
<id>b42cce8710bef378af433b7f06a8501128fc1a87</id>
<content type='text'>
Use new cam_i2c slave (i2c2) instead of the legacy one.
With old i2c slave controller, occasionally it generates
spurious slave interrupts causing disruptions in i2c transfers.

BUG 790315

Reviewed-on: http://git-master/r/24287
(cherry picked from commit 001805e9036b647e9a1220f2b50e8973ec28e917)

Change-Id: Icd5310286de0338a4458c26a8d491bcded032b03
Reviewed-on: http://git-master/r/24294
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use new cam_i2c slave (i2c2) instead of the legacy one.
With old i2c slave controller, occasionally it generates
spurious slave interrupts causing disruptions in i2c transfers.

BUG 790315

Reviewed-on: http://git-master/r/24287
(cherry picked from commit 001805e9036b647e9a1220f2b50e8973ec28e917)

Change-Id: Icd5310286de0338a4458c26a8d491bcded032b03
Reviewed-on: http://git-master/r/24294
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: buses: tegra: use new i2c slave controller</title>
<updated>2011-03-26T00:08:59+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2011-03-24T10:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=93da32d7e16da64d6d4dd37fb18125ad0be8aa63'/>
<id>93da32d7e16da64d6d4dd37fb18125ad0be8aa63</id>
<content type='text'>
tegra2 has an improved new i2c slave controller. This should be
used instead of the old i2c slave controller. With old i2c slave
controller, occasionally it generates spurious slave interrupts
causing disruptions in master i2c transfers.

BUG 788286
BUG 804545

Reviewed-on: http://git-master/r/24107
(cherry picked from commit 64a6e1d5a555be1c330de80cfb477563ae061452)

Change-Id: Id5d5bd809df4a583a743d84a91aecbb78889a3c6
Reviewed-on: http://git-master/r/24246
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tegra2 has an improved new i2c slave controller. This should be
used instead of the old i2c slave controller. With old i2c slave
controller, occasionally it generates spurious slave interrupts
causing disruptions in master i2c transfers.

BUG 788286
BUG 804545

Reviewed-on: http://git-master/r/24107
(cherry picked from commit 64a6e1d5a555be1c330de80cfb477563ae061452)

Change-Id: Id5d5bd809df4a583a743d84a91aecbb78889a3c6
Reviewed-on: http://git-master/r/24246
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c-tegra: Using suspend_noirq()/resume_noirq() for suspend/resume.</title>
<updated>2011-03-18T23:57:23+00:00</updated>
<author>
<name>Jubeom Kim</name>
<email>jubeomk@nvidia.com</email>
</author>
<published>2011-03-17T14:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8e4f39d9d195facc80d89016806bf45690f4f514'/>
<id>8e4f39d9d195facc80d89016806bf45690f4f514</id>
<content type='text'>
I2C driver needs to be suspended late and resumed early than other drivers.
So, I2C driver uses the suspend_noirq/resume_noirq callbacks of struct dev_pm_ops
for early/late power management system.

Change-Id: Ie2f453b96fb9ab9b16cafec79644fe5d3b982dd3
Reviewed-on: http://git-master/r/23347
Tested-by: Jubeom Kim &lt;jubeomk@nvidia.com&gt;
Reviewed-by: Jinyoung Park &lt;jinyoungp@nvidia.com&gt;
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I2C driver needs to be suspended late and resumed early than other drivers.
So, I2C driver uses the suspend_noirq/resume_noirq callbacks of struct dev_pm_ops
for early/late power management system.

Change-Id: Ie2f453b96fb9ab9b16cafec79644fe5d3b982dd3
Reviewed-on: http://git-master/r/23347
Tested-by: Jubeom Kim &lt;jubeomk@nvidia.com&gt;
Reviewed-by: Jinyoung Park &lt;jinyoungp@nvidia.com&gt;
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c-tegra: Retry transfer when unexpected status is detected</title>
<updated>2011-01-29T03:36:49+00:00</updated>
<author>
<name>Jin Park</name>
<email>jinyoungp@nvidia.com</email>
</author>
<published>2011-01-19T05:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6bab778a4b0caf58e464847c827d988a566bd434'/>
<id>6bab778a4b0caf58e464847c827d988a566bd434</id>
<content type='text'>
Sometimes unexpected status like I2C busy status, Tx FIFO interrupted
and wait on Rx data etc is seen. Add a code to detect such conditions
and return -EAGAIN from driver. This will cause the i2c-core to retry
the transmission as per the retry count and time-out specified by the
platform data of the adapter.

Bug ID: 777455

Change-Id: Iac5971bca4d760d93cd2ed147f78fc2807315b4e
Signed-off-by: Jin Park &lt;jinyoungp@nvidia.com&gt;
Reviewed-on: http://git-master/r/16212
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes unexpected status like I2C busy status, Tx FIFO interrupted
and wait on Rx data etc is seen. Add a code to detect such conditions
and return -EAGAIN from driver. This will cause the i2c-core to retry
the transmission as per the retry count and time-out specified by the
platform data of the adapter.

Bug ID: 777455

Change-Id: Iac5971bca4d760d93cd2ed147f78fc2807315b4e
Signed-off-by: Jin Park &lt;jinyoungp@nvidia.com&gt;
Reviewed-on: http://git-master/r/16212
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: tegra: functionality for byte data</title>
<updated>2011-01-19T21:28:22+00:00</updated>
<author>
<name>Prashant Gaikwad</name>
<email>pgaikwad@nvidia.com</email>
</author>
<published>2011-01-19T12:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=54b38123cfac7aa09b383fb05e57c4d9c842607f'/>
<id>54b38123cfac7aa09b383fb05e57c4d9c842607f</id>
<content type='text'>
ADXL34x expects I2C_FUNC_SMBUS_BYTE_DATA functionality.

Bug 780004

Change-Id: I7820050e7b94eec8614bb42bb1a83319a1408203
Reviewed-on: http://git-master/r/16235
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ADXL34x expects I2C_FUNC_SMBUS_BYTE_DATA functionality.

Bug 780004

Change-Id: I7820050e7b94eec8614bb42bb1a83319a1408203
Reviewed-on: http://git-master/r/16235
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "i2c: return error if i2c_transfer fails in emulated smbus transfer"</title>
<updated>2011-01-05T14:39:01+00:00</updated>
<author>
<name>Varun Wadekar</name>
<email>vwadekar@nvidia.com</email>
</author>
<published>2011-01-05T09:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=53baae0673cf441281dafd55dc2307b268eb7184'/>
<id>53baae0673cf441281dafd55dc2307b268eb7184</id>
<content type='text'>
This reverts commit 2947168d5dfa642cd77ab034fc0bea69382350e2.

Change-Id: I494b4f80cbab5db2e573b4f796f827354087c212
Reviewed-on: http://git-master/r/14990
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Tested-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2947168d5dfa642cd77ab034fc0bea69382350e2.

Change-Id: I494b4f80cbab5db2e573b4f796f827354087c212
Reviewed-on: http://git-master/r/14990
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Tested-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36</title>
<updated>2011-01-05T11:07:40+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2011-01-05T11:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a4ea288313b4b7d660c830c43623a5a3edf393d6'/>
<id>a4ea288313b4b7d660c830c43623a5a3edf393d6</id>
<content type='text'>
Change-Id: I5fba2375f84610fda29872d1ea41d82404ee08f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5fba2375f84610fda29872d1ea41d82404ee08f6
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: i2c-tegra: Return error code on partial master_xfer transfer</title>
<updated>2011-01-04T22:55:39+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2010-12-30T05:15:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=619ec9a64fc0d4e99109f12bd8f30cf0761f1d5d'/>
<id>619ec9a64fc0d4e99109f12bd8f30cf0761f1d5d</id>
<content type='text'>
It is unclear what the correct return value is when
master_xfer gets an error part way through a set of
messages, but other drivers seem to return the error
code of the individual failed message instead of
the number of successful messages.  Convert the Tegra
i2c driver to do the same.

Change-Id: Iacda4b6d7591bfe644b93564b93356a0cda3134f
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is unclear what the correct return value is when
master_xfer gets an error part way through a set of
messages, but other drivers seem to return the error
code of the individual failed message instead of
the number of successful messages.  Convert the Tegra
i2c driver to do the same.

Change-Id: Iacda4b6d7591bfe644b93564b93356a0cda3134f
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36</title>
<updated>2010-12-23T09:28:35+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2010-12-23T09:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=96a476b53360de76f20774122111f031be9ac9c2'/>
<id>96a476b53360de76f20774122111f031be9ac9c2</id>
<content type='text'>
Conflicts:
	arch/arm/mach-tegra/board-ventana-power.c
	drivers/mfd/tps6586x.c

Change-Id: Ic8c46d4251d6e71fa2900b7e876f87e256299bc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	arch/arm/mach-tegra/board-ventana-power.c
	drivers/mfd/tps6586x.c

Change-Id: Ic8c46d4251d6e71fa2900b7e876f87e256299bc4
</pre>
</div>
</content>
</entry>
</feed>
