Re: [PATCH] i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING

2012-05-04 Thread Jean Delvare
Hi Wolfram, On Thu, 3 May 2012 13:35:46 +0200, Wolfram Sang wrote: On Thu, May 03, 2012 at 11:53:36AM +0100, Mark Brown wrote: Since there are uses for I2C_M_NOSTART which are much more sensible and standard than most of the protocol mangling functionality (the main one being gather writes

[PATCH V4 1/2] i2c/adapter: Add bus recovery infrastructure

2012-05-04 Thread Viresh Kumar
Add i2c bus recovery infrastructure to i2c adapters as specified in the i2c protocol Rev. 03 section 3.16 titled Bus clear. http://www.nxp.com/documents/user_manual/UM10204.pdf Sometimes during operation i2c bus hangs and we need to give dummy clocks to slave device to start the transfer again.

[PATCH V4 0/2] I2C: Add bus recovery infrastructure

2012-05-04 Thread Viresh Kumar
Hi Wolfram, This patchset adds i2c bus recovery infrastructure to i2c adapters as specified in the i2c protocol Rev. 03 section 3.16 titled Bus clear. http://www.nxp.com/documents/user_manual/UM10204.pdf This patch was earlier part of a separate thread:

[PATCH V4 2/2] i2c/designware: Provide i2c bus recovery support

2012-05-04 Thread Viresh Kumar
Add bus recovery support for designware_i2c controller. It uses generic gpio based i2c_gpio_recover_bus() routine. Signed-off-by: Vincenzo Frascino vincenzo.frasc...@st.com Signed-off-by: Shiraz Hashim shiraz.has...@st.com Signed-off-by: Viresh Kumar viresh.ku...@st.com ---

Re: [PATCH] i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING

2012-05-04 Thread Mark Brown
On Thu, May 03, 2012 at 08:36:17PM +0200, Jean Delvare wrote: You must also update the description of I2C_FUNC_PROTOCOL_MANGLING to no longer mention I2C_M_NOSTART. For backwards ABI compatibility _PROTCOL_MANGING still has to imply _NOSTART, though it's unclear if that should be documented

Re: [PATCH] i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING

2012-05-04 Thread Mark Brown
On Thu, May 03, 2012 at 08:36:17PM +0200, Jean Delvare wrote: This is all correct, but it should be documented in Documentation/i2c/i2c-protocol. At the moment documentation still says that I2C_M_NOSTART is a weird protocol quirk nobody should be using. When you update the documentation, I

Re: [PATCH RESEND] i2c/nomadik: runtime PM support

2012-05-04 Thread Mark Brown
On Thu, May 03, 2012 at 09:25:37PM +0200, Rafael J. Wysocki wrote: On Thursday, May 03, 2012, Mark Brown wrote: This seems like a really useful idiom in general - might it be worth supporting as a standard framework feature? The generic PM domains framework does this, it's not

Re: [PATCH v3 0/7] ARM: davinci: add support for the am1808 based enbw_cmc board

2012-05-04 Thread Heiko Schocher
Hello, this v3 patchset is now pending for more than 1 month without seeing comments for it. Are there no more issues? Should I rebase it (if no further comments occur), as it is pending so long? (If so, against which tree?) Thanks. bye, Heiko Heiko Schocher wrote: This patchserie add

[PATCH 00/15] DT enablement for Snowball

2012-05-04 Thread Lee Jones
Here's your next back of DT related doings for the ux500, along with some bugs encountered fixed along the way. arch/arm/boot/dts/db8500.dtsi | 103 +- arch/arm/boot/dts/snowball.dts |3 + arch/arm/configs/u8500_defconfig |1 + arch/arm/mach-ux500/board-mop500.c |

[PATCH 02/15] ARM: ux500: Remove unused i2c platform_data initialisation code

2012-05-04 Thread Lee Jones
Now that u5500 is obsolete, u8500 is the only user of the Nomadik i2c driver. As such there is no requirement to differentiate between initialisation values. By the time a new SoC is released, almost all of the ux500 platform will be DT:ed, so we can make decisions based on the compatible property

[PATCH 04/15] ARM: ux500: CONFIG: Compile in support for leds-gpio

2012-05-04 Thread Lee Jones
Code exists in the mop500 board file (used for HREF and Snowball) to initialise Snowball's user LED via the leds-gpio driver. However, the driver isn't currently built when using the default configuration file. This patch aims to change that behavior. Signed-off-by: Lee Jones lee.jo...@linaro.org

[PATCH 07/15] drivers/power: Carry out platform_data error checking on ab8500 devices

2012-05-04 Thread Lee Jones
In their current state the ab8500 power devices explode if platform data isn't provided. This patch prevents this from happening and informs the user of what has happened. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/power/ab8500_btemp.c | 12

[PATCH 09/15] drivers/mfd: Enable Device Tree support for the db8500-prcmu

2012-05-04 Thread Lee Jones
This patch will enable probing to occur during a Device Tree enabled boot. The IRQ base is expected to be located in and will be fetched from the DT itself. We also prevent any of the db8500 regulators from being registered here, as they will be enabled via DT instead. Signed-off-by: Lee Jones

[PATCH 10/15] drivers/mfd: db8500-prcmu: Add support for regulator supply for nmk-i2c.4

2012-05-04 Thread Lee Jones
This applies a supply alias for the db8500's fifth Nomadik i2c port. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/db8500-prcmu.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 9bc75a8..d534449 100644 ---

[PATCH 12/15] drivers/regulator: ab8500: Split up probe() into manageable pieces

2012-05-04 Thread Lee Jones
ab8500's probe() function is becoming quite large, so in the lead up to Device Tree enablement which will fork the thread of execution this patch splits it into 3 main areas; basic error checking will remain in probe(), but regulator register initialisation and regulator registration have been

[PATCH 15/15] ARM: ux500: Disable platform setup of the ab8500 when DT is enabled

2012-05-04 Thread Lee Jones
The final piece of the ab8500 puzzle. Here we prevent any of the ab8500-* drivers from being registered from platform code when Device Tree is enabled, as we expect DT do probe each of these individually. We also provide the relevant compatible strings, so that DT knows which nodes it needs to pay

Re: [PATCH v3 0/7] ARM: davinci: add support for the am1808 based enbw_cmc board

2012-05-04 Thread Sekhar Nori
Hi Heiko, On 5/4/2012 9:03 PM, Heiko Schocher wrote: Hello, this v3 patchset is now pending for more than 1 month without seeing comments for it. Are there no more issues? I am yet to get to them. I have mostly cleared my backlog and will be looking into these next. Sorry about the delay.

Re: [PATCH RESEND] i2c/nomadik: runtime PM support

2012-05-04 Thread Rafael J. Wysocki
On Friday, May 04, 2012, Mark Brown wrote: On Thu, May 03, 2012 at 09:25:37PM +0200, Rafael J. Wysocki wrote: On Thursday, May 03, 2012, Mark Brown wrote: This seems like a really useful idiom in general - might it be worth supporting as a standard framework feature? The generic PM

Re: [PATCH 06/15] mfd/ab8500: Remove confusing ab8500-i2c file and merge into ab8500-core

2012-05-04 Thread Arnd Bergmann
On Friday 04 May 2012, Lee Jones wrote: ab8500-i2c is used as core code to register the ab8500 device. After allocating ab8500 memory, it immediately calls into ab8500-core where the real initialisation takes place. This patch moves all core registration and memory allocation into the true