<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/i2c, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/i2c?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/i2c?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-06-27T12:39:36Z</updated>
<entry>
<title>i2c: sun6i-p2wi: Remove duplicate inclusion of module.h</title>
<updated>2014-06-27T12:39:36Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@samsung.com</email>
</author>
<published>2014-06-24T03:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=098aebc30292c10b31f6aa58bf4fe2c4b26001f6'/>
<id>urn:sha1:098aebc30292c10b31f6aa58bf4fe2c4b26001f6</id>
<content type='text'>
module.h was included twice.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@samsung.com&gt;
Acked-by: Boris BREZILLON &lt;boris.brezillon@free-electrons.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: pca954x: fix dependencies</title>
<updated>2014-06-27T12:27:19Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2014-06-09T13:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e556756a6326d55dcbb476d471dcda36814fd696'/>
<id>urn:sha1:e556756a6326d55dcbb476d471dcda36814fd696</id>
<content type='text'>
This driver causes the following randconfig build error:

drivers/i2c/muxes/i2c-mux-pca954x.c: In function ‘pca954x_probe’:
drivers/i2c/muxes/i2c-mux-pca954x.c:204:2: error: implicit declaration
of function ‘devm_gpiod_get’ [-Werror=implicit-function-declaration]
  gpio = devm_gpiod_get(&amp;client-&gt;dev, "reset");
  ^
drivers/i2c/muxes/i2c-mux-pca954x.c:204:7: warning: assignment makes
pointer from integer without a cast [enabled by default]
  gpio = devm_gpiod_get(&amp;client-&gt;dev, "reset");
       ^
drivers/i2c/muxes/i2c-mux-pca954x.c:206:3: error: implicit declaration
of function ‘gpiod_direction_output’
[-Werror=implicit-function-declaration]
   gpiod_direction_output(gpio, 0);
   ^
cc1: some warnings being treated as errors
make[3]: *** [drivers/i2c/muxes/i2c-mux-pca954x.o] Error 1

This is because it is getting compiled without gpiolib, so
introduce an explicit dependency.

Reported-by: Jim Davis &lt;jim.epost@gmail.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: sun6-p2wi: fix call to snprintf</title>
<updated>2014-06-17T12:28:04Z</updated>
<author>
<name>Boris BREZILLON</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2014-06-13T10:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4632a93f015caf6d7db4352f37aab74a39e60d7a'/>
<id>urn:sha1:4632a93f015caf6d7db4352f37aab74a39e60d7a</id>
<content type='text'>
Fixes possible issue in case pdev name contains formatting characters.

Signed-off-by: Boris BREZILLON &lt;boris.brezillon@free-electrons.com&gt;
Reported-by: Kees Cook &lt;keescook@google.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: rk3x: add NULL entry to the end of_device_id array</title>
<updated>2014-06-12T21:56:37Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2014-06-12T21:56:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c51bd6acf59f24f2ec4334689329f1741f071621'/>
<id>urn:sha1:c51bd6acf59f24f2ec4334689329f1741f071621</id>
<content type='text'>
drivers/i2c/busses/i2c-rk3x.c:610:69-70: rk3x_i2c_match is not NULL terminated at line 610

Make sure of_device_id tables are NULL terminated
Generated by: /kbuild/src/linux/scripts/coccinelle/misc/of_table.cocci

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: sun6i-p2wi: use proper return value in probe</title>
<updated>2014-06-12T20:22:25Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2014-06-12T06:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c155ba884f68b5447529bc75bcb54e68130fd774'/>
<id>urn:sha1:c155ba884f68b5447529bc75bcb54e68130fd774</id>
<content type='text'>
Fixes:
&gt;&gt; drivers/i2c/busses/i2c-sun6i-p2wi.c:243:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support</title>
<updated>2014-06-11T22:24:06Z</updated>
<author>
<name>Boris BREZILLON</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2014-06-11T09:17:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e833490fae55633f6adc03a5e6172d47c01f3e4'/>
<id>urn:sha1:3e833490fae55633f6adc03a5e6172d47c01f3e4</id>
<content type='text'>
The P2WI controller looks like an SMBus controller which only supports byte
data transfers. But, it differs from standard SMBus protocol on several
aspects:
- it supports only one slave device, and thus drop the address field
- it adds a parity bit every 8bits of data
- only one read access is required to read a byte (instead of a write
  followed by a read access in standard SMBus protocol)
- there's no Ack bit after each byte transfer

This means this bus cannot be used to interface with standard SMBus
devices (the only known device to support this interface is the AXP221
PMIC).
However the P2WI protocol is close enough to SMBus to be integrated in
the I2C subsystem (see this thread [1] for detailed reasons that led to
integrating this driver in the I2C subsystem).

[1] http://www.spinics.net/lists/linux-i2c/msg15066.html

