Re: [PATCH V2 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-05 Thread Viresh Kumar
On 6 March 2013 13:35, amit kachhap wrote: > On Tue, Mar 5, 2013 at 6:48 AM, Viresh Kumar wrote: >>> +static void exynos_cpufreq_work(struct work_struct *work) >>> +{ >>> + unsigned int cur_pstate, index; >>> + struct cpufreq_policy *policy = cpufreq_cpu_get(0); /* boot CPU */ >>> +

Re: [PATCH V2 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-05 Thread amit kachhap
Hi Viresh, Again thanks for your review comments. On Tue, Mar 5, 2013 at 6:48 AM, Viresh Kumar wrote: > On 2 March 2013 15:04, Amit Daniel Kachhap wrote: >> This patch adds dvfs support for exynos5440 SOC. This soc has 4 cores and >> they run at same frequency. The nature of exynos5440 clock co

Re: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support

2013-03-05 Thread Padma Venkat
On Wed, Mar 6, 2013 at 4:07 AM, Arnd Bergmann wrote: > On Monday 04 March 2013, Padmavathi Venna wrote: >> >> This patch adds #dma-cells property to PL330 DMA controller >> nodes for supporting generic dma dt bindings on samsung exynos >> platforms. #dma-channels and #dma-requests are not required

[PATCH] iio: adc: exynos5_adc: fix compilation warnings

2013-03-05 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Ch --- drivers/iio/adc/exynos_adc.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/driv

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Doug Anderson
Thomas, On Tue, Mar 5, 2013 at 4:01 PM, Thomas Abraham wrote: > So now I have: pinctrl_0 is SPI[46], pinctrl_1 is SPI[45], pinctrl_2 > is SPI[50] and pinctrl_3 is SPI[47]. I am yet to test this and > confirm. If you feel these are wrong, could you please let me know. Yes, that matches my finding

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Doug Anderson
Thomas, On Tue, Mar 5, 2013 at 3:49 PM, Thomas Abraham wrote: > Yes, I am currently held up with supporting default pin states at slot > level. One option that could be considered is to list out the default > pin states for all slots in the parent node of the slots. So it would > be something lik

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Thomas Abraham
On 6 March 2013 05:20, Doug Anderson wrote: > Thomas, > > On Mon, Mar 4, 2013 at 6:04 AM, Thomas Abraham > wrote: >> >> Ok. I will repost this patch again with pinctrl_1 and pinctrl_2 >> included. I had not included this in the earlier patch since I was not >> sure of the best pin grouping for th

RE: State of pinctrl and exynos5250?

2013-03-05 Thread Kukjin Kim
Doug Anderson wrote: > > Tomasz, > > Thanks for your response. > > > On Sat, Mar 2, 2013 at 3:48 AM, Tomasz Figa wrote: > > > > The 4 patches above are already merged in Kgene's for-next-next (for > 3.10) > > branch. > > Excellent. I see them now. I haven't yet seen them show up in > linux-

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Doug Anderson
Thomas, On Mon, Mar 4, 2013 at 6:04 AM, Thomas Abraham wrote: > > Ok. I will repost this patch again with pinctrl_1 and pinctrl_2 > included. I had not included this in the earlier patch since I was not > sure of the best pin grouping for the camera and c2c interface. OK, thanks. >>> --> NOTE:

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Thomas Abraham
On 6 March 2013 04:59, Doug Anderson wrote: > Tomasz, > > Thanks for your response. > > > On Sat, Mar 2, 2013 at 3:48 AM, Tomasz Figa wrote: >> >> The 4 patches above are already merged in Kgene's for-next-next (for 3.10) >> branch. > > Excellent. I see them now. I haven't yet seen them show up

Re: State of pinctrl and exynos5250?

2013-03-05 Thread Doug Anderson
Tomasz, Thanks for your response. On Sat, Mar 2, 2013 at 3:48 AM, Tomasz Figa wrote: > > The 4 patches above are already merged in Kgene's for-next-next (for 3.10) > branch. Excellent. I see them now. I haven't yet seen them show up in linux-next (which is where I tend to look first), though

Re: [PATCH 2/2] Arm: socfpga: pl330: Add #dma-cells for generic dma binding support

2013-03-05 Thread Dinh Nguyen
On Mon, 2013-03-04 at 11:04 +0530, Padmavathi Venna wrote: > This patch adds #dma-cells property to PL330 DMA controller nodes for > supporting generic dma dt bindings on SOCFPGA platform. #dma-channels > and #dma-requests are not required now but added in advance. > > Signed-off-by: Padmavathi Ve

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Tomasz Figa
On Tuesday 05 of March 2013 19:19:02 Arnd Bergmann wrote: > On Tuesday 05 March 2013, Tomasz Figa wrote: > > > With this patch set, we can build mach-exynos as part > > > of a multiplatform kernel, with the following caveats: > > > > > > * Only DT based boards are supported > > > > As far as I'm

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Heiko Stübner wrote: > Am Dienstag, 5. März 2013, 22:54:22 schrieb Arnd Bergmann: > > On Tuesday 05 March 2013, Arnd Bergmann wrote: > > > We still need a solution for the ASoC drivers, but they are > > not as essential. We could probably move the wrapper files > > from p

Re: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support

2013-03-05 Thread Arnd Bergmann
On Monday 04 March 2013, Padmavathi Venna wrote: > > This patch adds #dma-cells property to PL330 DMA controller > nodes for supporting generic dma dt bindings on samsung exynos > platforms. #dma-channels and #dma-requests are not required now > but added in advance. > > Signed-off-by: Padmavathi

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Heiko Stübner
Am Dienstag, 5. März 2013, 22:54:22 schrieb Arnd Bergmann: > On Tuesday 05 March 2013, Arnd Bergmann wrote: > > The s3c64xx_dma code is also interesting because > > it has both an implementation of the s3c_dma interface in > > arch/arm/mach-s3c64xx/dma.c and one using the generic interface in > > d

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Tomasz Figa wrote: > AFAIR, the PL080 in S3C64xx is a slightly customized variant and requires > some modifications to the driver. However I'm saying this only based on > what I remember from the past, as I haven't checked current version of the > driver yet, so it's po

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Tomasz Figa
On Tuesday 05 of March 2013 21:54:22 Arnd Bergmann wrote: > On Tuesday 05 March 2013, Arnd Bergmann wrote: > > The s3c64xx_dma code is also interesting because > > it has both an implementation of the s3c_dma interface in > > arch/arm/mach-s3c64xx/dma.c and one using the generic interface in > > dr

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Arnd Bergmann wrote: > The s3c64xx_dma code is also interesting because > it has both an implementation of the s3c_dma interface in > arch/arm/mach-s3c64xx/dma.c and one using the generic interface in > drivers/dma/amba-pl08x.c. This actually brings me to an interesting

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Heiko Stübner
Am Dienstag, 5. März 2013, 18:42:10 schrieb Arnd Bergmann: > Hi everyone, > > Although I'm not present at the Linaro Connect hacking > sessions, I am participating remotely and have tried > hacking on multiplatform support for Exynos. This patch > set is far from complete, but I think the patches

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Heiko Stübner wrote: > If I remember correctly Kgene mentioning some time back, that someone was > working on converting the s3c dma to dmaengine, but I never heard anything > more about it. Ok, let's see if we can find out what happened to that. > So personally I woul

Re: [PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Rob Herring wrote: > > Why would you call of_dma_controller_register() for a dma > > engine that does not support slave channels, when that is the > > only purpose of that interface? > > Well maybe then that function should be allowed to fail without erroring > out. I jus

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Tomasz Figa wrote: > > > > With this patch set, we can build mach-exynos as part > > of a multiplatform kernel, with the following caveats: > > > > * Only DT based boards are supported > > As far as I'm aware, there are plans to drop non-DT Exynos support. Kgene > shou

[PATCH] ARM: EXYNOS: remove EXYNOS_DEV_SYSMMU entirely

2013-03-05 Thread Paul Bolle
Commit 25e9d28d927d2e1731df53f60cde53d75bcb7c36 ("ARM: EXYNOS: remove system mmu initialization from exynos tree") removed the Kconfig symbol EXYNOS_DEV_SYSMMU. Remove its last traces too. Signed-off-by: Paul Bolle --- 0) Untested. 1) Please note that this patch changes the dependencies of EXYNO

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Tomasz Figa
Hi Arnd, First of all, thanks for your great effort on making Exynos multiplatform- friendly. I have added my two cents inline. On Tuesday 05 of March 2013 18:42:10 Arnd Bergmann wrote: > Hi everyone, > > Although I'm not present at the Linaro Connect hacking > sessions, I am participating remo

Re: [PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Tony Lindgren
* Arnd Bergmann [130305 09:51]: > Hi everyone, > > Although I'm not present at the Linaro Connect hacking > sessions, I am participating remotely and have tried > hacking on multiplatform support for Exynos. This patch > set is far from complete, but I think the patches > can be useful anyway. >

Re: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-03-05 Thread Thomas Abraham
On 27 December 2012 22:28, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> Hi Linus, >> >> On 14 December 2012 21:21, Linus Walleij wrote: >> > On Thu, Dec 13, 2012 at 12:54 PM, Thomas Abraham >> > wrote: >> > >> >> Add Samsung Exynos5250 SoC specific data to enable pinctrl support for >> >> all

[PATCH 16/23] pwm: samsung: repair the worst MMIO abuses

2013-03-05 Thread Arnd Bergmann
The Samsung PWM driver uses "magic" pointers that are mapped at boot time to point its MMIO registers. This fails horribly with a multiplatform kernel, which can not rely on platform specific header files to contain the right values, aside from this being a really bad idea in general. This changes

[PATCH 22/23] ARM: exynos: work around missing gpio code on multiplatform

2013-03-05 Thread Arnd Bergmann
With CONFIG_ARCH_MULTIPLATFORM, we can no longer have our own mach/gpio.h included by the kernel-wide linux/gpio.h header, and disabling the gpio-samsung driver means we cannot use any of the private interfaces. This patch disables all code referring to the driver and gets things to build again, bu

[PATCH 08/23] mmc: sdhci-s3c: remove platform dependencies

2013-03-05 Thread Arnd Bergmann
plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c driver, so it can become a local file there and all other inclusions removed. plat/sdhci.h is used only to define the platform devices, and with the exception of the platform_data structure not needed by the driver, so we can split out th

[PATCH 13/23] mtd: onenand/samsung: make regs-onenand.h file local

2013-03-05 Thread Arnd Bergmann
Nothing uses the NAND register definitions other than the actual driver, so we can move the header file into the same local directory, which lets us build it in a multiplatform configuration. Signed-off-by: Arnd Bergmann --- arch/arm/plat-samsung/include/plat/regs-onenand.h | 63

[PATCH 17/23] ASoC: samsung: move plat/ headers to local directory

2013-03-05 Thread Arnd Bergmann
The plat/iis.h and plat/ac97.h files in the samsung platform are only needed by the ASoC drivers, so they can be moved into the same directory, as one more step towards a multiplatform build. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/dma-s3c2410.c| 2 - arch/arm/mach-s3

[PATCH 11/23] video/exynos: remove unnecessary header inclusions

2013-03-05 Thread Arnd Bergmann
In multiplatform configurations, we cannot include headers provided by only the exynos platform. Fortunately a number of drivers that include those headers do not actually need them, so we can just remove the inclusions. Signed-off-by: Arnd Bergmann --- drivers/video/exynos/exynos_mipi_dsi.c

[PATCH 04/23] tty: serial/samsung: make register definitions global

2013-03-05 Thread Arnd Bergmann
The registers for the Samsung S3C serial port are currently defined in the platform specific arch/arm/plat-samsung/include/plat/regs-serial.h file, which is not visible to multiplatform capable drivers. Unfortunately, it is not possible to move the file into a more local place as we should normall

[PATCH 18/23] ASoC: samsung: convert to dmaengine API

2013-03-05 Thread Arnd Bergmann
In order to build the exynos kernel with CONFIG_ARCH_MULTIPLATFORM, we must convert all users of the Samsung private DMA interface to the generic dmaengine API. This converts the sound/soc drivers, breaking the older s3c platforms in the process, since they do not support the dmaengine interface ye

[PATCH 12/23] thermal/exynos: remove unnecessary header inclusions

2013-03-05 Thread Arnd Bergmann
In multiplatform configurations, we cannot include headers provided by only the exynos platform. Fortunately a number of drivers that include those headers do not actually need them, so we can just remove the inclusions. Signed-off-by: Arnd Bergmann --- drivers/thermal/exynos_thermal.c | 2 -- 1

[PATCH 02/23] irqchip: exynos: remove dependency on mach/irqs.h

2013-03-05 Thread Arnd Bergmann
As a preparation for multiplatform, this changes the exynos "combiner" irqchip to no longer make any assumptions about using specific IRQ numbers or the number of combiners in the system. For this, we have to revert to always initializing the combiner explicitly from architecture code, rather than

[PATCH 10/23] [media] exynos: remove unnecessary header inclusions

2013-03-05 Thread Arnd Bergmann
In multiplatform configurations, we cannot include headers provided by only the exynos platform. Fortunately a number of drivers that include those headers do not actually need them, so we can just remove the inclusions. Signed-off-by: Arnd Bergmann --- drivers/media/platform/exynos-gsc/gsc-regs

[PATCH 15/23] spi: s3c64xx: move to generic dmaengine API

2013-03-05 Thread Arnd Bergmann
The spi-s3c64xx uses a Samsung proprietary interface for talking to the DMA engine, which does not work with multiplatform kernels. Since the driver can also operate in PIO mode without any DMA, older platforms that do not support the DMA engine API will still work, although slower. The conversion

[PATCH 05/23] tty: serial/samsung: fix modular build

2013-03-05 Thread Arnd Bergmann
There are a few bugs in the samsung serial driver when built as a loadable module, which makes the console code unavailable, as well as giving no access to the 'printascii' early debug function. This adds the appropriate compile time conditionals. Signed-off-by: Arnd Bergmann --- drivers/tty/ser

[PATCH 03/23] tty: serial/samsung: prepare for common clock API

2013-03-05 Thread Arnd Bergmann
With the common clock interface, there is no way to provide the "clock_source" sysfs attribute for the samsung serial ports. Given that this file was purely informational and had fixed contents, we have reason to believe that no user space programs were relying on it. The sysfs file is not documen

[PATCH 19/23] ASoC: samsung: use irq resource for idma

2013-03-05 Thread Arnd Bergmann
With multiplatform kernels, we cannot use hardwired IRQ numbers in device drivers. This changes the idma driver to use a proper resource, like all other drivers do. Signed-off-by: Arnd Bergmann --- arch/arm/plat-samsung/devs.c | 6 ++ sound/soc/samsung/idma.c | 10 -- 2 files ch

[PATCH 00/23] RFC: exynos multiplatform support

2013-03-05 Thread Arnd Bergmann
Hi everyone, Although I'm not present at the Linaro Connect hacking sessions, I am participating remotely and have tried hacking on multiplatform support for Exynos. This patch set is far from complete, but I think the patches can be useful anyway. The series gets increasingly fishy towards the e

[PATCH 09/23] usb: exynos: do not include plat/usb-phy.h

2013-03-05 Thread Arnd Bergmann
The definitions have moved to include/linux/usb/samsung-usb-phy.h, and plat/usb-phy.h is unavailable from drivers in a multiplatform configuration. Also fix up the plat/usb-phy.h header file to use the definitions from the new header instead of providing a separate copy. Signed-off-by: Arnd Bergm

[PATCH 23/23] ARM: exynos: experimental multiplatform support

2013-03-05 Thread Arnd Bergmann
This enables the exynos platform to be selected as part of a CONFIG_ARCH_MULTIPLATFORM kernel. This still breaks a number of drivers, which we will have to enable again one by one. Single-platform configurations should not be impacted by this. Signed-off-by: Arnd Bergmann --- arch/arm/Kconfig

[PATCH 01/23] ARM: exynos: introduce EXYNOS_ATAGS symbol

2013-03-05 Thread Arnd Bergmann
As a preparation for multiplatform support, this introduces a new Kconfig symbol to split the ATAGS based EXYNOS platforms from the DT based ones. Turning off CONFIG_EXYNOS_ATAGS disables all platforms that are not yet converted to DT, and we can have code that relies on DT checking for this symbol

[PATCH 21/23] ARM: exynos: hack to disable private clock code

2013-03-05 Thread Arnd Bergmann
Multiplatform kernels rely on the common clock implementation, which conflicts with Samsung's own implementation of the same interface. This disables all code that provides or requires the nonstandard version. Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/Makefile| 2 ++ arch/arm

[PATCH 20/23] ARM: exynos: prepare for sparse IRQ

2013-03-05 Thread Arnd Bergmann
When we enable CONFIG_SPARSE_IRQ, we have to set the value of NR_IRQS in the machine_desc for legacy IRQ domains, and any file referring to the number of interrupts or a specific number must include the mach/irqs.h header file explicitly. Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/dev

[PATCH 14/23] rtc: s3c: make header file local

2013-03-05 Thread Arnd Bergmann
Nothing outside of the rtc driver includes plat/regs-rtc.h, so we can simply move the file into the same directory, which allows us to build the file as platform-independent code. Signed-off-by: Arnd Bergmann --- arch/arm/plat-samsung/include/plat/regs-rtc.h | 71 --- dri

[PATCH 07/23] i2c: s3c2410: make header file local

2013-03-05 Thread Arnd Bergmann
No other file in the kernel besides i2c-s3c2410.c uses the current plat/regs-iic.h, so we can simply move the header file to live in the same directory as the driver, as a preparation to multiplatform builds. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/mach-rx1950.c | 1 -

[PATCH 06/23] ARM: exynos: move debug-macro.S to include/debug/

2013-03-05 Thread Arnd Bergmann
The move is necessary to support early debug output on exynos with multiplatform configurations. This implies also moving the plat/debug-macro.S file, but we are leaving the remaining users of that file in place, to avoid adding large numbers of extra configuration options to Kconfig.debug Signed-

Re: [PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Rob Herring
On 03/05/2013 04:15 AM, Arnd Bergmann wrote: > On Tuesday 05 March 2013 03:43:52 Rob Herring wrote: >> On 03/05/2013 03:25 AM, Padmavathi Venna wrote: >>> This patch returns error when 'dma-cells' property not found >>> in the corresponding device node. With out this change there >>> is a crash in

[PATCH V2] ARM: dts: Modify SPI nodes according generic DMA DT bindings

2013-03-05 Thread Padmavathi Venna
This patch removes custom way of adding spi dma channels and adds according to new generic DMA DT bindings on samsung exynos4 and exynos5440 platforms. Signed-off-by: Padmavathi Venna --- Changes since V1: - Corrected the pdma phandle in spi1 node. arch/arm/boot/dts/exynos4.dtsi|

Re: [PATCH] ARM: dts: Modify SPI nodes according generic DMA DT bindings

2013-03-05 Thread Sylwester Nawrocki
On 03/05/2013 11:06 AM, Sachin Kamat wrote: > On 5 March 2013 15:34, Padmavathi Venna wrote: >> This patch removes custom way of adding spi dma channels and >> adds according to new generic DMA DT bindings on samsung exynos4 >> and exynos5440 platforms. >> >> Signed-off-by: Padmavathi Venna >> --

Re: [PATCH] ARM: dts: Modify SPI nodes according generic DMA DT bindings

2013-03-05 Thread Padma Venkat
On Tue, Mar 5, 2013 at 3:36 PM, Sachin Kamat wrote: > On 5 March 2013 15:34, Padmavathi Venna wrote: >> This patch removes custom way of adding spi dma channels and >> adds according to new generic DMA DT bindings on samsung exynos4 >> and exynos5440 platforms. >> >> Signed-off-by: Padmavathi Ven

Re: [PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013 03:43:52 Rob Herring wrote: > On 03/05/2013 03:25 AM, Padmavathi Venna wrote: > > This patch returns error when 'dma-cells' property not found > > in the corresponding device node. With out this change there > > is a crash in the generic dma incompatible platforms. > > > >

Re: [PATCH] ARM: dts: Modify SPI nodes according generic DMA DT bindings

2013-03-05 Thread Sachin Kamat
On 5 March 2013 15:34, Padmavathi Venna wrote: > This patch removes custom way of adding spi dma channels and > adds according to new generic DMA DT bindings on samsung exynos4 > and exynos5440 platforms. > > Signed-off-by: Padmavathi Venna > --- > arch/arm/boot/dts/exynos4.dtsi| 15 ++

Re: [PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Padma Venkat
On Tue, Mar 5, 2013 at 3:13 PM, Rob Herring wrote: > On 03/05/2013 03:25 AM, Padmavathi Venna wrote: >> This patch returns error when 'dma-cells' property not found >> in the corresponding device node. With out this change there >> is a crash in the generic dma incompatible platforms. >> >> Signed

[PATCH] ARM: dts: Modify SPI nodes according generic DMA DT bindings

2013-03-05 Thread Padmavathi Venna
This patch removes custom way of adding spi dma channels and adds according to new generic DMA DT bindings on samsung exynos4 and exynos5440 platforms. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos4.dtsi| 15 +-- arch/arm/boot/dts/exynos5440.dtsi |5 +++-- 2

Re: [PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Rob Herring
On 03/05/2013 03:25 AM, Padmavathi Venna wrote: > This patch returns error when 'dma-cells' property not found > in the corresponding device node. With out this change there > is a crash in the generic dma incompatible platforms. > > Signed-off-by: Padmavathi Venna NAK. #dma-cells should be opt

[PATCH V2] DMA: PL330: Add check if device tree compatible

2013-03-05 Thread Padmavathi Venna
This patch register the dma controller with generic dma helpers only in DT case. This also adds some extra error handling in the driver. Signed-off-by: Padmavathi Venna Reported-by: Sachin Kamat --- Based on Vinod Koul next branch. Changes since V1: - return silently when of_dma_contro

[PATCH] dma: of-dma: return error when 'dma-cells' not found

2013-03-05 Thread Padmavathi Venna
This patch returns error when 'dma-cells' property not found in the corresponding device node. With out this change there is a crash in the generic dma incompatible platforms. Signed-off-by: Padmavathi Venna --- Based on Vinod Koul next branch. drivers/dma/of-dma.c |8 +++- 1 files cha