Re: i2c slave support für i.mx6

2015-11-23 Thread Michael Bachmeier
Hi, Is the recognition of IAAS a hardware interrupt (according to manual, yes)? I set IEN (I2C enable) and IIEN (Interrupt Enable). I set the slave address to 0x1c (chosen at random). The IMX bus driver is unchanged. With my external Master I ask for the address on the bus. But the IAAS bit is

Re: [PATCH v2] i2c: cadence: Move to sensible power management

2015-11-23 Thread Shubhrajyoti Datta
On Tue, Nov 24, 2015 at 12:17 AM, Sören Brinkmann wrote: > On Sat, 2015-11-21 at 07:00PM +0530, Shubhrajyoti Datta wrote: >> On Thu, Oct 29, 2015 at 8:27 PM, Shubhrajyoti Datta >> wrote: >> > On Wed, Oct 28, 2015 at 9:48 PM, Sören

[PATCH v4] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-23 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtou8. Reviewed-by: Jean Delvare Tested-by: Jean Delvare Signed-off-by: LABBE Corentin --- drivers/i2c/busses/i2c-taos-evm.c | 8 +++- 1 file

[PATCH v4] i2c: taos-evm: replace simple_strtoul by kstrto

2015-11-23 Thread LABBE Corentin
Hello Change since v3 - Added reviewed-by and tested-by - Fix Capital letter and missing dot in the comment. Changes since v2 - removed err variable - fix a spelling issue Changes since v1 - drop the return code of kstrtou8 and return -EPROTO as suggested by Jean Delvare - Added a comment on

[PATCHv3 2/2] i2c: cadence: Remove the suspended flag

2015-11-23 Thread Shubhrajyoti Datta
The suspended flag is a flag holding the device's PM status. The runtime framework does that for us. Use pm_runtime_suspended call instead. Signed-off-by: Shubhrajyoti Datta --- v3: split the patches drivers/i2c/busses/i2c-cadence.c |7 +-- 1 files changed, 1

[PATCHv3 1/2] i2c: cadence: Move to sensible power management

2015-11-23 Thread Shubhrajyoti Datta
Currently the clocks are enabled at probe and disabled at remove. Which keeps the clocks enabled even if no transaction is going on. This patch enables the clocks at the start of transfer and disables after it. Also adapts to runtime pm. converts dev pm to const to silence a checkpatch warning.

Re: [PATCH v2] i2c: cadence: Move to sensible power management

2015-11-23 Thread Sören Brinkmann
On Sat, 2015-11-21 at 07:00PM +0530, Shubhrajyoti Datta wrote: > On Thu, Oct 29, 2015 at 8:27 PM, Shubhrajyoti Datta > wrote: > > On Wed, Oct 28, 2015 at 9:48 PM, Sören Brinkmann > > wrote: > >> Hi Shubhrajyoti, > >> > >> > >> On Wed,