<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/i2c, branch tegra-T30.ER5</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: tegra: Making proper synchronization between isr and caller</title>
<updated>2011-05-13T01:56:08+00:00</updated>
<author>
<name>Alok Chauhan</name>
<email>alokc@nvidia.com</email>
</author>
<published>2011-05-05T05:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8b3c04964dc8692bc70b0ab32abad4a55e9d90c8'/>
<id>8b3c04964dc8692bc70b0ab32abad4a55e9d90c8</id>
<content type='text'>
Following are the changes:
- Added a mechanism to handle synchronization between caller thread
  and isr so that isr should not get called when clock is disable or
  controller is in reset state.
- Handling tx fifo overflow error.
- Added delay before resetting the controller which is required if
  there is any error in previous transaction so proper stop signal
  will be generated.

Change-Id: I7ac121e056193cd4601f032cdabab59e7e0946ea
Reviewed-on: http://git-master/r/30457
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Danielle Sun &lt;dsun@nvidia.com&gt;
Tested-by: Danielle Sun &lt;dsun@nvidia.com&gt;
Reviewed-by: Bo Yan &lt;byan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following are the changes:
- Added a mechanism to handle synchronization between caller thread
  and isr so that isr should not get called when clock is disable or
  controller is in reset state.
- Handling tx fifo overflow error.
- Added delay before resetting the controller which is required if
  there is any error in previous transaction so proper stop signal
  will be generated.

Change-Id: I7ac121e056193cd4601f032cdabab59e7e0946ea
Reviewed-on: http://git-master/r/30457
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Danielle Sun &lt;dsun@nvidia.com&gt;
Tested-by: Danielle Sun &lt;dsun@nvidia.com&gt;
Reviewed-by: Bo Yan &lt;byan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: tegra: Add more debug message in failure case</title>
<updated>2011-05-05T07:21:05+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2011-05-02T11:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=46bd012366618dedcc17d3bde488bbd54f7aac52'/>
<id>46bd012366618dedcc17d3bde488bbd54f7aac52</id>
<content type='text'>
Added some more debug message to print during i2c transfer
failure to get more information from log.
This help to understand/analyse the issue quickly.

Change-Id: Ie957b9f2ad737da210722f2ea6f18da9a7b76813
Reviewed-on: http://git-master/r/30011
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added some more debug message to print during i2c transfer
failure to get more information from log.
This help to understand/analyse the issue quickly.

Change-Id: Ie957b9f2ad737da210722f2ea6f18da9a7b76813
Reviewed-on: http://git-master/r/30011
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: clock: tegra: Removing unnecessary clock entry</title>
<updated>2011-04-29T02:53:21+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2011-04-27T13:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=54e13987ee759d29607394ef446b966e769bd781'/>
<id>54e13987ee759d29607394ef446b966e769bd781</id>
<content type='text'>
The clock table have two different entry for a given i2c controller.
The second entry is not required and hence removing from table.
Also removing the reference of this entry from driver.

Change-Id: Iab5f79bf5d1fea9363ef524258fb3ec262547691
Reviewed-on: http://git-master/r/29629
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Reviewed-by: Daniel Willemsen &lt;dwillemsen@nvidia.com&gt;
Reviewed-by: Aleksandr Frid &lt;afrid@nvidia.com&gt;
Reviewed-by: Narendra Damahe &lt;ndamahe@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The clock table have two different entry for a given i2c controller.
The second entry is not required and hence removing from table.
Also removing the reference of this entry from driver.

Change-Id: Iab5f79bf5d1fea9363ef524258fb3ec262547691
Reviewed-on: http://git-master/r/29629
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Reviewed-by: Daniel Willemsen &lt;dwillemsen@nvidia.com&gt;
Reviewed-by: Aleksandr Frid &lt;afrid@nvidia.com&gt;
Reviewed-by: Narendra Damahe &lt;ndamahe@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c/serial: tegra: Fixing pointer check returned from clk_get</title>
<updated>2011-04-26T22:55:55+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2011-04-15T11:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c0c090d57cab98ca1e6af4033e735b213f4d715a'/>
<id>c0c090d57cab98ca1e6af4033e735b213f4d715a</id>
<content type='text'>
The clk_get() api returns valid pointer in case of scucess otherwise
returns error pointer.
Hence checking the retrun pointer using macro IS_ERR_OR_NULL() to
detect any error.

Original-Change-Id: I92a62dc2c22c243e2aa35d7a10f88b6170b02f34
Reviewed-on: http://git-master/r/27876
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I402141a3230b35292bdd31f9c0a7fb3bf261cbee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The clk_get() api returns valid pointer in case of scucess otherwise
returns error pointer.
Hence checking the retrun pointer using macro IS_ERR_OR_NULL() to
detect any error.

Original-Change-Id: I92a62dc2c22c243e2aa35d7a10f88b6170b02f34
Reviewed-on: http://git-master/r/27876
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I402141a3230b35292bdd31f9c0a7fb3bf261cbee
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyrights</title>
<updated>2011-04-26T22:54:21+00:00</updated>
<author>
<name>Scott Williams</name>
<email>scwilliams@nvidia.com</email>
</author>
<published>2011-03-28T07:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a0238cbd9709b5f1a4ccd9ed233f2335d48df023'/>
<id>a0238cbd9709b5f1a4ccd9ed233f2335d48df023</id>
<content type='text'>
Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: tegra: i2c-slave: Fixing initialization seq</title>
<updated>2011-04-26T22:52:04+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2011-02-11T12:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a1f17d92a8add42bf061bead6ac5bf9387ff0b2a'/>
<id>a1f17d92a8add42bf061bead6ac5bf9387ff0b2a</id>
<content type='text'>
Following are changes:
- Using the sysinit_call to initialize the driver.
- Using device from master adapter for slave adpter.

