[PATCH] ARM: tegra_defconfig: enable APB DMA support

Subsystems: arm port, the rest

STALE5087d

4 messages, 3 authors, 2012-08-29 · open the first message on its own page

[PATCH] ARM: tegra_defconfig: enable APB DMA support

From: Uwe Kleine-König <hidden>
Date: 2012-08-29 09:00:00

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

Signed-off-by: Uwe Kleine-K?nig <redacted>
---
 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

[PATCH] ARM: tegra_defconfig: enable APB DMA support

From: ldewangan@nvidia.com (Laxman Dewangan)
Date: 2012-08-29 09:19:36

On Wednesday 29 August 2012 02:30 PM, Uwe Kleine-K?nig wrote:
quoted hunk
Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
on that.

Signed-off-by: Uwe Kleine-K?nig<redacted>
---
  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

[PATCH] ARM: tegra_defconfig: enable APB DMA support

From: Uwe Kleine-König <hidden>
Date: 2012-08-29 09:49:57

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:
quoted
Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
on that.

Signed-off-by: Uwe Kleine-K?nig<redacted>
---
 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/  |

[PATCH] ARM: tegra_defconfig: enable APB DMA support

From: Stephen Warren <hidden>
Date: 2012-08-29 17:34:00

On 08/29/12 02:49, Uwe Kleine-K?nig wrote:
On Wed, Aug 29, 2012 at 02:49:36PM +0530, Laxman Dewangan wrote:
quoted
On Wednesday 29 August 2012 02:30 PM, Uwe Kleine-K?nig wrote:
quoted
Additionally DMADEVICES needs to be enabled as TEGRA20_APB_DMA depends
on that.

Signed-off-by: Uwe Kleine-K?nig<redacted>
---
  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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help