DMA: PL330: Merge PL330 driver into drivers/dma/
Subsystems (3)
PATCH v2 1/2 DMA: PL330: Merge PL330 driver into drivers/dma/
Currently there were two part of DMAC PL330 driver for support old styled s3c-pl330 which has been merged into drivers/dma/pl330.c driver. Actually, there is no reason to separate them now.
Basically this patch merges arch/arm/common/pl330.c into drivers/dma/pl330.c driver and removes useless exported symbol, externed function and so on.
The newer pl330 driver tested on SMDKV310 and SMDK4212 boards
Change since V1:
Modify the order of definitions/declarations according to linux coding rules.
--- arch/arm/common/Kconfig | 3 - arch/arm/common/Makefile | 1 - arch/arm/common/pl330.c | 1971 --------------------------------- arch/arm/include/asm/hardware/pl330.h | 333 +++--- drivers/dma/Kconfig | 1 - drivers/dma/pl330.c | 1892 +++++++++++++++++++++++++++++++ 6 files changed, 2074 insertions(+), 2127 deletions(-) delete mode 100644 arch/arm/common/pl330.c
arch/arm/common/Kconfig +0 -3
@@ -18,9 +18,6 @@ config ARM_VIC_NR config ICST bool -config PL330 - bool - config SA1111 bool select DMABOUNCE if !ARCH_PXA
arch/arm/common/Makefile +0 -1
@@ -5,7 +5,6 @@ obj-$(CONFIG_ARM_GIC) += gic.o obj-$(CONFIG_ARM_VIC) += vic.o obj-$(CONFIG_ICST) += icst.o -obj-$(CONFIG_PL330) += pl330.o obj-$(CONFIG_SA1111) += sa1111.o obj-$(CONFIG_PCI_HOST_VIA82C505) += via82c505.o obj-$(CONFIG_DMABOUNCE) += dmabounce.o
arch/arm/common/pl330.c deleted +0 -1971
1,971 lines not on this page · raw message
arch/arm/include/asm/hardware/pl330.h +182 -151
350 lines not on this page · raw message
drivers/dma/Kconfig +0 -1
@@ -194,7 +194,6 @@ config PL330_DMA tristate "DMA API Driver for PL330" select DMA_ENGINE depends on ARM_AMBA - select PL330 help Select if your platform has one or more PL330 DMACs. You need to provide platform specific settings via
drivers/dma/pl330.c +1892 -0
656 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.1
Part of the diff is not shown here. View the raw message.
PATCH v2 1/2 DMA: PL330: Merge PL330 driver into drivers/dma/
Quoted 20 lines · Boojin Kim
Currently there were two part of DMAC PL330 driver for support old styled s3c-pl330 which has been merged into
drivers/dma/pl330.cdriver. Actually, there is no reason to separate them now.Basically this patch merges
arch/arm/common/pl330.cintodrivers/dma/pl330.cdriver and removes useless exported symbol, externed function and so on.The newer pl330 driver tested on SMDKV310 and SMDK4212 boards
Cc Jassi Brar <[email protected]>Cc Russell King <[email protected]>Cc Vinod Koul <[email protected]>Acked-by Linus Walleij <[email protected]>Signed-off-by Boojin Kim <[email protected]>Signed-off-by Kukjin Kim <[email protected]>Change since V1:
Modify the order of definitions/declarations according to linux coding rules.
Quoted 9 lines
--- arch/arm/common/Kconfig | 3 - arch/arm/common/Makefile | 1 - arch/arm/common/pl330.c | 1971 --------------------------------- arch/arm/include/asm/hardware/pl330.h | 333 +++--- drivers/dma/Kconfig | 1 - drivers/dma/pl330.c | 1892 +++++++++++++++++++++++++++++++ 6 files changed, 2074 insertions(+), 2127 deletions(-) delete mode 100644 arch/arm/common/pl330.c
Now that the PL330 code is entirely out of arch/arm, the header should no longer be in asm/hardware/pl330.h.
Definitions private to the driver should be in drivers/dma/pl330.c or a header file co-located. Other definitions for interfaces to that driver (eg, platform data) should be in include/linux/amba.
That can be the subject of a follow-up patch if this is already finalized.
PATCH v2 1/2 DMA: PL330: Merge PL330 driver into drivers/dma/
Quoted 20 lines · Russell King - ARM Linux
Quoted 18 lines · Boojin Kim
Currently there were two part of DMAC PL330 driver for support old styled s3c-pl330 which has been merged into
drivers/dma/pl330.cdriver. Actually, there is no reason to separate them now.Basically this patch merges
arch/arm/common/pl330.cintodrivers/dma/pl330.cdriver and removes useless exported symbol, externed function and so on.The newer pl330 driver tested on SMDKV310 and SMDK4212 boards
Cc Jassi Brar <[email protected]>Cc Russell King <[email protected]>Cc Vinod Koul <[email protected]>Acked-by Linus Walleij <[email protected]>Signed-off-by Boojin Kim <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
Quoted 7 lines
Quoted 2 lines
Change since V1:
Modify the order of definitions/declarations according to linux codingrules.
Quoted 4 lines
--- arch/arm/common/Kconfig | 3 - arch/arm/common/Makefile | 1 - arch/arm/common/pl330.c | 1971
------------------------------
Quoted 4 lines
---
Quoted 3 lines
arch/arm/include/asm/hardware/pl330.h | 333 +++--- drivers/dma/Kconfig | 1 - drivers/dma/pl330.c | 1892
+++++++++++++++++++++++++++++++
Quoted 6 lines
Quoted 2 lines
6 files changed, 2074 insertions(+), 2127 deletions(-) delete mode 100644 arch/arm/common/pl330.cNow that the PL330 code is entirely out of
arch/arm, the header should no longer be inasm/hardware/pl330.h.
Yes, right.
Quoted 4 lines
Definitions private to the driver should be in
drivers/dma/pl330.cor a header file co-located. Other definitions for interfaces to that driver (eg, platform data) should be ininclude/linux/amba.
OK.
Quoted 1 line
That can be the subject of a follow-up patch if this is already finalized.
Yes, this has been already sent to arm-soc for this merge window. So we need another one for address comments from you.
Boojin, could you please do that?
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH v2 1/2 DMA: PL330: Merge PL330 driver into drivers/dma/
In reply to Russell King - ARM LinuxQuoted 10 lines · Russell King - ARM Linux
Now that the PL330 code is entirely out of
arch/arm, the header should no longer be inasm/hardware/pl330.h.Definitions private to the driver should be in
drivers/dma/pl330.cor a header file co-located. Other definitions for interfaces to that driver (eg, platform data) should be ininclude/linux/amba.That can be the subject of a follow-up patch if this is already finalized.
Sorry to late response. I believed my reply was sent. But, It maybe be not.
Anyway.. get to the point.
Pl08x also has asm/hardware/pl080.h to include hw specific information.
It seems to be same purpose with asm/hardware/pl330.h
Do you mean both asm/hardware/pl080.h and asm/hardware/pl330.h should be moved to include/linux/amba?
Quoted 4 lines
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v2 1/2 DMA: PL330: Merge PL330 driver into drivers/dma/
Quoted 9 lines · Boojin Kim
Quoted 8 lines · Russell King - ARM Linux
Now that the PL330 code is entirely out of
arch/arm, the header should no longer be inasm/hardware/pl330.h.Definitions private to the driver should be in
drivers/dma/pl330.cor a header file co-located. Other definitions for interfaces to that driver (eg, platform data) should be ininclude/linux/amba.
Quoted 5 lines
Quoted 2 lines
That can be the subject of a follow-up patch if this is already finalized.
Sorry to late response. I believed my reply was sent. But, It maybe be not. Anyway.. get to the point.
Pl08x also hasasm/hardware/pl080.hto include hw specific information.
History basically.
Quoted 3 lines
It seems to be same purpose with
asm/hardware/pl330.h
Do you mean bothasm/hardware/pl080.handasm/hardware/pl330.hshould be moved toinclude/linux/amba?
No. asm/hardware/pl330.h Should go into drivers/dma if nothing but the PL330 DMA driver in there needs it.
Same for pl080.h but as your patches isn't touching that, then that's not something that should be done separately.