[RFC 0/5] EDMA: Support to DMA scatter-lists with any no. of entries

2013-07-21 Thread Joel Fernandes
Re: on-going discussion at [1], I've added support to EDMA driver to be able to accept scatter gather lists of arbitrary length, but still make use of only a certain MAX number of slots. Thus free-ing up the rest of the slots to other slave users. With this there is no need for slave drivers to

[RFC 5/5] DMA: EDMA: Leave linked to Null slot instead of DUMMY slot

2013-07-21 Thread Joel Fernandes
Dummy slot has been used as a way for missed-events not to be reported as missing. This has been particularly troublesome for cases where we might want to temporarily pause all incoming events. For EDMA DMAC, there is no way to do any such pausing of events as the occurence of the next event is

[RFC 2/5] dma: edma: Write out and handle MAX_SG_NR at a given time

2013-07-21 Thread Joel Fernandes
Process SG-elements in batches of MAX_SG_NR if they are greater than MAX_SG_NR. Due to this, at any given time only those many slots will be used in the given channel no matter how long the scatter list is. We keep track of how much has been written inorder to process the next batch of elements in

[RFC 4/5] dma: edma: Find missed events and issue them

2013-07-21 Thread Joel Fernandes
In an effort to move to using Scatter gather lists of any size with EDMA as discussed at [1] instead of placing limitations on the driver, we work through the limitations of the EDMAC hardware to find missed events and issue them. The sequence of events that require this are: For the scenario

[RFC 1/5] dma: edma: Setup parameters to DMA MAX_SG_NR at a time

2013-07-21 Thread Joel Fernandes
Changes are made here for configuring existing parameters to support DMA'ing them out in batches as needed. Also allocate as many as slots as needed by the SG list, but not more than MAX_SG_NR. Then these slots will be reused accordingly. For ex, if MAX_SG_NR=10, and number of SG entries is 40,

[RFC 3/5] ARM: edma: Add function to manually trigger an EDMA channel

2013-07-21 Thread Joel Fernandes
Manual trigger for events missed as a result of splitting a scatter gather list and DMA'ing it in batches. Add a helper function to trigger a channel incase any such events are missed. Signed-off-by: Joel Fernandes jo...@ti.com --- arch/arm/common/edma.c | 21 +

Changes in OMAP baseline testing for v3.11-rc1 onwards

2013-07-21 Thread Paul Walmsley
Hi, Unfortunately I'm no longer able to manually track regressions and posted solutions (if any). This process consumes more time and energy than I'm able to invest now. So, starting with v3.11-rc1, the summary reports will only report the outcome of automated validation scripts. Any

OMAP baseline test results for v3.11-rc1

2013-07-21 Thread Paul Walmsley
Here are some basic OMAP test results for Linux v3.11-rc1. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.11-rc1/20130721020309/ Test summary Build: uImage: Pass (14/14): n800_multi_omap2xxx, n800_only_a, omap1_defconfig,

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Sascha Hauer
On Sat, Jul 20, 2013 at 07:59:10PM -0700, Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That should be passed using platform data. Ick, don't pass strings around, pass pointers. If you have platform data you

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Tomasz Figa
Hi, On Saturday 20 of July 2013 19:59:10 Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That should be passed using platform data. Ick, don't pass strings around, pass pointers. If you have platform data you

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Kishon Vijay Abraham I
Hi, On Sunday 21 July 2013 04:01 PM, Tomasz Figa wrote: Hi, On Saturday 20 of July 2013 19:59:10 Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That should be passed using platform data. Ick, don't pass strings around, pass

Re: Need help for DT GPIO probing

2013-07-21 Thread Linus Walleij
On Sun, Jul 21, 2013 at 6:54 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Linus, are you still planing to send this patches as fixes for the v3.11 -rc cycle or did you decide to wait for v3.12? It will go into the v3.11 RC:s. I've just been slow due to the current heatwave

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Tomasz Figa
On Sunday 21 of July 2013 16:37:33 Kishon Vijay Abraham I wrote: Hi, On Sunday 21 July 2013 04:01 PM, Tomasz Figa wrote: Hi, On Saturday 20 of July 2013 19:59:10 Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That

Re: Need help for DT GPIO probing

2013-07-21 Thread Javier Martinez Canillas
On Sunday, July 21, 2013, Linus Walleij wrote: On Sun, Jul 21, 2013 at 6:54 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: Linus, are you still planing to send this patches as fixes for the v3.11 -rc cycle or did you decide to wait for v3.12? It will go into the v3.11

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-21 Thread Rob Herring
On 07/19/2013 01:14 PM, Sebastian Andrzej Siewior wrote: So I called of_platform_populate() on a device to get each child device probed and on rmmod and I need to reverse its doing. After a quick grep I did what others did as well and rmmod ended in: | Unable to handle kernel NULL pointer

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Greg KH
On Sun, Jul 21, 2013 at 01:12:07PM +0200, Tomasz Figa wrote: On Sunday 21 of July 2013 16:37:33 Kishon Vijay Abraham I wrote: Hi, On Sunday 21 July 2013 04:01 PM, Tomasz Figa wrote: Hi, On Saturday 20 of July 2013 19:59:10 Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Greg KH
On Sun, Jul 21, 2013 at 12:22:48PM +0200, Sascha Hauer wrote: On Sat, Jul 20, 2013 at 07:59:10PM -0700, Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That should be passed using platform data. Ick, don't

[PATCH] ASoC: omap-mcbsp: Support SND_SOC_DAIFMT_CBM_CFS for omap3/4

2013-07-21 Thread Michael Trimarchi
Add SND_SOC_DAIFMT_CBM_CFS support for omap3/omap4. The patch was tested on a pandaboard-es board connected to the pcm1792a codec. mcbspx_fsx must configured as output and mcbspx_clkx must be configured as input. Signed-off-by: Michael Trimarchi mich...@amarulasolutions.com ---

Re: [PATCH 1/3] misc: Add crossbar driver

2013-07-21 Thread Linus Walleij
On Thu, Jul 18, 2013 at 8:25 PM, Felipe Balbi ba...@ti.com wrote: The Peripheral irq/dma requests are connected to one crossbar's input and the output of the crossbar is connected to controller's input line. On POR, there are some mappings which are done by default. Those peripherals which do

Re: [PATCH 1/3] misc: Add crossbar driver

2013-07-21 Thread Linus Walleij
On Thu, Jul 18, 2013 at 8:56 PM, Nishanth Menon n...@ti.com wrote: I carry forward my TI internal objection to this approach: It is actually a very good sign of FOSS-maturity that you as a company take unresolved architectural issues to the community. Kudos! Lets see what happens as a result

Unable to randomly boot rootfs (EXT3 or EXT4) from SD: MMC error -110 (TIMEDOUT)

2013-07-21 Thread Kevyn-Alexandre Paré
Hi, I'm trying to figure out why when randomly booting our system after it = have been hard shutdown for some time (couple of minutes to couple of = days) doesn't boot with MMC error?=20 WORKAROUND: Rebooting the system most of the time remove the issue. I try couple of version of Kernel from

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Sylwester Nawrocki
On 07/21/2013 05:48 PM, Greg KH wrote: On Sun, Jul 21, 2013 at 12:22:48PM +0200, Sascha Hauer wrote: On Sat, Jul 20, 2013 at 07:59:10PM -0700, Greg KH wrote: On Sat, Jul 20, 2013 at 10:32:26PM -0400, Alan Stern wrote: On Sat, 20 Jul 2013, Greg KH wrote: That should be passed using platform

Re: [PATCH] ASoC: omap-mcbsp: Support SND_SOC_DAIFMT_CBM_CFS for omap3/4

2013-07-21 Thread Peter Ujfalusi
On 07/21/2013 06:24 PM, Michael Trimarchi wrote: Add SND_SOC_DAIFMT_CBM_CFS support for omap3/omap4. The patch was tested on a pandaboard-es board connected to the pcm1792a codec. mcbspx_fsx must configured as output and mcbspx_clkx must be configured as input. Acked-by: Peter Ujfalusi

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-21 Thread Alan Stern
On Sun, 21 Jul 2013, Sylwester Nawrocki wrote: What's wrong with the platform_data structure, why can't that be used for this? At the point the platform data of some driver is initialized, e.g. in board setup code the PHY pointer is not known, since the PHY supplier driver has not

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-21 Thread Sebastian Andrzej Siewior
On 07/21/2013 04:42 PM, Rob Herring wrote: Wouldn't the correct fix be to call insert_resource somehow? Yes unless there was a reason this wasn't done in the first place. The problem I have is that while of_platform_populate is all about parsing the DT and creating devices, the removal side

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-21 Thread Rob Herring
On 07/21/2013 09:42 AM, Rob Herring wrote: On 07/19/2013 01:14 PM, Sebastian Andrzej Siewior wrote: So I called of_platform_populate() on a device to get each child device probed and on rmmod and I need to reverse its doing. After a quick grep I did what others did as well and rmmod ended in:

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-21 Thread Grant Likely
On Sun, Jul 21, 2013 at 9:48 PM, Rob Herring robherri...@gmail.com wrote: On 07/21/2013 09:42 AM, Rob Herring wrote: On 07/19/2013 01:14 PM, Sebastian Andrzej Siewior wrote: So I called of_platform_populate() on a device to get each child device probed and on rmmod and I need to reverse its

Re: [PATCH] ASoC: omap-mcbsp: Support SND_SOC_DAIFMT_CBM_CFS for omap3/4

2013-07-21 Thread Mark Brown
On Sun, Jul 21, 2013 at 06:24:01PM +0200, Michael Trimarchi wrote: Add SND_SOC_DAIFMT_CBM_CFS support for omap3/omap4. The patch was tested on a pandaboard-es board connected to the pcm1792a codec. mcbspx_fsx must configured as output and mcbspx_clkx must be configured as input. Applied,

OMAP baseline test results for Linux v3.11-rc2

2013-07-21 Thread Paul Walmsley
Here are some basic OMAP test results for Linux v3.11-rc2. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.11-rc2/20130721203314/ Test summary Build: uImage: Pass (14/14): n800_multi_omap2xxx, n800_only_a, omap1_defconfig,

[GIT PULL] ARM: OMAP2+: PRCM: drop macros not currently in use

2013-07-21 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tony, Sorry for the delay on this - wanted to make sure it passed the local testbed before sending it upstream. The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are

Re: [PATCH 02/18] MAINTAINERS: ARM: OMAP2/3: Remove unused clockdomain files

2013-07-21 Thread Paul Walmsley
On Sun, 21 Jul 2013, Joe Perches wrote: commit 4bd5259e53a (ARM: OMAP2/3: clockdomain/PRM/CM: move the low-level clockdomain functions into PRM/CM) deleted the files, update the pattern. Signed-off-by: Joe Perches j...@perches.com cc: Paul Walmsley p...@pwsan.com cc: Rajendra Nayak

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Paul Walmsley
On Sun, 21 Jul 2013, Joe Perches wrote: commit 498153995b9 (ARM: OMAP2+: powerdomain/PRM: move the low-level powerdomain) renamed the files, update the patterns. Signed-off-by: Joe Perches j...@perches.com cc: Paul Walmsley p...@pwsan.com cc: Rajendra Nayak rna...@ti.com cc: Santosh

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Joe Perches
On Mon, 2013-07-22 at 05:03 +, Paul Walmsley wrote: On Sun, 21 Jul 2013, Joe Perches wrote: commit 498153995b9 (ARM: OMAP2+: powerdomain/PRM: move the low-level powerdomain) renamed the files, update the patterns. Signed-off-by: Joe Perches j...@perches.com cc: Paul Walmsley

[PATCH] ARM: OMAP3EVM: Marking omap3_evm_display_init() with CONFIG_BROKEN

2013-07-21 Thread Paul Walmsley
From: Lokesh Vutla lokeshvu...@ti.com On 37xx EVM non-dt boot fails with current mainline, because of broken GPIO numbering in the board file that uses hardcoded GPIOs. So marking omap3_evm_display_init() with CONFIG_BROKEN for now as suggested by Tony as per the below link:

Re: [PATCH 03/18] MAINTAINERS: OMAP POWERDOMAIN, update patterns

2013-07-21 Thread Paul Walmsley
Hi Joe, On Sun, 21 Jul 2013, Joe Perches wrote: I certainly don't object at all if Andrew picks up the patches you mentioned and drops these 2. Andrew, here are links to Cesar's original patches https://patchwork.kernel.org/project/LKML/list/?submitter=3513

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-21 Thread George Cherian
On 7/20/2013 9:11 AM, George Cherian wrote: On 7/20/2013 12:12 AM, Sebastian Andrzej Siewior wrote: On 07/19/2013 08:33 PM, Sergei Shtylyov wrote: Hello. Hello, usb: usb@4740 { compatible = ti,am33xx-usb; usb0_phy: phy@47401300 { compatible = ti,am335x-usb-phy;