RE: [PATCH v2 5/8] mmc: host: omap_hsmmc: trivial cleanups

2012-03-19 Thread Hebbar, Gururaja
On Fri, Mar 16, 2012 at 19:09:01, S, Venkatraman wrote: From: Felipe Balbi ba...@ti.com a bunch of non-functional cleanups to the omap_hsmmc driver. It basically decreases indentation level, drop unneeded s/unneeded/unneeded. Better to use unnecessary dereferences and drop unneded

Re: [PATCH] ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

2012-03-19 Thread Munegowda, Keshava
On Fri, Mar 16, 2012 at 9:50 PM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Keshava, On Thu, Mar 08, 2012 at 08:30:21PM +0530, Munegowda, Keshava wrote: On Fri, Mar 2, 2012 at 7:36 PM, Munegowda, Keshava keshava_mgo...@ti.com wrote: On Fri, Feb 24, 2012 at 5:14 PM, Munegowda, Keshava

Re: [PATCH 0/5] ARM: OMAP: TLL driver implementation for USB host driver

2012-03-19 Thread Munegowda, Keshava
On Fri, Mar 16, 2012 at 10:13 PM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Keshava, On Mon, Mar 05, 2012 at 08:13:45PM +0530, Munegowda, Keshava wrote: On Mon, Mar 5, 2012 at 8:01 PM, Keshava Munegowda keshava_mgo...@ti.com wrote: From: Keshava Munegowda keshava_mgo...@ti.com The

[PATCH RESEND] ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com It is observed that the echi ports of 3430 sdp board are not working due to the random timing of programming the associated GPIOs of the ULPI PHYs of the EHCI for reset. If the PHYs are reset at during usbhs core driver, host ports will not work

[PATCH 5/5 RESEND] ARM: OMAP: change the USB TLL clocks device name

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The platform device name for the functional, interface and channel clocks of the TLL module is changed from usbhs device to usb tll platform device name. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak

[PATCH 0/5 RESEND] ARM: OMAP: TLL driver implementation for USB host driver

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The TLL configuration is removed from the UHH driver and implemented as a seperate platform driver. Now, the UHH driver configures the TLL through API's exported by the TLL platform driver. The TLL is an has independent hardware mod structure for in

[PATCH 2/5 RESEND] ARM: OMAP: USB: Build the USB HOST TLL omap device

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The hwmod of the usb tll is retrieved and omap device build is performed to created the platform device for the usb tll component. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com ---

[PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The platform driver for the TLL component of the OMAP USB host controller is implemented. Depending on the TLL hardware revision , the TLL channels are configured. The USB HS core driver uses this driver through exported APIs from the TLL platform

[PATCH 3/5 RESEND] ARM: OMAP: USB: Remove TLL specific code

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The TLL specific code such as channels clocks enable/disable, initialization functions are removed from the USBHS core driver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak part...@india.ti.com ---

[PATCH 4/5 RESEND] ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver

2012-03-19 Thread Keshava Munegowda
From: Keshava Munegowda keshava_mgo...@ti.com The usbhs driver invokes the enable/disable APIs of the usb tll driver in the runtime resume/suspend callbacks of the runtime get sync and put sync of the usbhs driver. Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com Reviewed-by: Partha Basak

Re: [PATCH 1/7] remoteproc: resource table overhaul

2012-03-19 Thread Michal Simek
Hi Ohad, On Fri, Mar 16, 2012 at 4:57 PM, Michal Simek mon...@monstr.eu wrote: In previous version I had carverout first which means that code was copyied to physical address 0x0 and then vrigns were allocated. Current code allocate vring first and then RTOS is not able to run from zero

Re: Re: [PATCH v4 0/7] Add TI EMIF SDRAM controller driver

2012-03-19 Thread Shilimkar, Santosh
2012/3/19 함명주 myungjoo@samsung.com: Kyungmin Parkkmp...@infradead.org 2012-03-17 15:10 (GMT+09:00) Hi, On 3/17/12, Aneesh V wrote: Add a driver for the EMIF SDRAM controller used in TI SoCs EMIF is an SDRAM controller that supports, based on its revision, one or more of

[PATCHv2 2/2] Input: omap-keypad: dynamically handle register offsets

2012-03-19 Thread Sourav Poddar
From: G, Manjunath Kondaiah manj...@ti.com Keypad controller register offsets are different for omap4 and omap5. Handle these offsets through static mapping and assign these mappings during run time. Signed-off-by: Felipe Balbi ba...@ti.com Signed-off-by: G, Manjunath Kondaiah manj...@ti.com

RE: [PATCH] omap_vout: Set DSS overlay_info only if paddr is non zero

2012-03-19 Thread Hiremath, Vaibhav
On Fri, Mar 16, 2012 at 16:41:27, Taneja, Archit wrote: Hi, On Friday 16 March 2012 03:46 PM, Archit Taneja wrote: On Monday 12 March 2012 03:34 PM, Hiremath, Vaibhav wrote: On Wed, Mar 07, 2012 at 14:31:16, Taneja, Archit wrote: The omap_vout driver tries to set the DSS overlay_info

Re: [PATCH v2 7/7] ARM: OMAP2+: Mark omap_hsmmc_init and omap_mux related functions as __init

2012-03-19 Thread Tomi Valkeinen
Hi, On Thu, 2012-02-23 at 17:10 +0530, Rajendra Nayak wrote: From: Tony Lindgren t...@atomide.com Now that omap hsmmc init is split into two functions, it's safe to mark omap_hsmmc_init and omap_mux related functions to __init. This basically reverts the following fixes for the case where

is there way to control dss output bits?

2012-03-19 Thread Alex Tomas
Hi, I'm trying to build simple DAC to generate RGsB signal on a beagleboard. say, the output is filled with green, then at green pins I get 1 all the time while I'd like to get 0 while hsync/vsync are active. is it possible with OMAP? I found UNUSEDBITS in the documentation, but that seem to be

Re: is there way to control dss output bits?

2012-03-19 Thread Tomi Valkeinen
On Mon, 2012-03-19 at 12:10 +0300, Alex Tomas wrote: Hi, I'm trying to build simple DAC to generate RGsB signal on a beagleboard. say, the output is filled with green, then at green pins I get 1 all the time while I'd like to get 0 while hsync/vsync are active. is it possible with OMAP?

Re: is there way to control dss output bits?

2012-03-19 Thread Alex Tomas
On Mon, Mar 19, 2012 at 12:18 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: I'm trying to build simple DAC to generate RGsB signal on a beagleboard. say, the output is filled with green, then at green pins I get 1 all the time while I'd like to get 0 while hsync/vsync are active. is it

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Tomi Valkeinen
On Sat, 2012-03-17 at 21:15 +, Russell King - ARM Linux wrote: And the reason is that a platform _driver_ (omapdss_dss) is being registered while a platform device (omapdss) is being probed. This is a very bad idea. There is absolutely no reason to register drivers from within a probe

Re: [PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver

2012-03-19 Thread Shubhrajyoti
Hi Keshava, Some doubts / comments . On Monday 19 March 2012 12:18 PM, Keshava Munegowda wrote: From: Keshava Munegowda keshava_mgo...@ti.com The platform driver for the TLL component of the OMAP USB host controller is implemented. Depending on the TLL hardware revision , the TLL channels are

Re: [PATCH v3 1/2] arm: omap3: pm34xx.c: Fix omap3_pm_init() error out paths

2012-03-19 Thread Tero Kristo
On Sat, 2012-03-17 at 18:22 -0700, Mark A. Greer wrote: From: Mark A. Greer mgr...@animalcreek.com It appears that the error paths were overlooked when the omap3_pm_init() routine had the prcm chain handler code added. Fix this by adding a goto target and reordering the error handling

Re: [PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver

2012-03-19 Thread Felipe Balbi
Hi, On Mon, Mar 19, 2012 at 12:18:31PM +0530, Keshava Munegowda wrote: + ver = usbtll_read(base, OMAP_USBTLL_REVISION); + if (ver == OMAP_USBTLL_REV1) + count = OMAP_TLL_CHANNEL_COUNT; + else if (ver == OMAP_USBTLL_REV2) + count =

Re: [PATCH v2 7/7] ARM: OMAP2+: Mark omap_hsmmc_init and omap_mux related functions as __init

2012-03-19 Thread Tomi Valkeinen
On Mon, 2012-03-19 at 11:08 +0200, Tomi Valkeinen wrote: Hi, On Thu, 2012-02-23 at 17:10 +0530, Rajendra Nayak wrote: From: Tony Lindgren t...@atomide.com Now that omap hsmmc init is split into two functions, it's safe to mark omap_hsmmc_init and omap_mux related functions to __init.

Re: [PATCH v2 5/8] mmc: host: omap_hsmmc: trivial cleanups

2012-03-19 Thread S, Venkatraman
On Mon, Mar 19, 2012 at 11:27 AM, Hebbar, Gururaja gururaja.heb...@ti.com wrote: On Fri, Mar 16, 2012 at 19:09:01, S, Venkatraman wrote: From: Felipe Balbi ba...@ti.com a bunch of non-functional cleanups to the omap_hsmmc driver. It basically decreases indentation level, drop unneeded

Re: [PATCH 2/5 RESEND] ARM: OMAP: USB: Build the USB HOST TLL omap device

2012-03-19 Thread Sergei Shtylyov
Hello. On 19-03-2012 10:48, Keshava Munegowda wrote: From: Keshava Munegowdakeshava_mgo...@ti.com The hwmod of the usb tll is retrieved and omap device build is performed to created the platform device for the usb tll component. Signed-off-by: Keshava Munegowdakeshava_mgo...@ti.com

Re: [PATCH 4/5 RESEND] ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver

2012-03-19 Thread Sergei Shtylyov
Hello. On 19-03-2012 10:48, Keshava Munegowda wrote: From: Keshava Munegowdakeshava_mgo...@ti.com The usbhs driver invokes the enable/disable APIs of the usb tll driver in the runtime resume/suspend callbacks of the runtime get sync and put sync of the usbhs driver. Signed-off-by:

[GIT PULL] OMAP DSS for v3.4

2012-03-19 Thread Tomi Valkeinen
Hi Florian, Arnd, Here are the changes for OMAP DSS driver for v3.4. There's an issue with the dss driver that appears on arm-soc/for-next branch, which I'm still solving (http://marc.info/?l=linux-omapm=133214966902577w=2). I hope to get fix for that ready and merged for -rc1, but I'm not sure

Re: [PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver

2012-03-19 Thread Sergei Shtylyov
Hello. On 19-03-2012 14:06, Felipe Balbi wrote: + ver = usbtll_read(base, OMAP_USBTLL_REVISION); + if (ver == OMAP_USBTLL_REV1) + count = OMAP_TLL_CHANNEL_COUNT; + else if (ver == OMAP_USBTLL_REV2) + count = OMAP_REV2_TLL_CHANNEL_COUNT; +

RE: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-19 Thread Hiremath, Vaibhav
On Tue, Mar 13, 2012 at 17:07:16, Ming Lei wrote: Hi, On Tue, Jan 24, 2012 at 7:38 AM, Kevin Hilman khil...@ti.com wrote: Vaibhav Hiremath hvaib...@ti.com writes: OMAP device has 32k-sync timer which is currently used as a clocksource in the kernel (omap2plus_defconfig). The current

Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-19 Thread Ming Lei
On Mon, Mar 19, 2012 at 7:11 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: I think you made very good point here. With the above patch, we are almost missing the capability of registering dmtimer as a clocksource for OMAP. It will always use 32k-counter, and never fall back to dmtimer. Then

Re: [PATCH] omap_vout: Set DSS overlay_info only if paddr is non zero

2012-03-19 Thread Archit Taneja
On Monday 19 March 2012 02:15 PM, Hiremath, Vaibhav wrote: On Fri, Mar 16, 2012 at 16:41:27, Taneja, Archit wrote: Hi, On Friday 16 March 2012 03:46 PM, Archit Taneja wrote: On Monday 12 March 2012 03:34 PM, Hiremath, Vaibhav wrote: On Wed, Mar 07, 2012 at 14:31:16, Taneja, Archit wrote:

[PATCH v2 3/4] drivers: input: Fix OMAP_GPIO_IRQ with gpio_to_irq() in ams_delta_serio_exit()

2012-03-19 Thread Tarun Kanti DebBarma
Even though ams-delta-serio input driver uses gpio_to_irq() in all relevent places to get irq number, the ams_delta_serio_exit() still uses OMAP_GPIO_IRQ macro. Fix this. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- drivers/input/serio/ams_delta_serio.c |2 +- 1 files changed,

[PATCH v2 4/4] ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition

2012-03-19 Thread Tarun Kanti DebBarma
Since all references to OMAP_GPIO_IRQ macro are replaced now with gpio_to_irq(), this can be removed altogether. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap/include/plat/gpio.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git

[PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread Tarun Kanti DebBarma
These two patches incorporate changes to OMAP1 and OMAP2 platforms board files whereby older references to OMAP_GPIO_IRQ macro are now replaced with gpio_to_irq(), thereby getting rid of static irq references. Reference: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git omap/dt

[PATCH v2 2/4] ARM: OMAP2+: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()

2012-03-19 Thread Tarun Kanti DebBarma
With dynamic allocation of IRQ the usage of OMAP_GPIO_IRQ is no longer valid. We should be using gpio_to_irq() instead. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/board-2430sdp.c |2 +- arch/arm/mach-omap2/board-4430sdp.c |2 +-

[PATCH v2 1/4] ARM: OMAP1: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()

2012-03-19 Thread Tarun Kanti DebBarma
With dynamic allocation of IRQ the usage of OMAP_GPIO_IRQ is no longer valid. We should be using gpio_to_irq() instead. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap1/board-h2.c|8 arch/arm/mach-omap1/board-h3.c|9 -

Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer

2012-03-19 Thread Santosh Shilimkar
On Monday 19 March 2012 05:14 PM, Ming Lei wrote: On Mon, Mar 19, 2012 at 7:11 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: I think you made very good point here. With the above patch, we are almost missing the capability of registering dmtimer as a clocksource for OMAP. It will always use

Re: [PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread Shilimkar, Santosh
On Mon, Mar 19, 2012 at 5:36 PM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: These two patches incorporate changes to OMAP1 and OMAP2 platforms s/two/four I guess that's what you mean since there are 4 patches in the series. Regards Santosh -- To unsubscribe from this list: send the line

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Russell King - ARM Linux
On Mon, Mar 19, 2012 at 11:33:21AM +0200, Tomi Valkeinen wrote: But that's a bigger work item, so what I did in the series above is that I changed platform_driver_register()s to platform_driver_probe()s. All the DSS subdevices are present at boot time and are non-hotpluggable, so I think that

Re: [PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread DebBarma, Tarun Kanti
On Mon, Mar 19, 2012 at 5:47 PM, Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Mon, Mar 19, 2012 at 5:36 PM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: These two patches incorporate changes to OMAP1 and OMAP2 platforms s/two/four I guess that's what you mean since there are 4

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Tomi Valkeinen
On Mon, 2012-03-19 at 12:30 +, Russell King - ARM Linux wrote: On Mon, Mar 19, 2012 at 11:33:21AM +0200, Tomi Valkeinen wrote: But that's a bigger work item, so what I did in the series above is that I changed platform_driver_register()s to platform_driver_probe()s. All the DSS

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Russell King - ARM Linux
On Mon, Mar 19, 2012 at 02:41:04PM +0200, Tomi Valkeinen wrote: On Mon, 2012-03-19 at 12:30 +, Russell King - ARM Linux wrote: On Mon, Mar 19, 2012 at 11:33:21AM +0200, Tomi Valkeinen wrote: But that's a bigger work item, so what I did in the series above is that I changed

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Mark Brown
On Sat, Mar 17, 2012 at 10:47:51AM +, Grant Likely wrote: After implementing both schemes (ie. interrupts+interrupt-names [*-]gpios) I definitely prefer the fixed property name plus a separate names property. It is easier to use common code with that scheme, and easier to statically

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Tomi Valkeinen
On Mon, 2012-03-19 at 14:41 +0200, Tomi Valkeinen wrote: On Mon, 2012-03-19 at 12:30 +, Russell King - ARM Linux wrote: It is _very_ important that we discover what has caused this regression and prevent it going upstream until the problem is resolved. Until we know that, I suggest

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Nicolas Ferre
On 03/17/2012 10:40 AM, Grant Likely : On Thu, 15 Mar 2012 09:38:10 +0100, Nicolas Ferre nicolas.fe...@atmel.com wrote: Add some basic helpers to retrieve a DMA controller device_node and the DMA request specifications. By making DMA controllers register a generic translation function, we

Re: [PATCH RESEND] ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

2012-03-19 Thread Raja, Govindraj
On Mon, Mar 19, 2012 at 12:12 PM, Keshava Munegowda keshava_mgo...@ti.com wrote: From: Keshava Munegowda keshava_mgo...@ti.com It is observed that the echi ports of 3430 sdp board are not working due to the random timing of programming the associated GPIOs of the ULPI PHYs of the EHCI for

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Nicolas Ferre
On 03/18/2012 09:13 PM, Arnd Bergmann : On Saturday 17 March 2012, Grant Likely wrote: +static LIST_HEAD(of_dma_list); + +struct of_dma { + struct list_head of_dma_controllers; + struct device_node *of_node; + int of_dma_n_cells; + int (*of_dma_xlate)(struct of_phandle_args

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Tomi Valkeinen
On Mon, 2012-03-19 at 15:02 +0200, Tomi Valkeinen wrote: I'll see if I can make a single patch that fixes the issue. The patch series I mentioned earlier does lots of things, but I think just moving the driver registration out of the probe function should be enough to avoid the problem.

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Nicolas Ferre wrote: This _xlate is nearly useless as a generic API. It solves the problem for the specific case where the driver is hard-coded to know which DMA engine to talk to, but since the returned data doesn't provide any context, it isn't useful if there

Re: [PATCH 01/12] mfd: twl-core: don't depend on pdata-irq_base/end

2012-03-19 Thread Cousson, Benoit
Samuel, On 3/14/2012 10:53 PM, Kevin Hilman wrote: Kevin Hilmankhil...@ti.com writes: Benoit Coussonb-cous...@ti.com writes: From: Felipe Balbiba...@ti.com With sparse IRQs the driver shouldn't depend at all on any IRQ values coming from board-file. Remove every occurences of

Re: [PATCH RESEND] ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

2012-03-19 Thread Munegowda, Keshava
On Mon, Mar 19, 2012 at 7:04 PM, Raja, Govindraj govindraj.r...@ti.com wrote: On Mon, Mar 19, 2012 at 12:12 PM, Keshava Munegowda keshava_mgo...@ti.com wrote: From: Keshava Munegowda keshava_mgo...@ti.com It is observed that the echi ports of 3430 sdp board are not working due to the random

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Grant Likely
On Mon, 19 Mar 2012 14:30:05 +0100, Nicolas Ferre nicolas.fe...@atmel.com wrote: On 03/17/2012 10:40 AM, Grant Likely : On Thu, 15 Mar 2012 09:38:10 +0100, Nicolas Ferre nicolas.fe...@atmel.com wrote: +struct of_dma { + struct list_head of_dma_controllers; + struct device_node

[PATCH] OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage

2012-03-19 Thread Mark Brown
The TAAL driver contains some regulator support which is currently unused (the code is there but the one panel supported by the driver doesn't have any regulators provided). This code mostly looks like an open coded version of the regulator core bulk API. The only additional feature is that a

[PATCH] OMAPDSS: VENC: Check for errors from regulator_enable()

2012-03-19 Thread Mark Brown
It is possible for regulator_enable() to fail and if it does fail that's generally a bad sign for anything we try to do with the hardware afterwards so check for and immediately return an error if regulator_enable() fails. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com ---

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Mark Brown wrote: On Sat, Mar 17, 2012 at 10:47:51AM +, Grant Likely wrote: After implementing both schemes (ie. interrupts+interrupt-names [*-]gpios) I definitely prefer the fixed property name plus a separate names property. It is easier to use common

[PATCH 1/2] OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()

2012-03-19 Thread Mark Brown
It is possible for regulator_enable() to fail and if it does fail that's generally a bad sign for anything we try to do with the hardware afterwards so check for and immediately return an error if regulator_enable() fails. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com ---

[PATCH 2/2] OMAPDSS: TPO-TD03MTEA1: Correct comment for power on delay

2012-03-19 Thread Mark Brown
Since any power on stabilisation delay for the supply itself should be taken care of transparently by the regulator API when the regulator is enabled the additional delay that the TPO-TD03MTEA1 driver adds after that returned should be due to the requirements of the device itself rather than the

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Stephen Warren
On 03/19/2012 09:01 AM, Arnd Bergmann wrote: On Monday 19 March 2012, Mark Brown wrote: On Sat, Mar 17, 2012 at 10:47:51AM +, Grant Likely wrote: After implementing both schemes (ie. interrupts+interrupt-names [*-]gpios) I definitely prefer the fixed property name plus a separate names

Re: [PATCH 01/12] mfd: twl-core: don't depend on pdata-irq_base/end

2012-03-19 Thread Felipe Balbi
Hi, On Wed, Mar 14, 2012 at 01:59:51PM -0700, Kevin Hilman wrote: Benoit Cousson b-cous...@ti.com writes: From: Felipe Balbi ba...@ti.com With sparse IRQs the driver shouldn't depend at all on any IRQ values coming from board-file. Remove every occurences of pdata-irq_base/end.

[PATCH 1/2] ARM: OMAP3: hwmod_data: Rename the common irq for McBSP ports

2012-03-19 Thread Peter Ujfalusi
Use 'common' as name for the common irq number in hwmod data for the McBSP ports. The same name already in use for OMAP2430, and the OMAP4 hwmod data will be using the same name. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 +-

[PATCH 2/2] ARM: OMAP4: hwmod_data: Name the common irq for McBSP ports

2012-03-19 Thread Peter Ujfalusi
Use 'common' as name for the common irq number in hwmod data for the McBSP ports. The same name already in use for OMAP2430, and OMAP3. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |8 1 files changed, 4 insertions(+), 4

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Russell King - ARM Linux
On Mon, Mar 19, 2012 at 02:37:56PM +0100, Nicolas Ferre wrote: On 03/18/2012 09:13 PM, Arnd Bergmann : On Saturday 17 March 2012, Grant Likely wrote: +static LIST_HEAD(of_dma_list); + +struct of_dma { + struct list_head of_dma_controllers; + struct device_node *of_node; +

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Russell King - ARM Linux
On Mon, Mar 19, 2012 at 02:06:34PM +, Arnd Bergmann wrote: mmci /* in drivers/dma/ste_dma40.c, others in pl330.c, coh901318.c, ... */ bool stedma40_filter(struct dma_chan *chan, void *data) { struct stedma40_chan_cfg *info = data; struct d40_chan

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Stephen Warren wrote: Maybe one can use named properties in a new device node in that case, like this: bus { dma: dma-controller { #dma-cells = 1; }; device {

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Cousson, Benoit
On 3/19/2012 4:20 PM, Russell King - ARM Linux wrote: On Mon, Mar 19, 2012 at 02:37:56PM +0100, Nicolas Ferre wrote: On 03/18/2012 09:13 PM, Arnd Bergmann : On Saturday 17 March 2012, Grant Likely wrote: +static LIST_HEAD(of_dma_list); + +struct of_dma { + struct list_head

Re: [PATCH 1/2] OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()

2012-03-19 Thread Grazvydas Ignotas
On Mon, Mar 19, 2012 at 5:02 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: It is possible for regulator_enable() to fail and if it does fail that's generally a bad sign for anything we try to do with the hardware afterwards so check for and immediately return an error if

Re: [PATCH 2/2] OMAPDSS: TPO-TD03MTEA1: Correct comment for power on delay

2012-03-19 Thread Grazvydas Ignotas
On Mon, Mar 19, 2012 at 5:02 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Since any power on stabilisation delay for the supply itself should be taken care of transparently by the regulator API when the regulator is enabled the additional delay that the TPO-TD03MTEA1 driver adds

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Russell King - ARM Linux wrote: Firstly, define what you mean by the DMA parameters. Things like burst size, register width, register address? That should all be known by the peripheral driver and not be encoded into DT in any way - and this information should be

[PATCH v2 0/9] PM: Create the AVS class of drivers

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com AVS is a power management technique which controls the operating voltage of a device in order to optimize (i.e. reduce) its power consumption. The voltage is adapted depending on static factors (chip manufacturing process) and dynamic factors (temperature depending

[PATCH 7/9] ARM: OMAP2+: SmartReflex: Use per-OPP data structure

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The SmartReflex driver incorrectly treats some per-OPP data as data common to all OPPs (e.g., ERRMINLIMIT). Move this data into a per-OPP data structure. The SmartReflex driver should not be dependent on whether the host SoC uses eFuses to store SmartReflex

[PATCH 3/9] ARM: OMAP3+: SmartReflex: class drivers should use struct omap_sr *

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Convert SmartReflex class functions to take a struct omap_sr *, rather than a struct voltagedomain *. SmartReflex code should be driver code and not tightly coupled to OMAP subarchitecture-specific structures. Based on Paul's original code for the SmartReflex

[PATCH 8/9] ARM: OMAP2+: SmartReflex: add POWER_AVS Kconfig options

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Add a Kconfig menu (POWER_AVS) and rename the Kconfig options for the OMAP SmartReflex implementation: CONFIG_OMAP_SMARTREFLEX renames to CONFIG_POWER_AVS_OMAP CONFIG_OMAP_SMARTREFLEX_CLASS3 renames to CONFIG_POWER_AVS_OMAP_CLASS3 This change makes the

[PATCH 6/9] ARM: OMAP2+: SmartReflex: introduce a busy loop condition test macro

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Now that omap_test_timeout is only accessible from mach-omap2/, introduce a similar function for SR. This change makes the SmartReflex implementation ready for the move to drivers/. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/smartreflex.c |

[PATCH 5/9] ARM: OMAP3: hwmod: rename the smartreflex entries

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Change the name field value to better reflect the smartreflex integration in the system Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |8 arch/arm/mach-omap2/smartreflex.c |2 +- 2 files changed,

[PATCH 4/9] ARM: OMAP2+: smartreflex: Use the names from hwmod data instead of voltage domains.

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Associate a name with each SmartReflex instance from the hwmod data, rather than attempting to reuse the name of a voltage domain. The name from hwmod better reflects the smartreflex integration in the system. Also have the name passed to the drivers using pdata,

[PATCH 2/9] ARM: OMAP2+: SmartReflex: move the driver specific macros in include/linux/power

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Move the driver specific macros from the smartreflex header file (arch/arm/mach-omap2/smartreflex.h) in a new header file include/linux/power/smartreflex.h. This change makes the SmartReflex implementation ready for the move to drivers/. Signed-off-by: Jean Pihet

[PATCH 1/9] ARM: OMAP3+: voltage: export functions to plat/voltage.h

2012-03-19 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Move some functions from mach-omap2/ dir to the plat/ dir. The SmartReflex class driver is a user of the basic voltage domains functions (enable, disable, reset). Signed-off-by: Jean Pihet j-pi...@ti.com Cc: Kevin Hilman khil...@ti.com ---

Re: smsc911x on Gumstix Overo/Tobi doesn't work

2012-03-19 Thread Thomas Klute
Am 16.03.2012 20:33, schrieb Tony Lindgren: Hi, * Thomas Klute thomas2.kl...@uni-dortmund.de [120316 05:08]: Hi, I have trouble getting the Ethernet port on a Gumstix Overo with Tobi expansion board to work with current kernel versions. With the latest commit from linux-omap git

Re: [GIT PULL] OMAP DSS for v3.4

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Tomi Valkeinen wrote: Here are the changes for OMAP DSS driver for v3.4. There's an issue with the dss driver that appears on arm-soc/for-next branch, which I'm still solving (http://marc.info/?l=linux-omapamp;m=133214966902577amp;w=2). I hope to get fix for that

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Nicolas Ferre
On 03/19/2012 04:33 PM, Russell King - ARM Linux : On Mon, Mar 19, 2012 at 02:06:34PM +, Arnd Bergmann wrote: mmci /* in drivers/dma/ste_dma40.c, others in pl330.c, coh901318.c, ... */ bool stedma40_filter(struct dma_chan *chan, void *data) { struct

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Stephen Warren
On 03/19/2012 09:45 AM, Arnd Bergmann wrote: On Monday 19 March 2012, Stephen Warren wrote: Maybe one can use named properties in a new device node in that case, like this: bus { dma: dma-controller { #dma-cells = 1; };

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Cousson, Benoit
Hi Nico, On 3/19/2012 5:31 PM, Nicolas Ferre wrote: On 03/19/2012 04:33 PM, Russell King - ARM Linux : On Mon, Mar 19, 2012 at 02:06:34PM +, Arnd Bergmann wrote: mmci /* in drivers/dma/ste_dma40.c, others in pl330.c, coh901318.c, ... */ bool stedma40_filter(struct dma_chan

Re: [PATCH] of: Add generic device tree DMA helpers

2012-03-19 Thread Jassi Brar
On Mon, Mar 19, 2012 at 9:41 PM, Arnd Bergmann a...@arndb.de wrote: Secondly, there are platforms (Samsung) where peripherals are connected to more than one DMA controller, and either DMA controller can be used - I'm told by Jassi that there's reasons why you'd want to select one or other as

Re: [PATCH v2 7/7] ARM: OMAP2+: Mark omap_hsmmc_init and omap_mux related functions as __init

2012-03-19 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [120319 03:23]: On Mon, 2012-03-19 at 11:08 +0200, Tomi Valkeinen wrote: Hi, On Thu, 2012-02-23 at 17:10 +0530, Rajendra Nayak wrote: From: Tony Lindgren t...@atomide.com Now that omap hsmmc init is split into two functions, it's safe to

Re: [PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread Tony Lindgren
* Tarun Kanti DebBarma tarun.ka...@ti.com [120319 05:09]: These two patches incorporate changes to OMAP1 and OMAP2 platforms board files whereby older references to OMAP_GPIO_IRQ macro are now replaced with gpio_to_irq(), thereby getting rid of static irq references. Reference:

Re: arm-soc + rmk's tree boot failure on OMAP4430SDP

2012-03-19 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [120319 07:01]: On Mon, 2012-03-19 at 15:02 +0200, Tomi Valkeinen wrote: I'll see if I can make a single patch that fixes the issue. The patch series I mentioned earlier does lots of things, but I think just moving the driver registration out of the

Re: [PATCH] ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

2012-03-19 Thread Arnd Bergmann
On Wednesday 07 March 2012, Kevin Hilman wrote: commit e4b0b2cbbb (ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators) added regulators which are registered during gpmc_smsc911x_init(). However, some platforms (OMAP3/Overo) have more than one instance of the SMSC911x and result in

Re: [PATCH] OMAP3: OPP: Test for IVA subsystem before attempting to add IVA OPP

2012-03-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: On 10:26-20120316, Maximilian Schwerin wrote: [...] + +             if ((strcmp(opp_def-hwmod_name,iva) == 0) !omap3_has_iva()) +                     continue; +               oh = omap_hwmod_lookup(opp_def-hwmod_name);               if

Re: [PATCH] OMAP3: OPP: Test for IVA subsystem before attempting to add IVA OPP

2012-03-19 Thread Menon, Nishanth
Kevin, [...] Nishanth, can you collect the acks/tested-bys and repost and official patch. I'll queue this up. Thanks. This is already done: http://marc.info/?l=linux-omapm=133191481703750w=2 Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the

Re: [PATCH] ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

2012-03-19 Thread Kevin Hilman
Hi Arnd, Arnd Bergmann a...@arndb.de writes: On Wednesday 07 March 2012, Kevin Hilman wrote: commit e4b0b2cbbb (ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators) added regulators which are registered during gpmc_smsc911x_init(). However, some platforms (OMAP3/Overo) have more

Re: [PATCH v3 0/2] arm: omap3: pm34xx.c: Some minor fixups

2012-03-19 Thread Kevin Hilman
Mark A. Greer mgr...@animalcreek.com writes: I found some minor issues when looking through pm34xx.c recently so these patches try to address them. My apologies if they are already fixed in another branch somewhere. Based on latest k.o. master branch. Thanks Mark. Queueing these for

Re: [PATCH] OMAP2+: OPP: allow OPP enumeration to continue if device is not present

2012-03-19 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: On platforms such as OMAP3, certain variants may not have IVA, SGX or some specific component. We currently have a check to aid fixing wrong population of OPP entries for issues such as typos. This however causes a conflict with valid requirement where the

Re: [PATCH] ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

2012-03-19 Thread Arnd Bergmann
On Monday 19 March 2012, Kevin Hilman wrote: On Wednesday 07 March 2012, Kevin Hilman wrote: commit e4b0b2cbbb (ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators) added regulators which are registered during gpmc_smsc911x_init(). However, some platforms (OMAP3/Overo) have more

Re: [PATCH] ARM: OMAP2+: gpmc-smsc911x: only register regulator for first instance

2012-03-19 Thread Tony Lindgren
* Arnd Bergmann a...@arndb.de [120319 15:12]: On Monday 19 March 2012, Kevin Hilman wrote: On Wednesday 07 March 2012, Kevin Hilman wrote: commit e4b0b2cbbb (ARM: OMAP2+: gpmc-smsc911x: add required smsc911x regulators) added regulators which are registered during

Re: smsc911x on Gumstix Overo/Tobi doesn't work

2012-03-19 Thread Tony Lindgren
* Thomas Klute thomas2.kl...@uni-dortmund.de [120319 09:26]: Am 16.03.2012 20:33, schrieb Tony Lindgren: Hi, * Thomas Klute thomas2.kl...@uni-dortmund.de [120316 05:08]: Hi, I have trouble getting the Ethernet port on a Gumstix Overo with Tobi expansion board to work with current

Re: [PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread Cousson, Benoit
Hi Tony, On 3/19/2012 8:17 PM, Tony Lindgren wrote: * Tarun Kanti DebBarmatarun.ka...@ti.com [120319 05:09]: These two patches incorporate changes to OMAP1 and OMAP2 platforms board files whereby older references to OMAP_GPIO_IRQ macro are now replaced with gpio_to_irq(), thereby getting rid

Re: [PATCH v2 0/4] ARM: OMAP: boards: changes to support dynamic irq alloc

2012-03-19 Thread Tony Lindgren
* Cousson, Benoit b-cous...@ti.com [120319 16:00]: Hi Tony, On 3/19/2012 8:17 PM, Tony Lindgren wrote: * Tarun Kanti DebBarmatarun.ka...@ti.com [120319 05:09]: These two patches incorporate changes to OMAP1 and OMAP2 platforms board files whereby older references to OMAP_GPIO_IRQ macro are

Re: [PATCH] OMAP3: OPP: Test for IVA subsystem before attempting to add IVA OPP

2012-03-19 Thread Kevin Hilman
Menon, Nishanth n...@ti.com writes: Kevin, [...] Nishanth, can you collect the acks/tested-bys and repost and official patch. I'll queue this up. Thanks. This is already done: http://marc.info/?l=linux-omapm=133191481703750w=2 Yeah, sorry for the noise. I saw it after I sent this

Re: [PATCH v4 00/12] gpio/omap: Some more driver cleanup and fixes

2012-03-19 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com writes: The cleanup is mostly getting rid of redundant fields in struct gpio_bank{} as we already have them as part of bank-context now. Also, remove un-used variable from gpio_irq_handler. Also, the suspend/resume callbacks are removed bacause they are

Re: [PATCH v4 00/12] gpio/omap: Some more driver cleanup and fixes

2012-03-19 Thread DebBarma, Tarun Kanti
On Tue, Mar 20, 2012 at 6:07 AM, Kevin Hilman khil...@ti.com wrote: Tarun Kanti DebBarma tarun.ka...@ti.com writes: The cleanup is mostly getting rid of redundant fields in struct gpio_bank{} as we already have them as part of bank-context now. Also, remove un-used variable from

  1   2   >