<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/i2c/imx_lpi2c.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-10-22T12:35:57Z</updated>
<entry>
<title>i2c: imx_lpi2c: fix typo and register base address format</title>
<updated>2018-10-22T12:35:57Z</updated>
<author>
<name>Anatolij Gustschin</name>
</author>
<published>2018-10-18T14:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7677c0de14739fa0e63f97cf290b68bec0c497c1'/>
<id>urn:sha1:7677c0de14739fa0e63f97cf290b68bec0c497c1</id>
<content type='text'>
Output the register base address in hex notation.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: imx_lpi2c: add uclass api support</title>
<updated>2018-08-06T12:28:23Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2018-07-17T12:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=3d7690aec1020aa579eee189ed07d5e6289e3617'/>
<id>urn:sha1:3d7690aec1020aa579eee189ed07d5e6289e3617</id>
<content type='text'>
Use uclass clk api to get per clk when CONFIG_CLK enabled.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>lpi2c: Add bus busy error handling</title>
<updated>2018-07-12T09:09:42Z</updated>
<author>
<name>Ye Li</name>
</author>
<published>2018-07-08T03:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=971490c89251ae1a4a9e2a85911de5c217a4027c'/>
<id>urn:sha1:971490c89251ae1a4a9e2a85911de5c217a4027c</id>
<content type='text'>
When doing "i2c dev 4; i2c probe" with ENET daughter card connected
on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of
lpi2c always show busy, but the master is idle, and stop is detected
(SDF set).

This patch addes a handling to re-init the lpi2c master for this
case. Then the issue can be worked around.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Acked-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>lpi2c: Fix bus stop problem in xfer</title>
<updated>2018-07-12T09:09:23Z</updated>
<author>
<name>Ye Li</name>
</author>
<published>2018-07-08T03:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d144f61ad3faa2104676791af58c2371729bef94'/>
<id>urn:sha1:d144f61ad3faa2104676791af58c2371729bef94</id>
<content type='text'>
In xfer function, both bus_i2c_read and bus_i2c_write will
send a STOP command.  This causes a problem when reading register
data from i2c device.

Generally two operations comprise the register data reading:
   1. Write the register address to i2c device.
      START | chip_addr | W | ACK | register_addr | ACK |

   2. Read the Data from i2c device.
      START | chip_addr | R | ACK | DATA          | NACK | STOP

The STOP command should happen at the end of the transfer, otherwise
we will always get data from register address 0

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Acked-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>imx: lpi2c: fix clock issue when NACK detected</title>
<updated>2018-07-12T09:09:07Z</updated>
<author>
<name>Gao Pan</name>
</author>
<published>2018-07-08T03:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=a32effd2838a62a5d1dcc01f613508f1d90b5667'/>
<id>urn:sha1:a32effd2838a62a5d1dcc01f613508f1d90b5667</id>
<content type='text'>
For LPI2C IP, NACK is detected by the rising edge of the ninth clock.
In current uboot driver, once NACK is detected, it will reset and then
disable LPI2C master. As a result, we can never see the falling edge
of the ninth clock.

Signed-off-by: Gao Pan &lt;pandy.gao@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>imx_lpi2c: Update lpi2c driver to support imx8</title>
<updated>2018-07-12T09:08:41Z</updated>
<author>
<name>Ye Li</name>
</author>
<published>2018-07-08T03:46:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9b2ebcc06048cf49c2f8a8d152177ed1a8363878'/>
<id>urn:sha1:9b2ebcc06048cf49c2f8a8d152177ed1a8363878</id>
<content type='text'>
Add compatible string for i.MX8 and move imx_lpi2c.h from mx7ulp directory
to u-boot include directory as a common header file.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR</title>
<updated>2018-04-27T18:54:48Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-04-18T17:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d024236e5a31a2b4b82cbcc98b31b8170fc88d28'/>
<id>urn:sha1:d024236e5a31a2b4b82cbcc98b31b8170fc88d28</id>
<content type='text'>
We have a large number of places where while we historically referenced
gd in the code we no longer do, as well as cases where the code added
that line "just in case" during development and never dropped it.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpi2c: remove superfluous assignments</title>
<updated>2018-03-23T07:28:49Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-03-18T10:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d45c2f392ee2dc3994b70e2d58fc65e6ba49e7d0'/>
<id>urn:sha1:d45c2f392ee2dc3994b70e2d58fc65e6ba49e7d0</id>
<content type='text'>
In

	lpi2c_status_t result = A;
	result = B;

the first assignment has no effect. Let's remove it.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>i2c: lpi2c: do not add 4 for bus seq</title>
<updated>2018-01-16T05:58:59Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2018-01-02T07:41:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0074d4bf2d9f9b32b9939dfba6c84a160d250763'/>
<id>urn:sha1:0074d4bf2d9f9b32b9939dfba6c84a160d250763</id>
<content type='text'>
The number 4 is dedicated on i.MX7ULP, but lpi2c will be reused on i.MX8,
4 is not valid. The seq number could be configured by alias node.

The following patch will use i2c4 as the begin for i.MX7ULP.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
</feed>
