[PATCH] dma: edma: fix incorrect SG list handling

2014-03-17 Thread Sekhar Nori
The code to handle any length SG lists calls edma_resume() even before edma_start() is called. This is incorrect because edma_resume() enables edma events on the channel after which CPU (in edma_start) cannot clear posted events by writing to ECR (per the EDMA user's guide). Because of this EDMA

Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-17 Thread Jon Ringle
On Mon, 17 Mar 2014, Sekhar Nori wrote: The code to handle any length SG lists calls edma_resume() even before edma_start() is called. This is incorrect because edma_resume() enables edma events on the channel after which CPU (in edma_start) cannot clear posted events by writing to ECR (per

Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-17 Thread Sekhar Nori
Hi Jon, On Monday 17 March 2014 06:28 PM, Jon Ringle wrote: On Mon, 17 Mar 2014, Sekhar Nori wrote: The code to handle any length SG lists calls edma_resume() even before edma_start() is called. This is incorrect because edma_resume() enables edma events on the channel after which CPU

Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-17 Thread Jon Ringle
On Mon, 17 Mar 2014, Sekhar Nori wrote: Hi Jon, On Monday 17 March 2014 06:28 PM, Jon Ringle wrote: On Mon, 17 Mar 2014, Sekhar Nori wrote: The code to handle any length SG lists calls edma_resume() even before edma_start() is called. This is incorrect because edma_resume()

Re: [GIT PULL] DaVinci SoC updates for v3.15

2014-03-17 Thread Arnd Bergmann
On Thursday 06 March 2014, Sekhar Nori wrote: This pull request removes da8xx_omapl_defconfig enabling all ARMv5 davinci devices to be built using davinci_all_defconfig Pulled into next/soc, thanks! Arnd ___ Davinci-linux-open-source

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Linus Walleij
On Mon, Mar 17, 2014 at 2:29 PM, Sekhar Nori nsek...@ti.com wrote: One thing to note is that this driver is used by keystone too and all its users are DT-only. Although I do not see any in-kernel DT GPIO users even there. I can confirm the patch does not break my gpiolib based test module

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Grygorii Strashko
On 03/17/2014 03:29 PM, Sekhar Nori wrote: On Friday 14 March 2014 04:32 PM, Linus Walleij wrote: On Fri, Mar 14, 2014 at 11:08 AM, Alexander Holler hol...@ahsoftware.de wrote: Am 11.03.2014 11:15, schrieb Linus Walleij: On Wed, Mar 5, 2014 at 12:21 PM, Alexander Holler hol...@ahsoftware.de

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Alexander Holler
Am 17.03.2014 14:29, schrieb Sekhar Nori: One thing to note is that this driver is used by keystone too and all its users are DT-only. Although I do not see any in-kernel DT GPIO users even there. Common gpio users are, as always, gpio-keys and gpio-leds. Doesn't have one of the keystone

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Linus Walleij
On Mon, Mar 17, 2014 at 3:11 PM, Alexander Holler hol...@ahsoftware.de wrote: Thanks, maybe someone could add a Cc: sta...@vger.kernel.org OK if it goes in as fix I'll add this. to get the fix back into 3.14 if it has go through -next. It's already in linux-next. Yours, Linus Walleij

Re: [PATCH 0/4] ata: add remaining new-style AHCI platform drivers

2014-03-17 Thread Tejun Heo
On Mon, Mar 17, 2014 at 07:31:54PM +0100, Bartlomiej Zolnierkiewicz wrote: Hi, This patch series adds new-style AHCI platform drivers for DaVinci DA850 AHCI controller and ST SPEAr1340 AHCI controller. As a preparation for adding these drivers it also fixes ahci_platform_data-suspend()

Re: [PATCH] ARM: davinci: fix DT booting with default defconfig

2014-03-17 Thread Kevin Hilman
On Sun, Mar 16, 2014 at 10:00 PM, Sekhar Nori nsek...@ti.com wrote: On Friday 14 March 2014 11:00 PM, Kevin Hilman wrote: Davinci boards tend to have older booloaders without DTB support. Enable appended DTB support by default to allow DT booting on older platforms. While there, also enable

Re: [PATCH] ARM: davinci: fix DT booting with default defconfig

2014-03-17 Thread Sekhar Nori
On Tuesday 18 March 2014 03:01 AM, Kevin Hilman wrote: On Sun, Mar 16, 2014 at 10:00 PM, Sekhar Nori nsek...@ti.com wrote: On Friday 14 March 2014 11:00 PM, Kevin Hilman wrote: Davinci boards tend to have older booloaders without DTB support. Enable appended DTB support by default to allow DT

Re: [PATCH 10/18] dma: edma: Reduce debug print verbosity for non verbose debugging

2014-03-17 Thread Shevchenko, Andriy
On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: Do not print the paRAM information when verbose debugging is not asked and also reduce the number of lines printed in edma_prep_dma_cyclic() Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/edma.c | 11 +--

Re: [PATCH 13/18] dma: edma: Print the direction value as well when it is not supported

2014-03-17 Thread Shevchenko, Andriy
On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: In case of not supported direction it is better to print the direction also. It is unlikely, but in such an event it helps with the debugging. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/edma.c | 4 ++-- 1

[PATCH 1/4] ata: ahci_platform: fix ahci_platform_data-suspend method handling

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Looking at ST SPEAr1340 AHCI code (the only user of the deprecated pdata-suspend and pdata-resume) it is obvious the we should return after calling pdata-suspend() only if the function have returned non-zero return value. The code has been broken since commit 1e70c2 (ata/ahci_platform: Add clock

[PATCH 2/4] ata: move library code from ahci_platform.c to libahci_platform.c

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Move AHCI platform library code from ahci_platform.c to libahci_platform.c and fix dependencies for ahci_st, ahci_imx and ahci_sunxi drivers. Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com --- drivers/ata/Kconfig| 5 +- drivers/ata/Makefile | 8 +-

[PATCH 3/4] ata: add new-style AHCI platform driver for DaVinci DA850 AHCI controller

2014-03-17 Thread Bartlomiej Zolnierkiewicz
The new driver is named ahci_da850 and is only compile tested. Once it is tested on the real hardware and verified to work correctly, the legacy platform code (which depends on the deprecated struct ahci_platform_data) can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz

[PATCH 0/4] ata: add remaining new-style AHCI platform drivers

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds new-style AHCI platform drivers for DaVinci DA850 AHCI controller and ST SPEAr1340 AHCI controller. As a preparation for adding these drivers it also fixes ahci_platform_data-suspend() handling (patch #1) and moves library AHCI platform code to its own file (patch #2).

[PATCH 4/4] ata: add new-style AHCI platform driver for ST SPEAr1340 AHCI controller

2014-03-17 Thread Bartlomiej Zolnierkiewicz
The new driver is named ahci_spear1340 and is only compile tested. Once it is tested on the real hardware and verified to work correctly, the legacy platform code (which depends on the deprecated struct ahci_platform_data) can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz