<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch v2017.05-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=v2017.05-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=v2017.05-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-03-28T04:27:54Z</updated>
<entry>
<title>i2c: Set default I2C bus number</title>
<updated>2017-03-28T04:27:54Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2017-03-21T11:08:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e46f8a3309fb2628940d3e2806c954d84f910165'/>
<id>urn:sha1:e46f8a3309fb2628940d3e2806c954d84f910165</id>
<content type='text'>
This patch allows using i2c commands (e.g. "i2c probe", "i2c md", etc)
without the need to first select the bus number with e.g. "i2c dev 0".

This is the "i2c" command behavior similar to the one from pre DM, where
by default bus 0 was immediately accessible.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: ti: Update method to calculate psc, sscl and ssch I2C parameters</title>
<updated>2017-03-28T04:27:42Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2017-03-15T15:59:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b52a3fa08b830006c1872517bdafe41160d9223d'/>
<id>urn:sha1:b52a3fa08b830006c1872517bdafe41160d9223d</id>
<content type='text'>
This patch updates the way in which psc, sscl and ssch I2C parameters are
calculated to be in sync with v4.9 Linux kernel
SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826
in the ./drivers/i2c/busses/i2c-omap.c

The previous method was causing several issues:
- The internal I2C frequency (after prescaler) was far above recommended
one (7 - 12 MHz [*]) - the current approach brings better noise suppression
(as stated in Linux commit: SHA1: 84bf2c868f3ca996e5bb)

- The values calculated (psc, sscl and ssch) were far from optimal, which
caused on the test platform (AM57xx) the I2C0 SCL signal low time (Fast
Mode) of ~1.0us (the standard requires &gt; 1.3 us).

[*] for AM57xx TRM SPRUHZ6G, Table 24,7
"HS I2C Register Values for Maximum I2C Bit Rates in I2C F/S, I2C HS Modes"

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: ti: Update SCLH and SCLL to be in sync with v4.9 Linux kernel</title>
<updated>2017-03-28T04:27:33Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2017-03-15T15:59:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e530d2e15b0a28385d2cc34168e2bf395222b1ef'/>
<id>urn:sha1:e530d2e15b0a28385d2cc34168e2bf395222b1ef</id>
<content type='text'>
v4.9 Linux release:
SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826
in the ./drivers/i2c/busses/i2c-omap.c

recommends to use SCLH=5 and SCLL=7 values.
This patch sets them to default.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Force consistent bus numbering</title>
<updated>2017-03-28T04:27:20Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-14T15:24:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd'/>
<id>urn:sha1:0f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd</id>
<content type='text'>
Normally, this would probably be done by adding devicetree aliases
to the main dtsi file for the lpc32xx and using bus-&gt;req_seq instead.

Since we want to have consistent i2c numbering, we cannot force the
bus-&gt;req_seq because. If for instance we have 3 buses numbered
from 0 to 2 with i2c0 enabled, i2c1 disabled and i2c2 enabled;
i2c2 can be selected using 'i2c dev 1' and 'i2c dev 2' commands
because a bus can be probed using req_seq or seq interchangeably.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Move definitions to header file</title>
<updated>2017-03-28T04:27:14Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-14T15:24:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb057880138447019945a6ab3b88038220226017'/>
<id>urn:sha1:fb057880138447019945a6ab3b88038220226017</id>
<content type='text'>
Since the lpc32xx i2c driver does not yet support the devicetree bindings,
this structure is also needed by the board file as the hardware description
is done there.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Remove note for DM conversation</title>
<updated>2017-03-28T04:27:08Z</updated>
<author>
<name>Sylvain Lemieux</name>
<email>slemieux@tycoint.com</email>
</author>
<published>2017-03-14T15:24:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ddfd0821691d230b00f9690766aa6197ff628fd7'/>
<id>urn:sha1:ddfd0821691d230b00f9690766aa6197ff628fd7</id>
<content type='text'>
Removed note in the LPC32xx I2C driver for DM conversation.

Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Add DM for lpc32xx I2C</title>
<updated>2017-03-28T04:26:39Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-27T15:13:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d61c7adbff36066575b5d8bc9173811b2fa793a1'/>
<id>urn:sha1:d61c7adbff36066575b5d8bc9173811b2fa793a1</id>
<content type='text'>
Adding DM specific wrapper functions and definitions.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Factor out i2c_adapter parameter</title>
<updated>2017-03-28T04:26:30Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-27T15:11:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eddac8e9fe80c020fa86d462cd616ba4d4f9f6a5'/>
<id>urn:sha1:eddac8e9fe80c020fa86d462cd616ba4d4f9f6a5</id>
<content type='text'>
This is part of the prep work for the migration to the driver model.
It will enable the driver to support DM and non-DM configurations
using the same functions.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Prepare compatibility functions</title>
<updated>2017-03-28T04:26:16Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-14T15:24:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=552531e45d852b06d641a960bad79cff3a0d23ad'/>
<id>urn:sha1:552531e45d852b06d641a960bad79cff3a0d23ad</id>
<content type='text'>
This is part of the prep work for the migration to the driver model.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
<entry>
<title>i2c: lpc32xx: Rename probe function</title>
<updated>2017-03-28T04:26:06Z</updated>
<author>
<name>Liam Beguin</name>
<email>lbeguin@tycoint.com</email>
</author>
<published>2017-03-14T15:24:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=03d924ae7680f3d64215adf424c87540d89e7ca5'/>
<id>urn:sha1:03d924ae7680f3d64215adf424c87540d89e7ca5</id>
<content type='text'>
This is part of the prep work for the migration to the driver model.
What used to be the probe function is now called probe_chip.

Signed-off-by: Liam Beguin &lt;lbeguin@tycoint.com&gt;
Signed-off-by: Sylvain Lemieux &lt;slemieux@tycoint.com&gt;
</content>
</entry>
</feed>
