All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: arnd@arndb.de, linus.walleij@linaro.org,
	Lee Jones <lee.jones@linaro.org>
Subject: [PATCH 24/40] ARM: ux500: Deactivate enablement of DMA40 during ATAG booting
Date: Fri, 23 Aug 2013 13:23:24 +0100	[thread overview]
Message-ID: <1377260620-18829-25-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1377260620-18829-1-git-send-email-lee.jones@linaro.org>

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/mach-ux500/board-mop500.h   |  1 -
 arch/arm/mach-ux500/cpu-db8500.c     |  2 --
 arch/arm/mach-ux500/devices-db8500.c | 36 ------------------------------------
 arch/arm/mach-ux500/devices.h        |  2 --
 4 files changed, 41 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 06eb894..3b35a73 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -92,7 +92,6 @@ extern struct amba_pl011_data uart0_plat;
 extern struct amba_pl011_data uart1_plat;
 extern struct amba_pl011_data uart2_plat;
 extern struct pl022_ssp_controller ssp0_plat;
-extern struct stedma40_platform_data dma40_plat_data;
 
 void __init mop500_u8500uib_init(void);
 void __init mop500_stuib_init(void);
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 69cee39..1289a67 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -33,7 +33,6 @@
 #include "irqs.h"
 
 #include "devices-db8500.h"
-#include "ste-dma40-db8500.h"
 #include "db8500-regs.h"
 #include "board-mop500.h"
 #include "id.h"
@@ -135,7 +134,6 @@ static struct platform_device db8500_pmu_device = {
 };
 
 static struct platform_device *platform_devs[] __initdata = {
-	&u8500_dma40_device,
 	&db8500_pmu_device,
 };
 
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index d30205b..1b2faba 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -11,7 +11,6 @@
 #include <linux/io.h>
 #include <linux/amba/bus.h>
 #include <linux/amba/pl022.h>
-#include <linux/platform_data/dma-ste-dma40.h>
 #include <linux/mfd/dbx500-prcmu.h>
 
 #include "setup.h"
@@ -19,41 +18,6 @@
 
 #include "db8500-regs.h"
 #include "devices-db8500.h"
-#include "ste-dma40-db8500.h"
-
-static struct resource dma40_resources[] = {
-	[0] = {
-		.start = U8500_DMA_BASE,
-		.end   = U8500_DMA_BASE + SZ_4K - 1,
-		.flags = IORESOURCE_MEM,
-		.name  = "base",
-	},
-	[1] = {
-		.start = U8500_DMA_LCPA_BASE,
-		.end   = U8500_DMA_LCPA_BASE + 2 * SZ_1K - 1,
-		.flags = IORESOURCE_MEM,
-		.name  = "lcpa",
-	},
-	[2] = {
-		.start = IRQ_DB8500_DMA,
-		.end   = IRQ_DB8500_DMA,
-		.flags = IORESOURCE_IRQ,
-	}
-};
-
-struct stedma40_platform_data dma40_plat_data = {
-	.disabled_channels = {-1},
-};
-
-struct platform_device u8500_dma40_device = {
-	.dev = {
-		.platform_data = &dma40_plat_data,
-	},
-	.name = "dma40",
-	.id = 0,
-	.num_resources = ARRAY_SIZE(dma40_resources),
-	.resource = dma40_resources
-};
 
 struct prcmu_pdata db8500_prcmu_pdata = {
 	.ab_platdata	= &ab8500_platdata,
diff --git a/arch/arm/mach-ux500/devices.h b/arch/arm/mach-ux500/devices.h
index da23c05..5bca7c6 100644
--- a/arch/arm/mach-ux500/devices.h
+++ b/arch/arm/mach-ux500/devices.h
@@ -12,6 +12,4 @@ struct amba_device;
 
 extern struct amba_device ux500_pl031_device;
 
-extern struct platform_device u8500_dma40_device;
-
 #endif
-- 
1.8.1.2


WARNING: multiple messages have this Message-ID (diff)
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 24/40] ARM: ux500: Deactivate enablement of DMA40 during ATAG booting
Date: Fri, 23 Aug 2013 13:23:24 +0100	[thread overview]
Message-ID: <1377260620-18829-25-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1377260620-18829-1-git-send-email-lee.jones@linaro.org>

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/mach-ux500/board-mop500.h   |  1 -
 arch/arm/mach-ux500/cpu-db8500.c     |  2 --
 arch/arm/mach-ux500/devices-db8500.c | 36 ------------------------------------
 arch/arm/mach-ux500/devices.h        |  2 --
 4 files changed, 41 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 06eb894..3b35a73 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -92,7 +92,6 @@ extern struct amba_pl011_data uart0_plat;
 extern struct amba_pl011_data uart1_plat;
 extern struct amba_pl011_data uart2_plat;
 extern struct pl022_ssp_controller ssp0_plat;
