<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch v2012.07-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=v2012.07-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=v2012.07-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2012-07-07T12:07:43Z</updated>
<entry>
<title>i2c: designware_i2c.c: Add support for the "i2c probe" command</title>
<updated>2012-07-07T12:07:43Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2012-01-20T10:52:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=496ba48f5ec60187d9ff7e4298e3d37677d74530'/>
<id>urn:sha1:496ba48f5ec60187d9ff7e4298e3d37677d74530</id>
<content type='text'>
i2c_probe() is changed to reinit the i2c bus upon read failure.
This is naturally the case upon i2c bus probing.

Also, some printf messages upon read failure are removed. As they
would interfere with the "i2c probe" command.

Additionally, i2c_set_bus_speed() now returns 0, so that the
"i2c speed" command can be used.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Amit Virdi &lt;amit.virdi@st.com&gt;
Cc: Vipin Kumar &lt;vipin.kumar@st.com&gt;
</content>
</entry>
<entry>
<title>omap24xx_i2c: Add AM33XX support</title>
<updated>2012-07-07T12:07:23Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-05-21T06:46:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=402d17fc4c406fe49a7b2d94aee640f389a68738'/>
<id>urn:sha1:402d17fc4c406fe49a7b2d94aee640f389a68738</id>
<content type='text'>
The same places that check for CONFIG_OMAP44XX need to check for
CONFIG_AM33XX as we share the same i2c block.

Cc: Heiko Schocher &lt;hs@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>Revert "I2C: OMAP: detect more devices when probing an i2c bus"</title>
<updated>2012-07-07T12:07:22Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-05-21T06:46:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=168a5acb81a8d92a7effcb2727aaa89367b97e05'/>
<id>urn:sha1:168a5acb81a8d92a7effcb2727aaa89367b97e05</id>
<content type='text'>
This reverts commit 0e57968a215d1b9d271f3fa5bebeddeaea0c8075.

The short version of the original commit is that some i2c devices cannot
be probed via read as they NAK the first cycle, so try and probe via a
write that we abort before it writes to the device.  This however is not
allowed by the TRM for any of these parts.  The section on I2C_CON
(table 17-35 I2C_CON for am/dm37x for example) says you must not change
the register while STT has been set.  On these parts, the unpredictable
behavior that the chip exhibits is not problematic.  On OMAP4 however it
results in the chip being in a bad state:
Panda # i2c probe
Valid chip addresses: 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12
13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A
2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42
43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A
5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72
73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F
Panda # i2c md 50 0
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Error reading the chip.

We must revert the original behavior to bring probe back into line with
the TRM.

Cc: Nick Thompson &lt;nick.thompson@ge.com&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>tegra: i2c: Add function to find DVC bus</title>
<updated>2012-05-15T06:31:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-04-02T13:19:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e31c1e50ac8d85ede3f62c438034397ba54734d7'/>
<id>urn:sha1:e31c1e50ac8d85ede3f62c438034397ba54734d7</id>
<content type='text'>
Add tegra_i2c_get_dvc_bus_num() to obtain the I2C bus number of DVC bus.
This allows us to talk to the PMU.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>i2c:designware Turn off the ctrl when setting the speed</title>
<updated>2012-04-24T07:57:00Z</updated>
<author>
<name>Armando Visconti</name>
<email>armando.visconti@st.com</email>
</author>
<published>2012-03-29T20:10:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e3e8dda51c46faedb124c0ffd6136e2ef09ae52'/>
<id>urn:sha1:5e3e8dda51c46faedb124c0ffd6136e2ef09ae52</id>
<content type='text'>
The designware i2c controller must be turned off before
setting the speed in IC_CON register, as stated in the
section 6.3.1 of the dw_apb_i2c_db.pdf.

Signed-off-by: Michel Sanches &lt;michel.sanches@st.com&gt;
Signed-off-by: Armando Visconti &lt;armando.visconti@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
</entry>
<entry>
<title>i2c: Add support for designware i2c controller</title>
<updated>2012-04-24T07:56:37Z</updated>
<author>
<name>Vipin KUMAR</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-02-26T23:13:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=031ed2fa748ccfc746bd0e0073f8690c84a0d7b6'/>
<id>urn:sha1:031ed2fa748ccfc746bd0e0073f8690c84a0d7b6</id>
<content type='text'>
Earlier, a driver exists in the u-boot source for designware i2c interface. That
driver was specific to spear platforms. This patch implements the i2c controller
as a generic driver which can be used by multiple platforms

The driver files are now renamed to designware_i2c.c and designware_i2c.h and
these are moved into drivers/i2c folder for reusability by other
platforms

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
</entry>
<entry>
<title>sh: i2c: Add support I2C controller of SH7734</title>
<updated>2012-04-24T07:40:04Z</updated>
<author>
<name>Nobuhiro Iwamatsu</name>
<email>nobuhiro.iwamatsu.yj@renesas.com</email>
</author>
<published>2012-03-01T17:56:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2d344a2ab27d8704efd09088ee00be194b3556eb'/>
<id>urn:sha1:2d344a2ab27d8704efd09088ee00be194b3556eb</id>
<content type='text'>
Renesas SH7734 has two I2C interfaceis.
This supports these I2C.

V5: - include i2c.h.
    - Add check of icsr bit polling logic.
	- Implement i2c_probe.
V4: - Remove sh_i2c_dump_reg function.
    - Use puts() when there's no format.
    - Chnage check for I2C bus number.
    - Remove space before the semi-colon.
V3: - Fix error for whitespace.
V2: - Changed bit control to use the clr|set|clrsetbits_* functions.
    - Fix wrong comment style.
    - Add new line before for loop in i2c_read.

Signed-off-by: Nobuhiro Iwamatsu &lt;nobuhiro.iwamatsu.yj@renesas.com&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Signed-off-by: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>tegra: i2c: Add I2C driver</title>
<updated>2012-03-29T06:12:50Z</updated>
<author>
<name>Yen Lin</name>
<email>yelin@nvidia.com</email>
</author>
<published>2012-03-06T19:00:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=96a78ac0c445999ce21fb42ecab061479b4d7056'/>
<id>urn:sha1:96a78ac0c445999ce21fb42ecab061479b4d7056</id>
<content type='text'>
Add basic i2c driver for Tegra2 with 8- and 16-bit address support.
The driver requires CONFIG_OF_CONTROL to obtain its configuration
from the device tree.

(Simon Glass: sjg@chromium.org modified for upstream)

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>Revert "ARM: I2C: I2C Multi byte address support"</title>
<updated>2012-02-21T06:28:47Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-02-20T18:49:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cec487a435ac106d1a611feba1a36043142c839b'/>
<id>urn:sha1:cec487a435ac106d1a611feba1a36043142c839b</id>
<content type='text'>
This reverts commits 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3 as
this has introduced some large problems on all other platforms and have
more changes in them than the commit message implies.

Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Patil, Rachna &lt;rachna@ti.com&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>Revert "ARM: AM33XX: Add AM33XX I2C driver support"</title>
<updated>2012-02-21T06:28:29Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-02-20T18:49:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c2459a405b2d423b294006e4519beaff28301d5a'/>
<id>urn:sha1:c2459a405b2d423b294006e4519beaff28301d5a</id>
<content type='text'>
This reverts commit 498cbdfe62a8330f6c89765bdd15e60328a26511 as we need
to revert the i2c changes that add the support for the platform.

Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Patil, Rachna &lt;rachna@ti.com&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
</feed>
