Re: [PATCH 2/4] ARM: dts: omap5-uevm: Add USB Host support

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 12:16 AM, Nishanth Menon wrote: On 23:21-20130606, Sricharan R wrote: Hi, On Wednesday 05 June 2013 07:27 PM, Nishanth Menon wrote: On 12:16-20130605, Sricharan R wrote: From: Roger Quadros rog...@ti.com [...] diff --git a/arch/arm/boot/dts/omap5-uevm.dts

Re: [PATCH v9 1/9] ARM: davinci: move private EDMA API to arm/common

2013-06-07 Thread Sekhar Nori
+ Chris since the patch has some davinci_mmc.c changes. Chris, Mark, On 3/6/2013 9:45 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Sekhar Nori nsek...@ti.com Can

Re: [PATCH 10/32] OMAPDSS: split overlay manager creation

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Split the function that creates overlay manager structs into two: one that creates just the structs, and one that creates the sysfs files for the manager. This will help us use the overlay manager structs with omapdrm in the following

Re: [PATCH 11/32] OMAPDRM: fix overlay manager handling

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Currently omapdrm creates crtcs, which map directly to DSS overlay managers, only on demand at init time. This would make it difficult to manage connecting the display entities in the future, as the code cannot just search for a suitable

Re: [PATCH 12/32] OMAPDSS: Implement display (dis)connect support

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: We currently have two steps in panel initialization and startup: probing and enabling. After the panel has been probed, it's ready and can be configured and later enabled. This model is not enough with more complex display pipelines, where

Re: [PATCH 14/32] OMAPDSS: DSI: cleanup regulator init

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Separate the regulator initialization code to its own function, removing duplicate code. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dsi.c | 82 --- 1 file

Re: [PATCH 15/32] OMAPDSS: DPI: cleanup pll regulator init

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Split regulator and DSI PLL init code to their own functions for clarity. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dpi.c | 100 ++ 1 file changed, 53

Re: [PATCH 19/32] OMAPDSS: add videomode conversion support

2013-06-07 Thread Archit Taneja
On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Add helper functions to convert between omapdss specific video timings and the common videomode. Eventually omapdss will be changed to use only the common video timings, and these helper functions will make the transition easier. So we

Re: [net-next PATCH v4 1/5] net: cpsw: enhance pinctrl support

2013-06-07 Thread Linus Walleij
On Thu, Jun 6, 2013 at 10:50 AM, Mark Brown broo...@kernel.org wrote: On Thu, Jun 06, 2013 at 11:29:39AM +0530, Mugunthan V N wrote: On 6/6/2013 12:53 AM, Mark Brown wrote: Linus Walleij posted some patches which factor the state setting code out into generic functions earlier on today - it

Re: [net-next PATCH v4 1/5] net: cpsw: enhance pinctrl support

2013-06-07 Thread David Miller
From: Linus Walleij linus.wall...@linaro.org Date: Fri, 7 Jun 2013 09:31:58 +0200 On Thu, Jun 6, 2013 at 10:50 AM, Mark Brown broo...@kernel.org wrote: On Thu, Jun 06, 2013 at 11:29:39AM +0530, Mugunthan V N wrote: On 6/6/2013 12:53 AM, Mark Brown wrote: Linus Walleij posted some patches

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Paul Walmsley
cc Benoît On Fri, 7 Jun 2013, Sricharan R wrote: I used autogen to remove the data, but some of the data were not in sync with the mainline .(like abe, dss, aess, context register offsets etc..). So i have to sync them manually. OK. Are you going to fix the differences up soon? - Paul

Re: [PATCH 12/32] OMAPDSS: Implement display (dis)connect support

2013-06-07 Thread Tomi Valkeinen
On 07/06/13 09:46, Archit Taneja wrote: @@ -384,6 +424,10 @@ int omap_dss_register_driver(struct omap_dss_driver *dssdriver) omapdss_default_get_recommended_bpp; if (dssdriver-get_timings == NULL) dssdriver-get_timings = omapdss_default_get_timings; +if

Re: [PATCH 19/32] OMAPDSS: add videomode conversion support

2013-06-07 Thread Tomi Valkeinen
On 07/06/13 10:06, Archit Taneja wrote: On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Add helper functions to convert between omapdss specific video timings and the common videomode. Eventually omapdss will be changed to use only the common video timings, and these helper functions

Re: Request for OMAPDSS testing

2013-06-07 Thread Tomi Valkeinen
On 06/06/13 23:43, Aaro Koskinen wrote: Hi, On Tue, Jun 04, 2013 at 10:40:37AM +0300, Tomi Valkeinen wrote: I've made some big changes on the omapdss device model, which involves converting all the panel drivers. I've got only a bunch of boards, so I hope some of you can perhaps do some

