<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Silicon/NXP/Library/I2cLib, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2020-05-06T10:34:07+00:00</updated>
<entry>
<title>Silicon/NXP: Add I2c lib</title>
<updated>2020-05-06T10:34:07+00:00</updated>
<author>
<name>Pankaj Bansal</name>
<email>pankaj.bansal@nxp.com</email>
</author>
<published>2020-05-01T05:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=8ac432e96eb1d82b32d26313c5e314f16cec2a5e'/>
<id>urn:sha1:8ac432e96eb1d82b32d26313c5e314f16cec2a5e</id>
<content type='text'>
Add an I2c library to control the i2c controllers to communicate
with I2c device.

We need this functionality in a lib because this is going to be used
in PrePeiCore sec module to get the System clock information from
devices connected to i2c (like fpga or clock generator)

In subsequent patches I2c functionality in I2cDxe driver would be removed
and I2cLib APIs would be used in I2cDxe.

The I2cLib differs from I2c Controller functionality in I2c Dxe in
several aspects:
- I2cLib doesn't assume that each I2c Transaction would be of minimum
  two operations
- I2cLib generates repeat start between operations which complies with
  PI I2c specs.

Signed-off-by: Pankaj Bansal &lt;pankaj.bansal@nxp.com&gt;
Reviewed-by: Leif Lindholm &lt;leif@nuviainc.com&gt;
</content>
</entry>
</feed>