Original-Change-Id: I4dd0725694008a6aaee9a1d3a92d370a5c46de31
Reviewed-on: http://git-master/r/19249
Reviewed-by: Krishna Thota &lt;kthota@nvidia.com&gt;
Tested-by: Krishna Thota &lt;kthota@nvidia.com&gt;
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Change-Id: I62ba2e474d15764eccb2174444b194502e771307
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following are changes:
- Using the sysinit_call to initialize the driver.
- Using device from master adapter for slave adpter.

Original-Change-Id: I4dd0725694008a6aaee9a1d3a92d370a5c46de31
Reviewed-on: http://git-master/r/19249
Reviewed-by: Krishna Thota &lt;kthota@nvidia.com&gt;
Tested-by: Krishna Thota &lt;kthota@nvidia.com&gt;
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Change-Id: I62ba2e474d15764eccb2174444b194502e771307
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: tegra: suppporting clock enable always through platform data.</title>
<updated>2011-04-26T22:51:52+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2011-02-17T11:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5f88fce1acc6fbd3ea4e7397b4ddad854c3fcfc1'/>
<id>5f88fce1acc6fbd3ea4e7397b4ddad854c3fcfc1</id>
<content type='text'>
To make the response fast from i2c, providing the option to enable
clock of i2c always through platform data.

Original-Change-Id: I89c9156fc97f92a45ce72626ccd77920e02ca356
Reviewed-on: http://git-master/r/19880
Tested-by: Pradeep Goudagunta &lt;pgoudagunta@nvidia.com&gt;
Reviewed-by: Ramachandrudu Kandhala &lt;rkandhala@nvidia.com&gt;
Change-Id: Ifaab9d7e052fb377abe27afdeb5c9cb4d19a6320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make the response fast from i2c, providing the option to enable
clock of i2c always through platform data.

Original-Change-Id: I89c9156fc97f92a45ce72626ccd77920e02ca356
Reviewed-on: http://git-master/r/19880
Tested-by: Pradeep Goudagunta &lt;pgoudagunta@nvidia.com&gt;
Reviewed-by: Ramachandrudu Kandhala &lt;rkandhala@nvidia.com&gt;
Change-Id: Ifaab9d7e052fb377abe27afdeb5c9cb4d19a6320
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] tegra: Implementing i2c slave driver</title>
<updated>2011-04-26T22:49:24+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2010-12-23T18:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fe0261ca61a134fc13ae9c0b2a70fd63804a516e'/>
<id>fe0261ca61a134fc13ae9c0b2a70fd63804a516e</id>
<content type='text'>
Implementing i2c slave driver in the linux i2c framework.
This driver will support the slave functionality on tegra i2c
controller.

Original-Change-Id: Ia56e3299605ab8705f2f82bf512195e7736214b3
Reviewed-on: http://git-master/r/14208
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I01b742f2c9477f0df476330e49163eda43a8d14f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementing i2c slave driver in the linux i2c framework.
This driver will support the slave functionality on tegra i2c
controller.

Original-Change-Id: Ia56e3299605ab8705f2f82bf512195e7736214b3
Reviewed-on: http://git-master/r/14208
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I01b742f2c9477f0df476330e49163eda43a8d14f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM]tegra:i2c: Adding i2c slave support apis.</title>
<updated>2011-04-26T22:49:24+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2010-12-23T16:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8d53f33912f5fff0a1050046c059a16ad901ae71'/>
<id>8d53f33912f5fff0a1050046c059a16ad901ae71</id>
<content type='text'>
To support the i2c slave functionality in the kernel, adding the
framework so that chip specific slave driver can be plugged in.

Adding slave adapter and alogithms in framework so that slave bus driver
can register chip specific driver.

Original-Change-Id: Ie002dbd3b021f70814b455471e66a5da378ab3e9
Reviewed-on: http://git-master/r/14206
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I92b6bc4f3953a9edc7f9414a65b69005d2bbf8db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support the i2c slave functionality in the kernel, adding the
framework so that chip specific slave driver can be plugged in.

Adding slave adapter and alogithms in framework so that slave bus driver
can register chip specific driver.

Original-Change-Id: Ie002dbd3b021f70814b455471e66a5da378ab3e9
Reviewed-on: http://git-master/r/14206
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I92b6bc4f3953a9edc7f9414a65b69005d2bbf8db
</pre>
</div>
</content>
</entry>
<entry>
<title>[ARM] tegra i2c: Removing unnecessarily write on INT_STATUS</title>
<updated>2011-04-26T22:48:50+00:00</updated>
<author>
<name>Alok Chauhan</name>
<email>alokc@nvidia.com</email>
</author>
<published>2010-12-24T07:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2acd7ed72f7d2ebfa770e76b72bdb865030c2bec'/>
<id>2acd7ed72f7d2ebfa770e76b72bdb865030c2bec</id>
<content type='text'>
Removing the unnecessarily write in the interrupt status register
to avoid controller status misbehave.

bug 773262

Original-Change-Id: I15e2f3d5b377f44df5aae0fce9b55b2f3e7232b9
Reviewed-on: http://git-master/r/14223
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I17d9b90b91d54248bb23f7426faececd856403ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removing the unnecessarily write in the interrupt status register
to avoid controller status misbehave.

bug 773262

Original-Change-Id: I15e2f3d5b377f44df5aae0fce9b55b2f3e7232b9
Reviewed-on: http://git-master/r/14223
Reviewed-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Tested-by: Alok Chauhan &lt;alokc@nvidia.com&gt;
Reviewed-by: Scott Williams &lt;scwilliams@nvidia.com&gt;
Change-Id: I17d9b90b91d54248bb23f7426faececd856403ea
</pre>
</div>
</content>
</entry>
</feed>
