Re: [V2 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-04-17 Thread rajeev kumar
On Fri, Apr 17, 2015 at 11:22 AM, rajeev kumar rajeevkumar.li...@gmail.com wrote: On Thu, Apr 16, 2015 at 9:40 PM, Kamal Dasu kdasu.k...@gmail.com wrote: Rajeev, Thanks for the review. Answers inline. Kamal On Wed, Apr 15, 2015 at 3:21 AM, rajeev kumar rajeevkumar.li...@gmail.com wrote:

Re: [PATCH v1 i2c/for-next] i2c-i801: recover from hardware PEC errors

2015-04-17 Thread Jean Delvare
Hi Ellen, On Wed, 15 Apr 2015 13:46:17 -0700, Ellen Wang wrote: On 4/15/2015 5:08 AM, Jean Delvare wrote: On Mon, 13 Apr 2015 17:11:59 -0700, Ellen Wang wrote: On a CRC error while using hardware-supported PEC, an additional error bit is set in the auxiliary status register. If this bit

RE: [RFC PATCH 1/1] i2c: core: Add support for best effort block read emulation

2015-04-17 Thread Tirdea, Irina
-Original Message- From: Wolfram Sang [mailto:w...@the-dreams.de] Sent: 15 April, 2015 18:55 To: Tirdea, Irina Cc: linux-i2c@vger.kernel.org; linux-ker...@vger.kernel.org Subject: Re: [RFC PATCH 1/1] i2c: core: Add support for best effort block read emulation On Wed, Mar 25,

[PATCH] omap: i2c: Add calls for pinctrl state select

2015-04-17 Thread pascal . huerst
From: Pascal Huerst pascal.hue...@gmail.com This adds calls to pinctrl subsystem in order to switch pin states on suspend/resume if you provide a sleep state in DT. Signed-off-by: Pascal Huerst pascal.hue...@gmail.com --- drivers/i2c/busses/i2c-omap.c | 4 1 file changed, 4 insertions(+)

Re: [V2 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-04-17 Thread Florian Fainelli
On 16/04/15 22:52, rajeev kumar wrote: +#define bsc_readl(_dev, reg) \ + __bsc_readl(_dev, offsetof(struct bsc_regs, reg)) + use readl/writel This peripheral is used on chips that can run in either little or big-endian, and in both cases,

Re: [PATCH v4 0/3] i2c: davinci improvements and fixes

2015-04-17 Thread grygorii.stras...@linaro.org
On 04/10/2015 06:59 PM, Wolfram Sang wrote: On Mon, Apr 06, 2015 at 03:38:38PM +0300, grygorii.stras...@linaro.org wrote: From: Grygorii Strashko grygorii.stras...@linaro.org This series converts driver to use I2C bus recovery infrastructure and adds Davinci I2C bus recovery mechanizm based on

Re: Need some guidance on i2c-ocores driver

2015-04-17 Thread York Sun
Resend to LKML Lee, This question is actually more about MFD. Can you point me to the possible causes for my failure below? Thanks. York On 04/16/2015 05:02 PM, York Sun wrote: Julia and other experts, I am seeking for help on my device driver. I am working on a module driver for a

[PATCH v2 1/2] i2c: core: Add support for best effort block read emulation

2015-04-17 Thread Irina Tirdea
There are devices that need to handle block transactions regardless of the capabilities exported by the adapter. For performance reasons, they need to use i2c read blocks if available, otherwise emulate the block transaction with word or byte transactions. Add support for a helper function that

[PATCH v2 0/2] Add support for best effort block read emulation

2015-04-17 Thread Irina Tirdea
This is the second version for adding i2c_smbus_read_i2c_block_data_or_emulated to i2c-core. It contains mostly fixes suggested by Wolfram. Changes since v1: - dropped the RFC tag - changed at24 to use i2c_smbus_read_i2c_block_data_or_emulated - when reading an odd number of bytes using word