<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch v2011.06</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/'/>
<entry>
<title>I2C: Add driver for ST-Ericsson U8500 i2c</title>
<updated>2011-06-01T17:22:47+00:00</updated>
<author>
<name>Michael Brandt</name>
<email>michael.brandt@stericsson.com</email>
</author>
<published>2011-04-19T10:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=d3d6427a3f62bd6a652e1b90bd4ecec8f8b651ec'/>
<id>d3d6427a3f62bd6a652e1b90bd4ecec8f8b651ec</id>
<content type='text'>
Signed-off-by: John Rigby &lt;john.rigby@linaro.org&gt;
CC: Heiko Schocher &lt;hs@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Rigby &lt;john.rigby@linaro.org&gt;
CC: Heiko Schocher &lt;hs@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c, soft_i2c: deblock bus if switching to another i2c bus</title>
<updated>2011-04-28T08:57:08+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2011-04-08T14:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=4bd5566ee89c906022215dc0064beb0d6c128060'/>
<id>4bd5566ee89c906022215dc0064beb0d6c128060</id>
<content type='text'>
Deblock i2c bus when switching to another i2c bus, if using
i2c_set_bus_num().

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
cc: Wolfgang Denk &lt;wd@denx.de&gt;
cc: Detlev Zundel &lt;dzu@denx.de&gt;
cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deblock i2c bus when switching to another i2c bus, if using
i2c_set_bus_num().

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
cc: Wolfgang Denk &lt;wd@denx.de&gt;
cc: Detlev Zundel &lt;dzu@denx.de&gt;
cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace obsolete e-mail address</title>
<updated>2011-04-27T17:38:09+00:00</updated>
<author>
<name>Albert ARIBAUD</name>
<email>albert.u.boot@aribaud.net</email>
</author>
<published>2011-04-22T17:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=57b4bce9967630b4acc4ca7eb778bc869ea0f927'/>
<id>57b4bce9967630b4acc4ca7eb778bc869ea0f927</id>
<content type='text'>
Signed-off-by: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>I2C: mv_i2c: add multi bus support</title>
<updated>2011-04-27T17:38:08+00:00</updated>
<author>
<name>Lei Wen</name>
<email>[leiwen@marvell.com]</email>
</author>
<published>2011-04-13T18:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=adb00bb6a05be8b1a64820becdc052513888b280'/>
<id>adb00bb6a05be8b1a64820becdc052513888b280</id>
<content type='text'>
Add the ability to support multiple i2c bus for mv_i2c

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the ability to support multiple i2c bus for mv_i2c

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv_i2c: use structure to replace the direclty define</title>
<updated>2011-04-27T17:38:08+00:00</updated>
<author>
<name>Lei Wen</name>
<email>[leiwen@marvell.com]</email>
</author>
<published>2011-04-13T18:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=3df619ec2cae3305c20b808c4d49cfed66c1cf9b'/>
<id>3df619ec2cae3305c20b808c4d49cfed66c1cf9b</id>
<content type='text'>
Add i2c_clk_enable in the cpu specific code, since previous platform it,
while new platform don't need. In the pantheon and armada100 platform,
this function is defined as NULL one.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add i2c_clk_enable in the cpu specific code, since previous platform it,
while new platform don't need. In the pantheon and armada100 platform,
this function is defined as NULL one.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mv_i2c: fix timeout value to be consistent with comments</title>
<updated>2011-04-27T17:38:07+00:00</updated>
<author>
<name>Lei Wen</name>
<email>[leiwen@marvell.com]</email>
</author>
<published>2011-04-13T18:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=879de1275abf66fbb08e601f12d6ac5a888255e1'/>
<id>879de1275abf66fbb08e601f12d6ac5a888255e1</id>
<content type='text'>
The original 10000 value would be 100ms, which is not
the comments said.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original 10000 value would be 100ms, which is not
the comments said.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pxa: move i2c driver to the common place</title>
<updated>2011-04-27T17:38:07+00:00</updated>
<author>
<name>Lei Wen</name>
<email>[leiwen@marvell.com]</email>
</author>
<published>2011-04-13T18:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=68432c27438360aa3bc27c0c73bf3c12a8c6ffa7'/>
<id>68432c27438360aa3bc27c0c73bf3c12a8c6ffa7</id>
<content type='text'>
For better sharing with other platform other than pxa's,
it is more convenient to put the driver to the common place.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For better sharing with other platform other than pxa's,
it is more convenient to put the driver to the common place.

Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers</title>
<updated>2011-04-27T17:38:05+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2011-03-14T14:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=862711154339be2af723adcbde217743de781e81'/>
<id>862711154339be2af723adcbde217743de781e81</id>
<content type='text'>
As exception among the i.MX processors, the i.MX31 has headers
without general names (mx31-regs.h, mx31.h instead of imx-regs.h and
clock.h). This requires several nasty #ifdef in the drivers to
include the correct header. The patch cleans up the driver and
renames the header files as for the other i.MX processors.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As exception among the i.MX processors, the i.MX31 has headers
without general names (mx31-regs.h, mx31.h instead of imx-regs.h and
clock.h). This requires several nasty #ifdef in the drivers to
include the correct header. The patch cleans up the driver and
renames the header files as for the other i.MX processors.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>I2C: OMAP: detect more devices when probing an i2c bus</title>
<updated>2011-04-14T06:33:23+00:00</updated>
<author>
<name>Nick Thompson</name>
<email>nick.thompson@ge.com</email>
</author>
<published>2011-04-11T22:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=0e57968a215d1b9d271f3fa5bebeddeaea0c8075'/>
<id>0e57968a215d1b9d271f3fa5bebeddeaea0c8075</id>
<content type='text'>
The omap24xx driver only seems to support devices that have a single subaddress
byte. With these types of devices, the first access in a bus transaction is
usually a write (writes the subaddress) followed by either a read or write to
access the devices registers.

