linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra_defconfig: enable APB DMA support
@ 2012-08-29  9:00 Uwe Kleine-König
  2012-08-29  9:19 ` Laxman Dewangan
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2012-08-29  9:00 UTC (permalink / raw)
  To: linux-arm-kernel

Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
on that.

Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
 arch/arm/configs/tegra_defconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
index db22453..0d6bb73 100644
--- a/arch/arm/configs/tegra_defconfig
+++ b/arch/arm/configs/tegra_defconfig
@@ -145,6 +145,8 @@ CONFIG_MMC_SDHCI_TEGRA=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_EM3027=y
 CONFIG_RTC_DRV_TEGRA=y
+CONFIG_DMADEVICES=y
+CONFIG_TEGRA20_APB_DMA=y
 CONFIG_STAGING=y
 CONFIG_SENSORS_ISL29018=y
 CONFIG_SENSORS_ISL29028=y
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: tegra_defconfig: enable APB DMA support
  2012-08-29  9:00 [PATCH] ARM: tegra_defconfig: enable APB DMA support Uwe Kleine-König
@ 2012-08-29  9:19 ` Laxman Dewangan
  2012-08-29  9:49   ` Uwe Kleine-König
  0 siblings, 1 reply; 4+ messages in thread
From: Laxman Dewangan @ 2012-08-29  9:19 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday 29 August 2012 02:30 PM, Uwe Kleine-K?nig wrote:
> Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
> on that.
>
> Signed-off-by: Uwe Kleine-K?nig<u.kleine-koenig@pengutronix.de>
> ---
>   arch/arm/configs/tegra_defconfig |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
> index db22453..0d6bb73 100644
> --- a/arch/arm/configs/tegra_defconfig
> +++ b/arch/arm/configs/tegra_defconfig
> @@ -145,6 +145,8 @@ CONFIG_MMC_SDHCI_TEGRA=y
>   CONFIG_RTC_CLASS=y
>   CONFIG_RTC_DRV_EM3027=y
>   CONFIG_RTC_DRV_TEGRA=y
> +CONFIG_DMADEVICES=y
> +CONFIG_TEGRA20_APB_DMA=y
>   CONFIG_STAGING=y
>   CONFIG_SENSORS_ISL29018=y
>   CONFIG_SENSORS_ISL29028=y

Hi Uwe,
Tegra team is working on to enable the new dma drivr which is dmaengine 
based. We have dma legacy driver as of now in mach-tegra. Some of the 
tests are failing with new dmadriver and so we are not able to enable it.
The patch series which is posted against this is:

[PATCH 0/5] ARM: tegra: move all APB DMA client to dmaengine based driver

Thanks,
Laxman

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: tegra_defconfig: enable APB DMA support
  2012-08-29  9:19 ` Laxman Dewangan
@ 2012-08-29  9:49   ` Uwe Kleine-König
  2012-08-29 17:34     ` Stephen Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2012-08-29  9:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 29, 2012 at 02:49:36PM +0530, Laxman Dewangan wrote:
> On Wednesday 29 August 2012 02:30 PM, Uwe Kleine-K?nig wrote:
> >Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
> >on that.
> >
> >Signed-off-by: Uwe Kleine-K?nig<u.kleine-koenig@pengutronix.de>
> >---
> >  arch/arm/configs/tegra_defconfig |    2 ++
> >  1 file changed, 2 insertions(+)
> >
> >diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
> >index db22453..0d6bb73 100644
> >--- a/arch/arm/configs/tegra_defconfig
> >+++ b/arch/arm/configs/tegra_defconfig
> >@@ -145,6 +145,8 @@ CONFIG_MMC_SDHCI_TEGRA=y
> >  CONFIG_RTC_CLASS=y
> >  CONFIG_RTC_DRV_EM3027=y
> >  CONFIG_RTC_DRV_TEGRA=y
> >+CONFIG_DMADEVICES=y
> >+CONFIG_TEGRA20_APB_DMA=y
> >  CONFIG_STAGING=y
> >  CONFIG_SENSORS_ISL29018=y
> >  CONFIG_SENSORS_ISL29028=y
> 
> Hi Uwe,
> Tegra team is working on to enable the new dma drivr which is
> dmaengine based. We have dma legacy driver as of now in mach-tegra.
> Some of the tests are failing with new dmadriver and so we are not
> able to enable it.
So it depends on what you wanna do with the defconfig. There are two
purposes for them:

 a) compile coverage
 b) starting point for machine support

So it all depends on what you consider to be more important.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: tegra_defconfig: enable APB DMA support
  2012-08-29  9:49   ` Uwe Kleine-König
@ 2012-08-29 17:34     ` Stephen Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-08-29 17:34 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/29/12 02:49, Uwe Kleine-K?nig wrote:
> On Wed, Aug 29, 2012 at 02:49:36PM +0530, Laxman Dewangan wrote:
>> On Wednesday 29 August 2012 02:30 PM, Uwe Kleine-K?nig wrote:
>>> Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
>>> on that.
>>>
>>> Signed-off-by: Uwe Kleine-K?nig<u.kleine-koenig@pengutronix.de>
>>> ---
>>>   arch/arm/configs/tegra_defconfig |    2 ++
>>>   1 file changed, 2 insertions(+)
>>>
>>> diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig
>>> index db22453..0d6bb73 100644
>>> --- a/arch/arm/configs/tegra_defconfig
>>> +++ b/arch/arm/configs/tegra_defconfig
>>> @@ -145,6 +145,8 @@ CONFIG_MMC_SDHCI_TEGRA=y
>>>   CONFIG_RTC_CLASS=y
>>>   CONFIG_RTC_DRV_EM3027=y
>>>   CONFIG_RTC_DRV_TEGRA=y
>>> +CONFIG_DMADEVICES=y
>>> +CONFIG_TEGRA20_APB_DMA=y
>>>   CONFIG_STAGING=y
>>>   CONFIG_SENSORS_ISL29018=y
>>>   CONFIG_SENSORS_ISL29028=y
>>
>> Hi Uwe,
>> Tegra team is working on to enable the new dma drivr which is
>> dmaengine based. We have dma legacy driver as of now in mach-tegra.
>> Some of the tests are failing with new dmadriver and so we are not
>> able to enable it.
> So it depends on what you wanna do with the defconfig. There are two
> purposes for them:
>
>   a) compile coverage
>   b) starting point for machine support
>
> So it all depends on what you consider to be more important.

I'd prefer tegra_defconfig to produce a useful working system. I believe 
that enabling both DMA drivers at the same time will cause conflicts. 
Hopefully the switch to the new DMA driver is coming very soon, and this 
patch (or equivalent) will be part of that.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-29 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29  9:00 [PATCH] ARM: tegra_defconfig: enable APB DMA support Uwe Kleine-König
2012-08-29  9:19 ` Laxman Dewangan
2012-08-29  9:49   ` Uwe Kleine-König
2012-08-29 17:34     ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).