Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-21 Thread Greg Kroah-Hartman
On Thu, May 21, 2015 at 07:51:18AM +0200, Willy Tarreau wrote: On Wed, May 20, 2015 at 05:46:44PM +0200, Richard Weinberger wrote: On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Lets give the parport subsystem a proper name and start maintaining the

[PATCH v2 4/6] i2c-parport: use new parport device model

2015-05-21 Thread Sudip Mukherjee
Modify i2c-parport driver to use the new parallel port device model. Tested-by: Jean Delvare jdelv...@suse.de Acked-by: Wolfram Sang w...@the-dreams.de Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v2: Changed to one space instead of tab in i2c_parport_driver. i2c_parport_cb is made

Re: [PATCH v8 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-05-21 Thread Eddie Huang
Hi, Please see my reply below (I skip comments that already reply in another mail). On Wed, 2015-05-20 at 10:57 +0200, Uwe Kleine-König wrote: Hello, now that I understood the formula some more comments to the calculation. On Tue, May 19, 2015 at 12:40:08AM +0800, Eddie Huang wrote:

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-21 Thread Sudip Mukherjee
On Wed, May 20, 2015 at 10:36:04PM +0200, Richard Weinberger wrote: Am 20.05.2015 um 18:33 schrieb One Thousand Gnomes: On Wed, 20 May 2015 17:46:44 +0200 Richard Weinberger richard.weinber...@gmail.com wrote: On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee sudipm.mukher...@gmail.com

[PATCH v9 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-21 Thread Eddie Huang
This series is for Mediatek SoCs I2C controller common bus driver. Earlier MTK SoC (for example, MT6589, MT8135) I2C HW has some limitations. New generation SoC like MT8173 fix following limitations: 1. Only support one i2c_msg number. One exception is WRRD (write then read) mode. WRRD can have

[PATCH v9 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-05-21 Thread Eddie Huang
From: Xudong Chen xudong.c...@mediatek.com The mediatek SoCs have I2C controller that handle I2C transfer. This patch include common I2C bus driver. This driver is compatible with I2C controller on mt65xx/mt81xx. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Liguo Zhang

[PATCH v9 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-05-21 Thread Eddie Huang
From: Xudong Chen xudong.c...@mediatek.com Add devicetree bindings for Mediatek Soc I2C driver. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Eddie Huang eddie.hu...@mediatek.com Acked-by: Sascha Hauer s.ha...@pengutronix.de --- .../devicetree/bindings/i2c/i2c-mt6577.txt

[PATCH v9 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-05-21 Thread Eddie Huang
Add mediatek MT8173 I2C controller driver. Compare to I2C controller of earlier mediatek SoC, MT8173 fix write-then-read limitation, and also increase message size to 64kb. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Liguo Zhang liguo.zh...@mediatek.com Signed-off-by: Eddie

Re: [PATCH v2] i2c: designware: Avoid unnecessary resuming during system suspend

2015-05-21 Thread Mika Westerberg
[Adding Jarkko, just in case he has concerns about this] On Wed, May 20, 2015 at 10:33:13PM +0800, Jisheng Zhang wrote: Commit 1fc2fe204cb9 (i2c: designware: Add runtime PM hooks) adds runtime pm support using the same ops for system pm and runtime pm. When suspend to ram, the i2c host may

[PATCH v2 2/2] input: adxl34x: Add OF match support

2015-05-21 Thread Geert Uytterhoeven
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com The I2C subsystem can match devices without explicit OF support based on the part of their compatible property after the comma. However, this mechanism uses the first compatible value only. For adxl34x OF device nodes the compatible

[PATCH v2 1/2] DT: i2c: Deprecate adi,adxl34x compatible string

2015-05-21 Thread Geert Uytterhoeven
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com DT nodes should use the more specific adi,adxl345 and adi,adxl346 compatible values instead. As the ADXL346 is backward-compatible with the ADXL345, ADXL346 nodes must list both adi,adxl346 and adi,adxl345, in that order.

[PATCH v2 0/2] Fix OF match for adxl34x driver

2015-05-21 Thread Geert Uytterhoeven
Hi Dmitry, This is a resent of a series by Laurent Pinchart to fix OF matching for the adxl34x driver. According to the discussion in response to that series, we were under the impression this was going in through the input tree (http://www.spinics.net/lists/linux-i2c/msg18293.html). In

I2C class bitmask

2015-05-21 Thread York Sun
Lee, Is there any convention regarding I2C class bitmask? I see only three are defined for 3.12.19 and four for 4.0 I2C_CLASS_HWMON, I2C_CLASS_DDC, I2C_CLASS_SPD, I2C_CLASS_DEPRECATED I am working on a clock chip driver (SI5338) and trying to detect them (multiple chips in i2c mux). It would be

Re: [PATCH v9 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-05-21 Thread Daniel Kurtz
On Thu, May 21, 2015 at 4:53 PM, Eddie Huang eddie.hu...@mediatek.com wrote: This series is for Mediatek SoCs I2C controller common bus driver. Earlier MTK SoC (for example, MT6589, MT8135) I2C HW has some limitations. New generation SoC like MT8173 fix following limitations: 1. Only support

resend [PATCH] misc: eeprom: at25: add Cypress FRAM functionality

2015-05-21 Thread Jiří Prchal
This patch adds functionality for Cypress FRAMs on SPI bus, such as FM25V05, FM25V10 etc. Added to at25 driver: - reading device ID and choose size and addr len from it - serial number reading and exporting it to sysfs - new compatible string Signed-off-by: Jiri Prchal jiri.prc...@aksignal.cz

Re: [PATCH v2 2/2] input: adxl34x: Add OF match support

2015-05-21 Thread Simon Horman
On Thu, May 21, 2015 at 01:42:26PM +0200, Geert Uytterhoeven wrote: From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com The I2C subsystem can match devices without explicit OF support based on the part of their compatible property after the comma. However, this mechanism uses