Re: [PATCH 1/2] i2c: add SMBus Host Notify support

2015-06-29 Thread Jean Delvare
Hi Benjamin, On Tue, 23 Jun 2015 14:58:18 -0400, Benjamin Tissoires wrote: SMBus Host Notify allows a slave device to act as a master on a bus to notify the host of an interrupt. The functionality is directly implemented in the firmware so we just export a toggle function and rely on the

Re: [RFC PATCH 1/1] i2c: core: add of_get_i2c_adapter_by_node

2015-06-29 Thread Vladimir Zapolskiy
Hi Wolfram, On 29.06.2015 11:17, Wolfram Sang wrote: On Mon, Jun 29, 2015 at 03:36:19PM +0900, Frkuska, Joshua wrote: This adds of_get_i2c_adapter_by_node which both finds and properly increments the adapter reference count. This is different from of_find_i2c_device_by_node which does not

[PATCH v2] i2c-tools: Implement Module.mk for eeprog subdir

2015-06-29 Thread Matwey V. Kornilov
Move eeprog to separate subdir and implement Module.mk for it Signed-off-by: Matwey V. Kornilov matwey.korni...@gmail.com --- eeprog/24cXX.c | 185 eeprog/24cXX.h | 58 ++ eeprog/Module.mk | 67 eeprog/README.eeprog

RE: [Patch v2] i2c: imx: add runtime pm support to improve the performance

2015-06-29 Thread Gao Pandy
Ping ... From: Gao Pan b54...@freescale.com Sent: Thursday, June 18, 2015 5:28 PM To: w...@the-dreams.de Cc: linux-i2c@vger.kernel.org; Li Frank-B20596; Duan Fugang-B38611; Gao Pan-B54642; u.kleine-koe...@pengutronix.de Subject: [Patch v2] i2c: imx: add runtime pm support to improve the

Re: [RFC PATCH 1/1] i2c: core: add of_get_i2c_adapter_by_node

2015-06-29 Thread Wolfram Sang
On Mon, Jun 29, 2015 at 03:36:19PM +0900, Frkuska, Joshua wrote: This adds of_get_i2c_adapter_by_node which both finds and properly increments the adapter reference count. This is different from of_find_i2c_device_by_node which does not increment the adapter reference counter.

Re: [PATCH] i2c-tools: Implement Module.mk for eepromer subdir

2015-06-29 Thread Matwey V. Kornilov
2015-06-29 11:41 GMT+03:00 Jean Delvare jdelv...@suse.de: Hi Matwey, On Sat, 27 Jun 2015 11:49:07 +0300, Matwey V. Kornilov wrote: eepromer/Module.mk has to be present in order to do make EXTRA=eepromer The problem with the eepromer directory is that it's a mess. There are 3 tools

Re: [PATCH] i2c-tools: Implement Module.mk for eepromer subdir

2015-06-29 Thread Jean Delvare
Hi Matwey, On Sat, 27 Jun 2015 11:49:07 +0300, Matwey V. Kornilov wrote: eepromer/Module.mk has to be present in order to do make EXTRA=eepromer The problem with the eepromer directory is that it's a mess. There are 3 tools there which do basically the same (programming EEPROMs), but each

Re: [PATCH-V2 00/12] i2c: pxa: Fixes, cleanup and support for pxa910 family

2015-06-29 Thread Vaibhav Hiremath
On Monday 15 June 2015 09:19 PM, Vaibhav Hiremath wrote: This patch series fixes bugs/warnings, cleans up the code and adds support for PXA910 family of devices to PXA I2C bus driver. There has been one attempt made sometime back in 2012 to upstream some of the patches from below list, but

[PATCH] i2c: jz4780: Fix return value if probe fails

2015-06-29 Thread Axel Lin
Current code returns 0 if fails to read clock-frequency DT property, fix it. Also add checking return value of clk_prepare_enable and propagate return value of devm_request_irq. Signed-off-by: Axel Lin axel@ingics.com --- drivers/i2c/busses/i2c-jz4780.c | 15 --- 1 file changed,

[PATCH] i2c: xgene-slimpro: Fix missing mbox_free_channel call in probe error path

2015-06-29 Thread Axel Lin
Free requested mailbox channel before return error. Signed-off-by: Axel Lin axel@ingics.com --- drivers/i2c/busses/i2c-xgene-slimpro.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c b/drivers/i2c/busses/i2c-xgene-slimpro.c index dcca707..1c9cb65a