Re: [i2c-mpc.c] adding entry for mpc8360

2012-01-12 Thread Wolfgang Grandegger
Hello, I added the "devicetree-discuss" ml. On 01/12/2012 04:34 PM, Richard Retanubun wrote: > Hello, > > I am wondering if it is okay to add .compatible entries for mpc8360 and > declare its data structure > to mpc-i2c.c > > something like this: > > {.compatible = "fsl,mpc8360-i2c", .data = &

[PATCHv9 1/2] OMAP : I2C : Remove reset at init

2012-01-12 Thread Shubhrajyoti D
The reset in the driver at init is not needed anymore as the following patch has removed the HWMOD_INIT_NO_RESET flag. 6d3c55f [OMAP: hwmod: fix the i2c-reset timeout during bootup] This patch does the following -removes the reset from the probe and implements a omap_i2c_reset function to reset.

[PATCHv9 0/2] I2C driver updates

2012-01-12 Thread Shubhrajyoti D
The patch series does the following - Removes the reset from probe and inplements a seperate function. - Removes the reset from init as hwmod does it. - The second patch inplements the recovery from bus busy condition Tested on omap4sdp and omap3430 applies to Kevin's for_3.3/i2c/misc Shub

[PATCH 2/2] I2C: OMAP: Recover from Bus Busy condition

2012-01-12 Thread Shubhrajyoti D
From: Vikram Pandita In case a peripheral is driving SDA bus low (ie. a start condition), provide a constant clock output using the test mode of the OMAP I2C controller to try and clear the bus. Soft reset I2C controller after attempting the bus clear to ensure that controller is in a good state.

[RESEND] i2c-eg20t: some patches are not reviewed yet

2012-01-12 Thread Tomoya MORINAGA
Hi The following 3 patches are still not reviewed yet for 2~3 months. Could you review and accept these patches ? Subject:[PATCH] i2c-eg20t: modified the setting of transfer rate. From: Toshiharu Okada Date: 2011-09-26 7:16:23 http://marc.info/?l=linux-i2c&m=131702145913299&w=2

Re: [PATCHv8 4/5] OMAP: I2C: Remove the reset in the init path

2012-01-12 Thread Paul Walmsley
On Thu, 12 Jan 2012, Cousson, Benoit wrote: > On 1/11/2012 4:22 PM, Paul Walmsley wrote: > > On Wed, 11 Jan 2012, Cousson, Benoit wrote: > > > > > Something that puzzle me on that point is most architecture does not use > > > plateform_device and thus does not have any pdata to hack some custom >

Re: [PATCH] I2C: SiByte: Convert the driver to make use of interrupts

2012-01-12 Thread Matt Turner
On Tue, Jan 10, 2012 at 9:38 AM, Jean Delvare wrote: > On Mon, 31 Oct 2011 10:53:54 +0100, Jean Delvare wrote: >> On Sat, 3 Sep 2011 10:30:36 +0200, Jean Delvare wrote: >> > Please address my concerns where you agree and send an updated patch. >> >> Matt, care to send an updated patch addressing m

[GIT PULL] i2c updates for Linux 3.3

2012-01-12 Thread Jean Delvare
Hi Linus, Please pull i2c subsystem updates for Linux 3.3 from: git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git i2c-for-linus MAINTAINERS|4 +++ drivers/i2c/busses/i2c-ali1535.c | 38 +++ drivers/i2c/buss

[i2c-mpc.c] adding entry for mpc8360

2012-01-12 Thread Richard Retanubun
Hello, I am wondering if it is okay to add .compatible entries for mpc8360 and declare its data structure to mpc-i2c.c something like this: {.compatible = "fsl,mpc8360-i2c", .data = &mpc_i2c_data_8360, }, static struct mpc_i2c_data mpc_i2c_data_8360 __devinitdata = { .setup = mpc_i2c_

Re: [PATCH RFC] OMAP: I2C: Fix the mismatch of pm_runtime enable and disable

2012-01-12 Thread Felipe Contreras
On Wed, Jan 11, 2012 at 4:25 PM, Shubhrajyoti wrote: > On Wednesday 11 January 2012 07:29 PM, Grazvydas Ignotas wrote: >> On Wed, Jan 11, 2012 at 3:21 PM, Shubhrajyoti D wrote: >>> Currently the i2c driver calls the pm_runtime_enable and never >>> the disable. This may cause a warning when pm_run

Re: [PATCHv8 4/5] OMAP: I2C: Remove the reset in the init path

2012-01-12 Thread Cousson, Benoit
On 1/11/2012 4:22 PM, Paul Walmsley wrote: On Wed, 11 Jan 2012, Cousson, Benoit wrote: Something that puzzle me on that point is most architecture does not use plateform_device and thus does not have any pdata to hack some custom function pointers here an there. It means that there is probably

Re: [PATCH] i2c-eg20t: use i2c_add_numbered_adapter to get a fixed bus number

2012-01-12 Thread Rajeev kumar
On 1/12/2012 1:08 PM, Feng Tang wrote: For EG20T and ML7213 IOH, the i2c controller numbers are fixed, using fixed bus number will make it much easier for platform code to use i2c_register_board_info() to register i2c devices. Signed-off-by: Feng Tang --- drivers/i2c/busses/i2c-eg20t.c |4