Many such devices will respond to a read as the first access, but there are at
least some that will NACK such a read. (e.g. ADV7180.)

The probe function attempts to detect a devices ACK to a read access only and
fails to find devices that NACK a read.

This commit modifies the probe function to start a write instead. This detects
devices that respond to reads (since they must also respond to writes) as well
as those that only respond to writes. The bus is immediately set to idle after a
(N)ACK avoiding actually writing anything to the device.

Signed-off-by: Nick Thompson &lt;nick.thompson@ge.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The omap24xx driver only seems to support devices that have a single subaddress
byte. With these types of devices, the first access in a bus transaction is
usually a write (writes the subaddress) followed by either a read or write to
access the devices registers.

Many such devices will respond to a read as the first access, but there are at
least some that will NACK such a read. (e.g. ADV7180.)

The probe function attempts to detect a devices ACK to a read access only and
fails to find devices that NACK a read.

This commit modifies the probe function to start a write instead. This detects
devices that respond to reads (since they must also respond to writes) as well
as those that only respond to writes. The bus is immediately set to idle after a
(N)ACK avoiding actually writing anything to the device.

Signed-off-by: Nick Thompson &lt;nick.thompson@ge.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>I2C: mxc_i2c: address failure with mx35 processor</title>
<updated>2011-02-01T23:54:43+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2011-01-20T07:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ausil/public_git/u-boot.git/commit/?id=81687212ee0b4fcb11f7d6700275b062c8f8d2b4'/>
<id>81687212ee0b4fcb11f7d6700275b062c8f8d2b4</id>
<content type='text'>
There is sporadic failures when more as one I2C slave
is on the bus and the processor tries to communicate
with more as one slave.
The problem was seen on a mx35pdk (two I2C slaves,
PMIC controller and CAN/RTC chip).

The current driver uses the IIF bit in the status register
to check if the bus is busy or not. According to the manual,
this is not correct, because the IIB bit should be checked.
Not only, to check if a transfer is finished must be checked
the ICF bit, and this is not tested at all.

This patch comes from analyse with a corresponding driver
provided by Freescale as part of the LTIB tool. Comparing
the two drivers, it appears that the current u-boot driver checks
the wrong bits, and depending on race condition, the transfer
can be successful or not.

The patch gets rid also of own debug function (DPRINTF),
replaced with the general debug().

Tested on Freescale mx35pdk.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
CC: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is sporadic failures when more as one I2C slave
is on the bus and the processor tries to communicate
with more as one slave.
The problem was seen on a mx35pdk (two I2C slaves,
PMIC controller and CAN/RTC chip).

The current driver uses the IIF bit in the status register
to check if the bus is busy or not. According to the manual,
this is not correct, because the IIB bit should be checked.
Not only, to check if a transfer is finished must be checked
the ICF bit, and this is not tested at all.

This patch comes from analyse with a corresponding driver
provided by Freescale as part of the LTIB tool. Comparing
the two drivers, it appears that the current u-boot driver checks
the wrong bits, and depending on race condition, the transfer
can be successful or not.

The patch gets rid also of own debug function (DPRINTF),
replaced with the general debug().

Tested on Freescale mx35pdk.

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
CC: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