Re: [PATCH 15/32] OMAPDSS: DPI: cleanup pll regulator init

2013-06-07 Thread Tomi Valkeinen
On 07/06/13 09:51, Archit Taneja wrote: -static int dpi_init_display(struct omap_dss_device *dssdev) -{ -struct platform_device *dsidev; - -DSSDBG(init_display\n); - -if (dss_has_feature(FEAT_DPI_USES_VDDS_DSI) -dpi.vdds_dsi_reg == NULL) { -struct

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 01:22 PM, Paul Walmsley wrote: cc Benoît On Fri, 7 Jun 2013, Sricharan R wrote: I used autogen to remove the data, but some of the data were not in sync with the mainline .(like abe, dss, aess, context register offsets etc..). So i have to sync them manually. OK.

Re: [PATCH] i2c: Let users disable Probe an I2C bus for certain devices

2013-06-07 Thread Wolfram Sang
3) Thinking about Mainline: To reach the same target - no I2C detection - and taking into account above assumption No changes in default behavior the following will need to be done: - change i2c-omap/i2c-gpio DT bindings and add parameter which will allow to change .class value for

[RFC] i2c: add deprecation warning for class based instantiation

2013-06-07 Thread Wolfram Sang
Class based instantiation can cause huge delays when booting. This mechanism was used when it was not possible to describe slaves on I2C busses. We now have other mechanisms, so most embedded I2C will not need classes and it was explicitly not recommended to use them. Add a deprecation warning for

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Tero Kristo
On Fri, 2013-06-07 at 14:31 +0530, Sricharan R wrote: On Friday 07 June 2013 01:22 PM, Paul Walmsley wrote: cc Benoît On Fri, 7 Jun 2013, Sricharan R wrote: I used autogen to remove the data, but some of the data were not in sync with the mainline .(like abe, dss, aess, context

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Paul Walmsley
On Fri, 7 Jun 2013, Tero Kristo wrote: On Fri, 2013-06-07 at 14:31 +0530, Sricharan R wrote: On Friday 07 June 2013 01:22 PM, Paul Walmsley wrote: cc Benoît On Fri, 7 Jun 2013, Sricharan R wrote: I used autogen to remove the data, but some of the data were not in sync with

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 03:20 PM, Paul Walmsley wrote: On Fri, 7 Jun 2013, Tero Kristo wrote: On Fri, 2013-06-07 at 14:31 +0530, Sricharan R wrote: On Friday 07 June 2013 01:22 PM, Paul Walmsley wrote: cc Benoît On Fri, 7 Jun 2013, Sricharan R wrote: I used autogen to remove the data, but

Re: [PATCH 10/32] OMAPDSS: split overlay manager creation

2013-06-07 Thread Tomi Valkeinen
On 07/06/13 09:19, Archit Taneja wrote: On Thursday 30 May 2013 03:04 PM, Tomi Valkeinen wrote: Split the function that creates overlay manager structs into two: one that creates just the structs, and one that creates the sysfs files for the manager. This will help us use the overlay manager

Re: [PATCH 0/6] Drop legacy booting for omap4 for v3.11, boot with device tree only

2013-06-07 Thread Tomi Valkeinen
Hi, On 17/05/13 22:17, Tony Lindgren wrote: Hi all, Here are patches against v3.10-rc1 to drop omap4 legacy booting as things are now working well enough for booting omap4 with device tree. We already have am33xx and omap5 booting with device tree only, and converting omap4 is

Re: [PATCH] i2c: Let users disable Probe an I2C bus for certain devices

2013-06-07 Thread Grygorii Strashko
Hi Wolfram, On 06/07/2013 12:06 PM, Wolfram Sang wrote: 3) Thinking about Mainline: To reach the same target - no I2C detection - and taking into account above assumption No changes in default behavior the following will need to be done: - change i2c-omap/i2c-gpio DT bindings and add parameter

[RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-07 Thread Oleksandr Kozaruk
From: Graeme Gregory g...@slimlogic.co.uk The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range of chips - TWL6032. Change the references to reference the TWL6032 class and name the registers to twl6032 in line with an actual released chip name to avoid

Re: [PATCH 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Sricharan R
Hi Benoit, On Friday 07 June 2013 04:13 PM, Benoit Cousson wrote: Hi Sricharan, On 06/07/2013 12:27 PM, Sricharan R wrote: - The IO resource information like dma request lines, irq number and ocp address space can be populated via dt blob. So such data is stripped from OMAP4 SOC hwmod

Re: [PATCH v9 1/9] ARM: davinci: move private EDMA API to arm/common

2013-06-07 Thread Chris Ball
Hi, On Fri, Jun 07 2013, Sekhar Nori wrote: + Chris since the patch has some davinci_mmc.c changes. Chris, Mark, On 3/6/2013 9:45 PM, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. Signed-off-by: Matt Porter

[PATCH 1/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone

2013-06-07 Thread Mugunthan V N
Add pinmux configurations for MII based CPSW ethernet to am335x-bone. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Sleep mode is nothing but the values required for the module during inactive state.

[PATCH 3/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM

2013-06-07 Thread Mugunthan V N
Add pinmux configurations for RGMII based CPSW ethernet to am335x-evm. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Sleep mode is nothing but the values required for the module during inactive

[PATCH 0/3] Add pinmux DT nodes to CPSW for AM335x

2013-06-07 Thread Mugunthan V N
Add pinmux DT nodes to CPSW for the following AM335x boards * AM335x Beaglebone * AM335x EVM * AM335x EVMsk default state contains the pinmux required for active mode and sleep mode contains pinmux reset values for energy saving. Mugunthan V N (3): ARM: dts: AM33XX: Add pinmux configuration for

[PATCH 2/3] ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk

2013-06-07 Thread Mugunthan V N
Add pinmux configurations for RGMII based CPSW ethernet to AM335x EVMsk. Default mode is nothing but the values required for the module during active state. With this configurations module is functional as expected. Sleep mode is nothing but the values required for the module during inactive

[PATCH] ARM: dts: add dtsi for palmas

2013-06-07 Thread J Keerthy
Adds palmas mfd and palmas regulator nodes. This is based on the patch series: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg89957.html The device tree nodes are based on: https://lkml.org/lkml/2013/6/6/25 Signed-off-by: J Keerthy j-keer...@ti.com Signed-off-by: Graeme Gregory

i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Tomi Valkeinen
Hi, I was testing DT boot with 3.10-rc1 and Pandaboard, and couldn't get the DVI output's EDID reading to work. Testing with i2cget and i2cdump, I see that I can read individual bytes with i2cget, but using i2cdump doesn't work, it just shows 'XX'es. The same issue is there with 3.10-rc4,

Re: [PATCH V2 1/4] ARM: dts: omap5: Rename omap5-evm to omap5-uevm

2013-06-07 Thread Benoit Cousson
Hi Sricharan, On 06/06/2013 07:48 PM, Sricharan R wrote: The uevm is the official board supported for the OMAP5 soc in mainline. The uevm has an OMAP5432 with a DDR3 memory. Renaming the board dts file and adding the following cleanups. OK, so in fact you are not just renaming the board file,

Re: [PATCH V2 0/4] ARM: dts: omap5: Cleanup and updates for DT files

2013-06-07 Thread Benoit Cousson
On 06/06/2013 07:48 PM, Sricharan R wrote: uevm is the official board supported for OMAP5 soc in the mainline. This series renames the board dts file for OMAP5 accordingly and cleans up the same. Also a few additional device DT entry updates are done. This is on top of the below branch

Re: [PATCH] ARM: dts: add dtsi for palmas

2013-06-07 Thread Benoit Cousson
Hi Keerthy, On 06/07/2013 01:28 PM, J Keerthy wrote: Adds palmas mfd and palmas regulator nodes. This is based on the patch series: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg89957.html The device tree nodes are based on: https://lkml.org/lkml/2013/6/6/25 It looks like

RE: [PATCH] ARM: dts: add dtsi for palmas

2013-06-07 Thread J, KEERTHY
Hi Benoit, Thanks for the quick response. From: Cousson, Benoit Sent: Friday, June 07, 2013 5:57 PM To: J, KEERTHY Cc: devicetree-disc...@lists.ozlabs.org; linux-omap@vger.kernel.org; linux-ker...@vger.kernel.org; ldewan...@nvidia.com;

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Paul Walmsley
On Fri, 7 Jun 2013, Sricharan R wrote: - The IO resource information like dma request lines, irq number and ocp address space can be populated via dt blob. So such data is stripped from OMAP4 SOC hwmod data file. - The devices which are still missing the device tree bindings, address

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Grygorii Strashko
hi Tomi, On 06/07/2013 02:53 PM, Tomi Valkeinen wrote: Hi, I was testing DT boot with 3.10-rc1 and Pandaboard, and couldn't get the DVI output's EDID reading to work. Testing with i2cget and i2cdump, I see that I can read individual bytes with i2cget, but using i2cdump doesn't work, it just

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Tomi Valkeinen
On 07/06/13 15:36, Grygorii Strashko wrote: Could you check if below change will help you, pls? iff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 13d1eca..66a62e7 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -615,11 +615,11

[PATCH V3 1/4] ARM: dts: omap5: Make uevm as the official board and deprecate sevm support

2013-06-07 Thread Sricharan R
The uevm is the only official board supported for the OMAP5 soc in mainline. The existent sevm platform will no more be supported. Hence cleaning up the board dts file to have only the data required for uevm. Renaming the board dts file and adding the following cleanups. * There are no devices

[PATCH V3 4/4] ARM: dts: omap5-uevm: Add uart pinctrl data

2013-06-07 Thread Sricharan R
From: Sourav Poddar sourav.pod...@ti.com Booting omap5 uevm results in the following error did not get pins for uart error: -19 This happens because omap5 uevm dts file is not adapted to use uart through pinctrl framework. Populating uart pinctrl data to get rid of the error. Cc: Sourav Poddar

[PATCH V3 0/4] ARM: dts: omap5: Cleanup and updates for DT files

2013-06-07 Thread Sricharan R
uevm is the only official board supported for OMAP5 soc in the mainline. This series deprecates the support for existent sevm which will no more be supported in mainline and renames the board dts file accordingly. Also a few additional device DT entry updates are done. This is on top of the below

[PATCH V3 2/4] ARM: dts: omap5-uevm: Add USB Host support

2013-06-07 Thread Sricharan R
From: Roger Quadros rog...@ti.com Provide the RESET regulators for the USB PHYs, the USB Host port modes and the PHY devices. Also provide pin multiplexer information for the USB host pins. Cc: Roger Quadros rog...@ti.com Signed-off-by: Roger Quadros rog...@ti.com [Sricharan R

[PATCH V3 3/4] ARM: dts: omap5-uevm: Add LED support for uEVM blue LED

2013-06-07 Thread Sricharan R
From: Dan Murphy dmur...@ti.com Add support for blue LED 1 off of GPIO 153. Make the LED a heartbeat LED Configure the MUX for GPIO output. Cc: Dan Murphy dmur...@ti.com Signed-off-by: Dan Murphy dmur...@ti.com [Sricharan R r.sricha...@ti.com: Replaced constants with preprocessor macros]

Re: [PATCH V2 0/4] ARM: dts: omap5: Cleanup and updates for DT files

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 05:36 PM, Benoit Cousson wrote: On 06/06/2013 07:48 PM, Sricharan R wrote: uevm is the official board supported for OMAP5 soc in the mainline. This series renames the board dts file for OMAP5 accordingly and cleans up the same. Also a few additional device DT entry

Re: [PATCH V2 1/4] ARM: dts: omap5: Rename omap5-evm to omap5-uevm

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 05:33 PM, Benoit Cousson wrote: Hi Sricharan, On 06/06/2013 07:48 PM, Sricharan R wrote: The uevm is the official board supported for the OMAP5 soc in mainline. The uevm has an OMAP5432 with a DDR3 memory. Renaming the board dts file and adding the following cleanups.

Re: [PATCH 09/11] mmc: omap_hsmmc: enhance pinctrl support

2013-06-07 Thread Balaji T K
On Tuesday 04 June 2013 08:16 PM, Tony Lindgren wrote: * Hebbar Gururaja gururaja.heb...@ti.com [130531 03:19]: Amend the hsmmc controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume and before performing a mmc transfer - idle after

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-07 Thread Mark Brown
On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote: From: Graeme Gregory g...@slimlogic.co.uk The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range of chips - TWL6032. Change the references to reference the TWL6032 class and name the

Re: [net-next PATCH v4 1/5] net: cpsw: enhance pinctrl support

2013-06-07 Thread Mugunthan V N
On 6/7/2013 1:12 PM, David Miller wrote: From: Linus Walleij linus.wall...@linaro.org Date: Fri, 7 Jun 2013 09:31:58 +0200 On Thu, Jun 6, 2013 at 10:50 AM, Mark Brown broo...@kernel.org wrote: On Thu, Jun 06, 2013 at 11:29:39AM +0530, Mugunthan V N wrote: On 6/6/2013 12:53 AM, Mark Brown

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-07 Thread gg
On 2013-06-07 15:36, Mark Brown wrote: On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote: From: Graeme Gregory g...@slimlogic.co.uk The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range of chips - TWL6032. Change the references to reference

Re: [PATCH V3 0/4] ARM: dts: omap5: Cleanup and updates for DT files

2013-06-07 Thread Benoit Cousson
Thanks for the quick update. I've just applied the series in my for_3.11/dts branch. Regards, Benoit On 06/07/2013 03:22 PM, Sricharan R wrote: uevm is the only official board supported for OMAP5 soc in the mainline. This series deprecates the support for existent sevm which will no more be

Re: [PATCH V3 0/4] ARM: dts: omap5: Cleanup and updates for DT files

2013-06-07 Thread Sricharan R
On Friday 07 June 2013 08:21 PM, Benoit Cousson wrote: Thanks for the quick update. I've just applied the series in my for_3.11/dts branch. Thanks.. Regards, Sricharan Regards, Benoit On 06/07/2013 03:22 PM, Sricharan R wrote: uevm is the only official board supported for OMAP5 soc in

Re: [PATCH 13/14] ARM: AM33XX: hwmod data: irq, dma and addr info clean up

2013-06-07 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [130605 21:06]: On Wed, 29 May 2013, Santosh Shilimkar wrote: From: Vaibhav Hiremath hvaib...@ti.com AM33XX only supports DT boot mode and with addition of extracting module resources like, irq, dma and address space from DT block, so now we can remove

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [130607 05:38]: On Fri, 7 Jun 2013, Sricharan R wrote: - The IO resource information like dma request lines, irq number and ocp address space can be populated via dt blob. So such data is stripped from OMAP4 SOC hwmod data file. - The devices which

Re: [PATCH v2 3/3] ARM: DTS: TWL4030: fix mux and wakeup for SYS_NIRQ line

2013-06-07 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: On 16:27-20130606, Kevin Hilman wrote: On most OMAP3 platforms, the twl4030 IRQ line is connected to the SYS_NIRQ line on OMAP. Add another DTS include file (twl4030_omap3_mux.dtsi) for boards that hook up the twl4030 this way to include. This allows

Re: [PATCH 13/14] ARM: AM33XX: hwmod data: irq, dma and addr info clean up

2013-06-07 Thread Santosh Shilimkar
On Thursday 06 June 2013 06:27 PM, Kevin Hilman wrote: Paul Walmsley p...@pwsan.com writes: On Wed, 29 May 2013, Santosh Shilimkar wrote: From: Vaibhav Hiremath hvaib...@ti.com AM33XX only supports DT boot mode and with addition of extracting module resources like, irq, dma and address

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130607 09:35]: * Paul Walmsley p...@pwsan.com [130607 05:38]: On Fri, 7 Jun 2013, Sricharan R wrote: - The IO resource information like dma request lines, irq number and ocp address space can be populated via dt blob. So such data is stripped

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [130607 05:53]: On 07/06/13 15:36, Grygorii Strashko wrote: Could you check if below change will help you, pls? iff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 13d1eca..66a62e7 100644 ---

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Santosh Shilimkar
On Friday 07 June 2013 01:50 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [130607 09:35]: * Paul Walmsley p...@pwsan.com [130607 05:38]: On Fri, 7 Jun 2013, Sricharan R wrote: - The IO resource information like dma request lines, irq number and ocp address space can be

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Santosh Shilimkar
On Friday 07 June 2013 02:10 PM, Paul Walmsley wrote: On Fri, 7 Jun 2013, Tony Lindgren wrote: I had to undo the following parts to avoid regressions on omap4sdp. Can you please follow up on fixing the related issues so the fixup won't be needed? Well, I can't even test it at the moment.

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Paul Walmsley
On Fri, 7 Jun 2013, Tony Lindgren wrote: I had to undo the following parts to avoid regressions on omap4sdp. Can you please follow up on fixing the related issues so the fixup won't be needed? Well, I can't even test it at the moment. So it's probably best for Santosh and Sricharan to fix

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Felipe Balbi
HI, On Fri, Jun 07, 2013 at 03:36:38PM +0300, Grygorii Strashko wrote: hi Tomi, On 06/07/2013 02:53 PM, Tomi Valkeinen wrote: Hi, I was testing DT boot with 3.10-rc1 and Pandaboard, and couldn't get the DVI output's EDID reading to work. Testing with i2cget and i2cdump, I see that I can

[PATCH v3] ARM: DTS: TWL4030: fix mux and wakeup for SYS_NIRQ line

2013-06-07 Thread Kevin Hilman
On most OMAP3 platforms, the twl4030 IRQ line is connected to the SYS_NIRQ line on OMAP. Add another DTS include file (twl4030_omap3.dtsi) for boards that hook up the twl4030 this way to include. This allows RTC wake from off-mode to work again on OMAP3-based platforms with twl4030. Tested on

RE: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Valkeinen, Tomi
Tony Lindgren [t...@atomide.com]: * Tomi Valkeinen tomi.valkei...@ti.com [130607 05:53]: With that one, I don't get timeouts, but it still doesn't work (i.e. behavior is the same as on -rc1). When I run i2cdump the first time, I see that it (probably) manages to read the first byte,

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Tony Lindgren
* Valkeinen, Tomi tomi.valkei...@ti.com [130607 11:37]: Tony Lindgren [t...@atomide.com]: * Tomi Valkeinen tomi.valkei...@ti.com [130607 05:53]: With that one, I don't get timeouts, but it still doesn't work (i.e. behavior is the same as on -rc1). When I run i2cdump the first

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [130607 11:20]: On Friday 07 June 2013 02:10 PM, Paul Walmsley wrote: On Fri, 7 Jun 2013, Tony Lindgren wrote: I had to undo the following parts to avoid regressions on omap4sdp. Can you please follow up on fixing the related issues so the

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [130607 11:20]: On Friday 07 June 2013 01:50 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [130607 09:35]: * Paul Walmsley p...@pwsan.com [130607 05:38]: On Fri, 7 Jun 2013, Sricharan R wrote: - The IO resource information like

Re: i2c issue on Panda with DT boot, v3.10-rc4

2013-06-07 Thread Felipe Balbi
Hi, On Fri, Jun 07, 2013 at 02:53:54PM +0300, Tomi Valkeinen wrote: Hi, I was testing DT boot with 3.10-rc1 and Pandaboard, and couldn't get the DVI output's EDID reading to work. Testing with i2cget and i2cdump, I see that I can read individual bytes with i2cget, but using i2cdump doesn't

Re: [PATCH V2 14/14] ARM: OMAP4: hwmod data: Clean up the data file

2013-06-07 Thread Santosh Shilimkar
On Friday 07 June 2013 02:37 PM, Tony Lindgren wrote: * Santosh Shilimkar santosh.shilim...@ti.com [130607 11:20]: On Friday 07 June 2013 01:50 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [130607 09:35]: * Paul Walmsley p...@pwsan.com [130607 05:38]: On Fri, 7 Jun 2013,

[PATCH 0/5] v3.10-rc4: fix OMAP4 boot failure if CONFIG_SENSORS_LM75=y

2013-06-07 Thread Grygorii Strashko
Hi All, I observe, that OMAP4 SDP board boot is failed if CONFIG_SENSORS_LM75=y. See log below. This issue reproduced with kernel v3.9-rc6, but without hang - just I2C is stuck in Bus Busy condition. My investigation results are below. [2.048858] TCP: cubic registered [2.052398]

[PATCH 0/5] v3.10-rc4: fix OMAP4 boot failure if CONFIG_SENSORS_LM75=y

2013-06-07 Thread Grygorii Strashko
Hi All, I observe, that OMAP4 SDP board boot is failed if CONFIG_SENSORS_LM75=y. See log below. This issue reproduced with kernel v3.9-rc6, but without hang - just I2C is stuck in Bus Busy condition. My investigation results are below. [2.048858] TCP: cubic registered [2.052398]

[PATCH 5/5] i2c: omap: remove omap_i2c_isr() hw irq handler

2013-06-07 Thread Grygorii Strashko
The omap_i2c_isr() does the irq check and schedules threaded handler if any of enabled IRQs is active, but currently the I2C IRQs are enabled just once, when I2C IP is enabling (transfer started) and they aren't changed after that. More over, now the I2C INTC IRQ is disabled when I2C IP is idled.

[PATCH 3/5] i2c: omap: handle all irqs befor unblocking omap_i2c_xfer_msg()

2013-06-07 Thread Grygorii Strashko
ARDY|NACK and ARDY|AL are set together in OMAP_I2C_STAT_REG, which will be processed incorrectly now: iterration 1: - I2C irq triggered (ARDY|NACK) - omap_i2c_isr_thread() will ask NACK, fill dev-cmd_err = OMAP_I2C_STAT_NACK and trigger cmd_complete completion. - omap_i2c_xfer_msg() will be

[PATCH 4/5] i2c: omap: query STP always when NACK is received

2013-06-07 Thread Grygorii Strashko
According to I2C specification the NACK should be handled as folowing: When SDA remains HIGH during this ninth clock pulse, this is defined as the Not Acknowledge signal. The master can then gene rate either a STOP condition to abort the transfer, or a repeated START condition to start a new

[PATCH 2/5] i2c: omap: add runtime check in isr to be sure that i2c is enabled

2013-06-07 Thread Grygorii Strashko
Add runtime check at the beginning of omap_i2c_isr/omap_i2c_isr_thread to be sure that i2c is enabled, before performing IRQ handling and accessing I2C IP registers: if (pm_runtime_suspended(dev-dev)) { WARN_ONCE(true, We should never be here!\n); return

[PATCH 1/5] i2c: omap: fix spurious IRQs: disable/enable IRQ at INTC when idle

2013-06-07 Thread Grygorii Strashko
From: Kevin Hilman khil...@deeprootsystems.com Currently, runtime PM is used to keep the device enabled only during active transfers and for a configurable runtime PM autosuspend timout after an xfer. In addition to idling the device, driver's -runtime_suspend() method currently disables device

Re: [PATCH 2/5] i2c: omap: add runtime check in isr to be sure that i2c is enabled

2013-06-07 Thread Felipe Balbi
Hi, On Fri, Jun 07, 2013 at 09:46:05PM +0300, Grygorii Strashko wrote: Add runtime check at the beginning of omap_i2c_isr/omap_i2c_isr_thread to be sure that i2c is enabled, before performing IRQ handling and accessing I2C IP registers: if (pm_runtime_suspended(dev-dev)) {

Re: [PATCH 3/5] i2c: omap: handle all irqs befor unblocking omap_i2c_xfer_msg()

2013-06-07 Thread Felipe Balbi
Hi, On Fri, Jun 07, 2013 at 09:46:06PM +0300, Grygorii Strashko wrote: ARDY|NACK and ARDY|AL are set together in OMAP_I2C_STAT_REG, which will be Have you seen that happen ever ? AL is Arbitration Lost, we never put OMAP in a multi-master environment before. ARDY | NACK I also find it a bit

Re: [PATCH 4/5] i2c: omap: query STP always when NACK is received

2013-06-07 Thread Felipe Balbi
Hi, On Fri, Jun 07, 2013 at 09:46:07PM +0300, Grygorii Strashko wrote: According to I2C specification the NACK should be handled as folowing: When SDA remains HIGH during this ninth clock pulse, this is defined as the Not Acknowledge signal. The master can then gene rate either a STOP

Re: [PATCH 5/5] i2c: omap: remove omap_i2c_isr() hw irq handler

2013-06-07 Thread Felipe Balbi
Hi, On Fri, Jun 07, 2013 at 09:46:08PM +0300, Grygorii Strashko wrote: The omap_i2c_isr() does the irq check and schedules threaded handler if any of enabled IRQs is active, but currently the I2C IRQs are enabled just once, when I2C IP is enabling (transfer started) and they aren't changed

Re: [PATCH] ARM: dts: add dtsi for palmas

2013-06-07 Thread Stephen Warren
On 06/07/2013 06:27 AM, Benoit Cousson wrote: Hi Keerthy, On 06/07/2013 01:28 PM, J Keerthy wrote: Adds palmas mfd and palmas regulator nodes. This is based on the patch series: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg89957.html The device tree nodes are based on:

Re: [PATCH v3] ARM: DTS: TWL4030: fix mux and wakeup for SYS_NIRQ line

2013-06-07 Thread Nishanth Menon
On 11:31-20130607, Kevin Hilman wrote: On most OMAP3 platforms, the twl4030 IRQ line is connected to the SYS_NIRQ line on OMAP. Add another DTS include file (twl4030_omap3.dtsi) for boards that hook up the twl4030 this way to include. This allows RTC wake from off-mode to work again

Re: [PATCH] ARM: dts: add dtsi for palmas

2013-06-07 Thread Stephen Warren
On 06/07/2013 05:28 AM, J Keerthy wrote: Adds palmas mfd and palmas regulator nodes. This is based on the patch series: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg89957.html The device tree nodes are based on: https://lkml.org/lkml/2013/6/6/25 diff --git

[PATCHv3 0/6] arm: enable TI SoC thermal driver

2013-06-07 Thread Eduardo Valentin
Hello, Idea is to add the missing bits under arch/arm/*omap* required to enable by default the ti-soc-thermal driver. I am planing to move it out of staging tree. This has been scheduled to 3.11. It would be interesting to get feedback from other ppl. By enabling it by default we could reach

[PATCHv3 1/6] thermal: ti-soc-thermal: use standard GPIO DT bindings

2013-06-07 Thread Eduardo Valentin
This change updates the ti-soc-thermal driver to use standard GPIO DT bindings to read the GPIO number associated to thermal shutdown IRQ, in case the device features it. Previously, the code was using a specific DT bindings. As now OMAP supports the standard way to model GPIOs, there is no point

[PATCHv3 2/6] arm: introduce config HAS_BANDGAP

2013-06-07 Thread Eduardo Valentin
Bandgap is a device used to measure temperature on electronic equipments. It is widely used in digital integrated circuits. It is based on the dependency between silicon voltage and temperature. This patch introduce HAS_BANDGAP config entry. This config is a boolean value so that arch code can

[PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default

2013-06-07 Thread Eduardo Valentin
Make DRA752 thermal support enabled on omap2plus_defconfig Cc: Russell King li...@arm.linux.org.uk Cc: Tony Lindgren t...@atomide.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: AnilKumar Ch anilku...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Tomi Valkeinen

[PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver

2013-06-07 Thread Eduardo Valentin
Enable the bandgap driver for TI SoCs thermal support. Cc: Russell King li...@arm.linux.org.uk Cc: Tony Lindgren t...@atomide.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: AnilKumar Ch anilku...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Tomi Valkeinen

[PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices

2013-06-07 Thread Eduardo Valentin
Include bandgap devices for OMAP4460 devices. Cc: Benoît Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices

2013-06-07 Thread Eduardo Valentin
This patch add the bandgap entry for OMAP4430 devices. Cc: Benoît Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 1/4] pinctrl: single: Prepare for supporting SoC specific features

2013-06-07 Thread Tony Lindgren
Let's replace is_pinconf with flags and add struct pcs_soc so we can support also other features like pin wake-up events. Let's export the probe so the SoC specific modules can pass their SoC specific data to pinctrl-single if needed. Done in collaboration with Roger Quadros rog...@ti.com. Cc:

[PATCH 4/4] ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap

2013-06-07 Thread Tony Lindgren
Now pinctrl-single-omap can handle the wake-up events for us now as long as the events are configured in the .dts files. Done in collaboration with Roger Quadros rog...@ti.com. Cc: Haojian Zhuang haojian.zhu...@gmail.com Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc:

[PATCH 2/4] pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events

2013-06-07 Thread Tony Lindgren
At least on omaps, each board typically has at least one device configured as wake-up capable from deeper idle modes. In the deeper idle modes the normal interrupt wake-up path won't work as the logic is powered off and separate wake-up hardware is available either via IO ring or GPIO hardware.

[PATCH 0/4] pinctrl single support for SoC specific features

2013-06-07 Thread Tony Lindgren
Hi all, Here are few patches to add support for SoC specific features to pinctrl-single. This is needed at least for omaps to support IO chain wake-up events from deeper idle states. With this patch series, device drivers can request named pinctrl states like active and idle from the PM runtime

[PATCH 3/4] pinctrl: single: omap: Add SoC specific module for wake-up events

2013-06-07 Thread Tony Lindgren
For wake-up events from deeper idle modes we need to check the configured padconf registers for the wake-up bit and then call the related interrupt handler. Done in collaboration with Roger Quadros rog...@ti.com. Cc: Haojian Zhuang haojian.zhu...@gmail.com Cc: Peter Ujfalusi

Re: [PATCH 1/5] i2c: omap: fix spurious IRQs: disable/enable IRQ at INTC when idle

2013-06-07 Thread Kevin Hilman
Grygorii Strashko grygorii.stras...@ti.com writes: From: Kevin Hilman khil...@deeprootsystems.com Currently, runtime PM is used to keep the device enabled only during active transfers and for a configurable runtime PM autosuspend timout after an xfer. In addition to idling the device,

Re: [PATCH 4/4] ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap

2013-06-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130607 13:56]: Now pinctrl-single-omap can handle the wake-up events for us now as long as the events are configured in the .dts files. This patch I should queue separately, the rest should go via the pinctrl tree. Regards, Tony -- To unsubscribe from this

Re: [PATCH 09/11] mmc: omap_hsmmc: enhance pinctrl support

2013-06-07 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [130607 06:42]: On Tuesday 04 June 2013 08:16 PM, Tony Lindgren wrote: * Hebbar Gururaja gururaja.heb...@ti.com [130531 03:19]: Amend the hsmmc controller to optionally take a pin control handle and set the state of the pins to: - default on boot, resume and

Re: [PATCH] i2c: Let users disable Probe an I2C bus for certain devices

2013-06-07 Thread Wolfram Sang
That sounds good to me - I can prepare patch for i2c-omap.c. But, there is still an open question regarding *i2c-gpio.c* which, actually, a source of biggest part of delay. Why should the DEPRECATED flag not work with i2c-gpio? signature.asc Description: Digital signature

  1   2   >