Signed-off-by: Boris BREZILLON &lt;boris.brezillon@free-electrons.com&gt;
Acked-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: rk3x: add driver for Rockchip RK3xxx SoC I2C adapter</title>
<updated>2014-06-11T22:23:56Z</updated>
<author>
<name>Max Schwarz</name>
<email>max.schwarz@online.de</email>
</author>
<published>2014-06-11T20:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c41aa3ce938b684d853f1004072b6116a41bb1ce'/>
<id>urn:sha1:c41aa3ce938b684d853f1004072b6116a41bb1ce</id>
<content type='text'>
Driver for the native I2C adapter found in Rockchip RK3xxx SoCs.

Configuration is only possible through devicetree. The driver is
interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit.

Signed-off-by: Max Schwarz &lt;max.schwarz@online.de&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into next</title>
<updated>2014-06-06T19:26:57Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-06-06T19:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7b215de3d0abbc4f6daf2efd19e8809af0564490'/>
<id>urn:sha1:7b215de3d0abbc4f6daf2efd19e8809af0564490</id>
<content type='text'>
Pull i2c updates from Wolfram Sang:
 "I2C has the following updates for 3.16:

   - major cleanups to the rcar and sh_mobile drivers
   - removal of nuc900 driver which had a compile error for years
   - usual bunch of driver updates, bugfixes and cleanups"

* 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (44 commits)
  i2c: pca954x: Fix compilation without CONFIG_GPIOLIB
  i2c: mux: pca954x: Use the descriptor-based GPIO API
  i2c: mpc: insert DR read in i2c_fixup()
  i2c: bfin: turn to Resource-managed API in probe function
  i2c: Make of_device_id array const
  i2c: remove unnecessary OOM messages
  i2c: designware-pci: Add Haswell PCI IDs
  i2c: designware: Add runtime PM hooks
  i2c: designware: Disable device on system suspend
  i2c: nuc900: remove driver
  i2c: imx: update i2c clock divider for each transaction
  i2c: imx: fix the i2c bus hang issue when do repeat restart
  i2c: rcar: update copyright and license information
  i2c: rcar: janitorial cleanup after refactoring
  i2c: rcar: reuse status bits as enable bits
  i2c: rcar: remove spinlock
  i2c: rcar: refactor status bit handling
  i2c: rcar: refactor setting up msg
  i2c: rcar: check bus free before first message
  i2c: rcar: refactor irq state machine
  ...
</content>
</entry>
<entry>
<title>i2c: pca954x: Fix compilation without CONFIG_GPIOLIB</title>
<updated>2014-06-05T13:09:33Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2014-06-04T16:56:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=642653d16a0f8e78b7a25d930b62aa771ebc939c'/>
<id>urn:sha1:642653d16a0f8e78b7a25d930b62aa771ebc939c</id>
<content type='text'>
The pca954x driver recently switched to the GPIO descriptor API without
including the correct &lt;linux/gpio/consumer.h&gt; header. This breaks
compilation without CONFIG_GPIOLIB.

drivers/i2c/muxes/i2c-mux-pca954x.c: In function ‘pca954x_probe’:
drivers/i2c/muxes/i2c-mux-pca954x.c:204:2: error: implicit declaration
of function ‘devm_gpiod_get’ [-Werror=implicit-function-declaration]
  gpio = devm_gpiod_get(&amp;client-&gt;dev, "reset");
  ^
drivers/i2c/muxes/i2c-mux-pca954x.c:204:7: warning: assignment makes
pointer from integer without a cast [enabled by default]
  gpio = devm_gpiod_get(&amp;client-&gt;dev, "reset");
       ^
drivers/i2c/muxes/i2c-mux-pca954x.c:206:3: error: implicit declaration
of function ‘gpiod_direction_output’
[-Werror=implicit-function-declaration]
   gpiod_direction_output(gpio, 0);
   ^
cc1: some warnings being treated as errors
make[3]: *** [drivers/i2c/muxes/i2c-mux-pca954x.o] Error 1

Fix it by including the right header.

Reported-by: Jim Davis &lt;jim.epost@gmail.com&gt;
Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: pca954x: Use the descriptor-based GPIO API</title>
<updated>2014-06-03T12:24:20Z</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2014-06-03T11:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4807e8459bce425973c6c6a4f3bb2bb9b7aa0a36'/>
<id>urn:sha1:4807e8459bce425973c6c6a4f3bb2bb9b7aa0a36</id>
<content type='text'>
The ID-based GPIO API pushes handling of GPIO polarity to drivers.
Simplify the driver by switching to the descriptor-based GPIO API.

This also fixes a mismatch between the pca954x DT bindings that document
a "reset-gpios" property and the driver that requests a "reset-gpio"
property.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
</feed>
