<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/i2c, branch v2017.11-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=v2017.11-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/i2c?h=v2017.11-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-10-15T13:32:25Z</updated>
<entry>
<title>i2c: uniphier-f: replace debug() with dev_dbg()</title>
<updated>2017-10-15T13:32:25Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2017-10-13T10:21:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2b7b2df91ea64c94c698d900d7b55f58f898b227'/>
<id>urn:sha1:2b7b2df91ea64c94c698d900d7b55f58f898b227</id>
<content type='text'>
Use dev_dbg() functions.  It will be helpful to prefix log messages
with the corresponding device name when the core framework is ready.

While I am here, I renamed "dev", which was actually private data,
into "priv" because dev-&gt;dev looks confusing.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>i2c: uniphier: replace debug() with dev_dbg()</title>
<updated>2017-10-15T13:32:24Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2017-10-13T10:21:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=804cf1c46f98703b350a6a3396a73acc1a701e42'/>
<id>urn:sha1:804cf1c46f98703b350a6a3396a73acc1a701e42</id>
<content type='text'>
Use dev_dbg() functions.  It will be helpful to prefix log messages
with the corresponding device name when the core framework is ready.

While I am here, I renamed "dev", which was actually private data,
into "priv" because dev-&gt;dev looks confusing.

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: look up width from chip_desc</title>
<updated>2017-10-11T04:17:22Z</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2017-09-28T21:53:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5bc90a8953a902152bd640322ffc8111dccbe3ab'/>
<id>urn:sha1:5bc90a8953a902152bd640322ffc8111dccbe3ab</id>
<content type='text'>
Commit 8e6eda7cda6c ("drivers/i2c/muxes/pca954x: Add pca9547 I2C mux
support") introduced a chip_desc for the pca954x devices but failed to
update pca954x_ofdata_to_platdata() to be aware of it. Make
pca954x_ofdata_to_platdata() lookup the chip_desc to validate the device
width.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Marek Behun &lt;marek.behun@nic.cz&gt;
</content>
</entry>
<entry>
<title>dm: gpio: Correct use of -ENODEV in drivers</title>
<updated>2017-10-09T02:41:09Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-09-17T22:54:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7c84319af9c76084f50f3f2b97545bfa05f3971d'/>
<id>urn:sha1:7c84319af9c76084f50f3f2b97545bfa05f3971d</id>
<content type='text'>
In U-Boot -ENODEV means that there is no device. When there is a problem
with the device, drivers should return an error like -ENXIO or -EREMOTEIO.
When the device tree properties cannot be read correct , they should
return -EINVAL.

Update various GPIO drivers to follow this rule, to help with consistency
for future driver writers.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reported-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: replace with error() with pr_err()</title>
<updated>2017-10-04T15:59:44Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2017-09-16T05:10:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9b643e312d528f291966c1f30b0d90bf3b1d43dc'/>
<id>urn:sha1:9b643e312d528f291966c1f30b0d90bf3b1d43dc</id>
<content type='text'>
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// &lt;smpl&gt;
@@@@
-error
+pr_err
 (...)
// &lt;/smpl&gt;

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>rockchip: i2c: rk3328: support i2c for rk3328 SoC</title>
<updated>2017-09-30T22:33:33Z</updated>
<author>
<name>Elaine Zhang</name>
<email>zhangqing@rock-chips.com</email>
</author>
<published>2017-09-27T07:23:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=be93fc2476b273704746b7f94ae205cd07a915a9'/>
<id>urn:sha1:be93fc2476b273704746b7f94ae205cd07a915a9</id>
<content type='text'>
Add compatible to support rk3328 i2c

Signed-off-by: Elaine Zhang &lt;zhangqing@rock-chips.com&gt;
Signed-off-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Acked-by: Heiko Schocher&lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>rockchip: i2c: Convert to livetree</title>
<updated>2017-09-18T18:40:35Z</updated>
<author>
<name>Philipp Tomsich</name>
<email>philipp.tomsich@theobroma-systems.com</email>
</author>
<published>2017-09-11T20:04:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cc91bdf8d4da6e66703a1bc99577f49ec3c7bf4a'/>
<id>urn:sha1:cc91bdf8d4da6e66703a1bc99577f49ec3c7bf4a</id>
<content type='text'>
Update the Rockchip I2C driver to support livetree.

Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: Add support for GPIO reset line</title>
<updated>2017-09-13T03:35:48Z</updated>
<author>
<name>Moritz Fischer</name>
<email>moritz.fischer@ettus.com</email>
</author>
<published>2017-09-12T13:46:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=36bdeb75a4f4f276c841644775e687eb6b3d9ec4'/>
<id>urn:sha1:36bdeb75a4f4f276c841644775e687eb6b3d9ec4</id>
<content type='text'>
This commit adds support for GPIO reset lines matching the
common linux "reset-gpios" devicetree binding.

Signed-off-by: Moritz Fischer &lt;moritz.fischer@ettus.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>rockchip: i2c: fix &gt;32 byte reads</title>
<updated>2017-09-05T09:13:36Z</updated>
<author>
<name>Wadim Egorov</name>
<email>w.egorov@phytec.de</email>
</author>
<published>2017-08-03T11:48:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5deaa530280fda91b8fef632c62c94e7bfd89561'/>
<id>urn:sha1:5deaa530280fda91b8fef632c62c94e7bfd89561</id>
<content type='text'>
The hw can read up to 32 bytes at a time. If we need
more than one chunk, we have to enter the plain RX mode.

Signed-off-by: Wadim Egorov &lt;w.egorov@phytec.de&gt;
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig</title>
<updated>2017-09-02T00:44:30Z</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2017-08-11T11:39:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc760cc6e80d00f669a5f54e1fd4549e725cb22e'/>
<id>urn:sha1:fc760cc6e80d00f669a5f54e1fd4549e725cb22e</id>
<content type='text'>
This converts the following to Kconfig:
   CONFIG_SYS_I2C_BUS_MAX

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
[trini: Fix AM43XX drop AM44XX]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
