<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch v2019.10-rc2</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=v2019.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=v2019.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-07-29T21:58:52Z</updated>
<entry>
<title>i2c: remove i2c driver-model compatibility layer</title>
<updated>2019-07-29T21:58:52Z</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bgolaszewski@baylibre.com</email>
</author>
<published>2019-07-29T06:58:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e31148247a3ff3b225b6e4669acf756efc9516c3'/>
<id>urn:sha1:e31148247a3ff3b225b6e4669acf756efc9516c3</id>
<content type='text'>
There are no more users of the compatibility layer for i2c. Remove the
driver and all references to it.

Signed-off-by: Bartosz Golaszewski &lt;bgolaszewski@baylibre.com&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: omap24xx_i2c: Adapt driver to support K3 devices</title>
<updated>2019-07-17T15:12:54Z</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-06-04T23:08:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=14106bcadb98b7db5c1c585dc57c566ca21e871a'/>
<id>urn:sha1:14106bcadb98b7db5c1c585dc57c566ca21e871a</id>
<content type='text'>
K3 devices have I2C IP that is same as OMAP2+ family. Allow driver to be
compiled for ARCH_K3.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Signed-off-by: Andreas Dannenberg &lt;dannenberg@ti.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>i2c: stm32f7_i2c: Fix warnings when compiling with W=1</title>
<updated>2019-07-12T09:50:55Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-06-21T13:26:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=499504ba0656d822c2c3e6e8aa5cde8404963217'/>
<id>urn:sha1:499504ba0656d822c2c3e6e8aa5cde8404963217</id>
<content type='text'>
This patch solves the following warnings:

drivers/i2c/stm32f7_i2c.c: In function 'stm32_i2c_compute_solutions':
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (scldel &lt; scldel_min)
               ^
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((sdadel &gt;= sdadel_min) &amp;&amp;
                  ^~
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          (sdadel &lt;= sdadel_max)) &amp;&amp;
                  ^~
drivers/i2c/stm32f7_i2c.c: In function 'stm32_i2c_choose_solution':
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (clk_error &lt; clk_error_prev) {
                    ^
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>xilinx_xiic: Fix transfer initialisation</title>
<updated>2019-07-09T05:02:11Z</updated>
<author>
<name>Melin Tomas</name>
<email>tomas.melin@vaisala.com</email>
</author>
<published>2019-06-28T12:08:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d3826fb052af9e6df22abaefb1b0c7496e469f9e'/>
<id>urn:sha1:d3826fb052af9e6df22abaefb1b0c7496e469f9e</id>
<content type='text'>
Prior to starting a new transfer, conditionally wait for bus to not
be busy.

Reinitialise controller as otherwise operation is not stable.
For reference, see linux kernel
commit 9656eeebf3f1 ("i2c: Revert i2c: xiic: Do not reset controller before every transfer")

hs: Fixed DOS line endings
    added missing '\n'
    Fixed git commit description style

Signed-off-by: Tomas Melin &lt;tomas.melin@vaisala.com&gt;
</content>
</entry>
<entry>
<title>xilinx_xiic: Fix fill tx fifo loop</title>
<updated>2019-07-09T05:02:11Z</updated>
<author>
<name>Melin Tomas</name>
<email>tomas.melin@vaisala.com</email>
</author>
<published>2019-06-28T12:08:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5324e8ef6c3d6b6183b3aadeadeeb7822b4fd68a'/>
<id>urn:sha1:5324e8ef6c3d6b6183b3aadeadeeb7822b4fd68a</id>
<content type='text'>
Comparison should be against the actual message length, not loop index.

len is used for stopping while loop, pos is position in message.
stop should be sent when entire message is sent, not when
len and pos meet.

hs: fixed DOS line endings

Signed-off-by: Tomas Melin &lt;tomas.melin@vaisala.com&gt;
</content>
</entry>
<entry>
<title>i2c: designware: Get clock rate from clock DM</title>
<updated>2019-07-09T05:02:11Z</updated>
<author>
<name>Ley Foon Tan</name>
<email>ley.foon.tan@intel.com</email>
</author>
<published>2019-06-12T01:48:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2d1e879c79f922a2d4c18c09c9363b76ce9e5643'/>
<id>urn:sha1:2d1e879c79f922a2d4c18c09c9363b76ce9e5643</id>
<content type='text'>
Get clock rate from clock DM if CONFIG_CLK is enabled.
Otherwise, uses IC_CLK define.

Signed-off-by: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: designware_i2c: Restore enable state after set speed</title>
<updated>2019-07-09T05:02:10Z</updated>
<author>
<name>Jun Chen</name>
<email>ptchentw@gmail.com</email>
</author>
<published>2019-06-05T07:23:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3b93dcee88ff2c782790f8ad556d12f142efc4e'/>
<id>urn:sha1:e3b93dcee88ff2c782790f8ad556d12f142efc4e</id>
<content type='text'>
Before calling __dw_i2c_set_bus_speed(),
the I2C could already be set as ether enable or disable,
we should restore the original setting instead of enable i2c anyway.

This patch fix a bug happened in init function:
    __dw_i2c_init(){
            /* Disable i2c */
            ...
            __dw_i2c_set_bus_speed(i2c_base, NULL, speed);
            writel(slaveaddr, &amp;i2c_base-&gt;ic_sar);
            /* Enable i2c */
    }
In this case, enable i2c inside __dw_i2c_set_bus_speed() function
will cause ic_sar write fail.

Signed-off-by: Jun Chen &lt;ptchentw@gmail.com&gt;
</content>
</entry>
<entry>
<title>i2c: stm32f7: improve loopback in timing algorithm</title>
<updated>2019-05-23T09:36:47Z</updated>
<author>
<name>Nicolas Le Bayon</name>
<email>nicolas.le.bayon@st.com</email>
</author>
<published>2019-04-18T15:32:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5237f37e5c35052533588fe0a53febad2f047d70'/>
<id>urn:sha1:5237f37e5c35052533588fe0a53febad2f047d70</id>
<content type='text'>
This avoids useless loops inside the I2C timing algorithm.
Actually, we support only one possible solution per prescaler value.
So after finding a solution with a prescaler, the algorithm can
switch directly to the next prescaler value.

Signed-off-by: Nicolas Le Bayon &lt;nicolas.le.bayon@st.com&gt;
Reviewed-by: Patrick DELAUNAY &lt;patrick.delaunay@st.com&gt;
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>i2c: stm32f7: Fix SDADEL minimum formula</title>
<updated>2019-05-23T09:36:47Z</updated>
<author>
<name>Nicolas Le Bayon</name>
<email>nicolas.le.bayon@st.com</email>
</author>
<published>2019-04-18T15:32:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e87da7521f922e3d0f6aaa6b162e872f8f39c649'/>
<id>urn:sha1:e87da7521f922e3d0f6aaa6b162e872f8f39c649</id>
<content type='text'>
It conforms with Reference Manual I2C timing section.

Signed-off-by: Nicolas Le Bayon &lt;nicolas.le.bayon@st.com&gt;
Reviewed-by: Patrick DELAUNAY &lt;patrick.delaunay@st.com&gt;
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>Merge git://git.denx.de/u-boot-mpc83xx</title>
<updated>2019-05-21T11:13:35Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-05-21T11:13:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e1a2ed7180adeefb6164239a18249dca5701319d'/>
<id>urn:sha1:e1a2ed7180adeefb6164239a18249dca5701319d</id>
<content type='text'>
- Update MPC83xx platform support to current best practices, etc.
</content>
</entry>
</feed>