-extern struct stedma40_platform_data dma40_plat_data;
 
 void __init mop500_u8500uib_init(void);
 void __init mop500_stuib_init(void);
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 69cee39..1289a67 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -33,7 +33,6 @@
 #include "irqs.h"
 
 #include "devices-db8500.h"
-#include "ste-dma40-db8500.h"
 #include "db8500-regs.h"
 #include "board-mop500.h"
 #include "id.h"
@@ -135,7 +134,6 @@ static struct platform_device db8500_pmu_device = {
 };
 
 static struct platform_device *platform_devs[] __initdata = {
-	&u8500_dma40_device,
 	&db8500_pmu_device,
 };
 
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index d30205b..1b2faba 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -11,7 +11,6 @@
 #include <linux/io.h>
 #include <linux/amba/bus.h>
 #include <linux/amba/pl022.h>
-#include <linux/platform_data/dma-ste-dma40.h>
 #include <linux/mfd/dbx500-prcmu.h>
 
 #include "setup.h"
@@ -19,41 +18,6 @@
 
 #include "db8500-regs.h"
 #include "devices-db8500.h"
-#include "ste-dma40-db8500.h"
-
-static struct resource dma40_resources[] = {
-	[0] = {
-		.start = U8500_DMA_BASE,
-		.end   = U8500_DMA_BASE + SZ_4K - 1,
-		.flags = IORESOURCE_MEM,
-		.name  = "base",
-	},
-	[1] = {
-		.start = U8500_DMA_LCPA_BASE,
-		.end   = U8500_DMA_LCPA_BASE + 2 * SZ_1K - 1,
-		.flags = IORESOURCE_MEM,
-		.name  = "lcpa",
-	},
-	[2] = {
-		.start = IRQ_DB8500_DMA,
-		.end   = IRQ_DB8500_DMA,
-		.flags = IORESOURCE_IRQ,
-	}
-};
-
-struct stedma40_platform_data dma40_plat_data = {
-	.disabled_channels = {-1},
-};
-
-struct platform_device u8500_dma40_device = {
-	.dev = {
-		.platform_data = &dma40_plat_data,
-	},
-	.name = "dma40",
-	.id = 0,
-	.num_resources = ARRAY_SIZE(dma40_resources),
-	.resource = dma40_resources
-};
 
 struct prcmu_pdata db8500_prcmu_pdata = {
 	.ab_platdata	= &ab8500_platdata,
diff --git a/arch/arm/mach-ux500/devices.h b/arch/arm/mach-ux500/devices.h
index da23c05..5bca7c6 100644
--- a/arch/arm/mach-ux500/devices.h
+++ b/arch/arm/mach-ux500/devices.h
@@ -12,6 +12,4 @@ struct amba_device;
 
 extern struct amba_device ux500_pl031_device;
 
-extern struct platform_device u8500_dma40_device;
-
 #endif
-- 
1.8.1.2

  parent reply	other threads:[~2013-08-23 12:28 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 12:23 [PATCH 0/40] ARM: ux500: Convert to Device Tree only platform Lee Jones
2013-08-23 12:23 ` Lee Jones
2013-08-23 12:23 ` [PATCH 01/40] ARM: ux500: Remove Audio/MSP support when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 02/40] ARM: ux500: Remove TPS61052 High Power White LED Driver ATAG support Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 03/40] ARM: ux500: Remove ATAG support for LP5521 Programmable Three-Channel LED driver Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 04/40] ARM: ux500: Remove ATAG booting support for Snowball's heatbeat LED Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 05/40] ARM: ux500: Purge support for Snowball user buttons when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 06/40] ARM: ux500: Disable Snowball's SMSC911x Ethernet " Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 07/40] ARM: ux500: Remove support for Snowball's Ethernet regulator " Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 08/40] ARM: ux500: Disable Snowball's CPUFreq functionality when booting with ATAGs enabled Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 09/40] ARM: ux500: Purge SDI regulator support when booting with ATAGs enable Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 10/40] ARM: ux500: Deactivate Crypt support when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 11/40] ARM: ux500: Rip out Hash " Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 12/40] ARM: ux500: Prevent CODEC platform data from being passed when booting ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 13/40] ARM: ux500: Stop passing GPIO pdata when booitng with ATAGs enabled Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 14/40] ARM: ux500: Remove TC35892 Flexible IO Expander when booting ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 15/40] ARM: ux500: Remove Light sensor Rohm BH1780GLI when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 16/40] ARM: ux500: Purge SFH7741 Proximity Sensor support " Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 17/40] ARM: ux500: Remove I2C support when booting with ATAG support Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 18/40] ARM: ux500: Purge SDI support for ATAG booting Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 19/40] ARM: ux500: Rip out keypad initialisation which is no longer used Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 20/40] ARM: ux500: Remove USB support when booting using ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 21/40] ARM: ux500: Purge support for registering the RTC when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 22/40] ARM: ux500: Stop registering Pinctrl when booting with ATAG support Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 23/40] ARM: ux500: Stop enabling GPIOs when not booting with Device Tree Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` Lee Jones [this message]
2013-08-23 12:23   ` [PATCH 24/40] ARM: ux500: Deactivate enablement of DMA40 during ATAG booting Lee Jones
2013-08-23 12:23 ` [PATCH 25/40] ARM: ux500: Do not register the PMU device if booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 26/40] ARM: ux500: Rip out SSP/SPI registration when not booting with Device Tree Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 27/40] ARM: ux500: Stop initialising the pinmaps when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 28/40] ARM: ux500: Remove UART support when booting without Device Tree Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 29/40] ARM: ux500: Stop requesting the SoC device to play 'parent' role Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 30/40] ARM: ux500: Purge DB8500 PRCMU registration when not booting with DT Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 31/40] ARM: ux500: Don't register Synaptics RMI4 TS when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 32/40] ARM: ux500: Delete U8500 UIB support " Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:53   ` Linus Walleij
2013-08-23 12:53     ` Linus Walleij
2013-08-23 13:03     ` Linus Walleij
2013-08-23 13:03       ` Linus Walleij
2013-08-27  7:52       ` Lee Jones
2013-08-27  7:52         ` Lee Jones
2013-08-23 12:23 ` [PATCH 33/40] ARM: ux500: Don't register the STMPE/SKE when booting with ATAG support Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:55   ` Linus Walleij
2013-08-23 12:55     ` Linus Walleij
2013-08-23 13:05     ` Linus Walleij
2013-08-23 13:05       ` Linus Walleij
2013-08-23 14:50       ` Lee Jones
2013-08-23 14:50         ` Lee Jones
2013-08-23 12:23 ` [PATCH 34/40] ARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 35/40] ARM: ux500: Take out STUIB support when not booting with Device Tree Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 36/40] ARM: ux500: Purge UIB framework when booting with ATAGs Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 37/40] ARM: ux500: Remove ATAG booting support for MOP500 Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 38/40] ARM: ux500: Remove ATAG booting support for U8520 Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 39/40] ARM: ux500: Remove ATAG booting support for HREF Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 12:23 ` [PATCH 40/40] ARM: ux500: Remove ATAG booting support for Snowball Lee Jones
2013-08-23 12:23   ` Lee Jones
2013-08-23 13:26 ` [PATCH 0/40] ARM: ux500: Convert to Device Tree only platform Linus Walleij
2013-08-23 13:26   ` Linus Walleij
2013-08-23 14:46   ` Lee Jones
2013-08-23 14:46     ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377260620-18829-25-git-send-email-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=arnd@arndb.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.