* [GIT PULL] Samsung devel-dma for v3.3
@ 2012-01-02 0:45 ` Kukjin Kim
0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2012-01-02 0:45 UTC (permalink / raw)
To: 'Arnd Bergmann', 'Olof Johansson'
Cc: linux-arm-kernel, linux-samsung-soc, 'Koul, Vinod',
boojin.kim
Hi Arnd and Olof,
Please pull Samsung devel-dma for v3.3 from following:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next-samsung-devel-dma
Its major feature is including merge of pl330 driver into drivers/dma/ and
got the ack from Vinod Koul and Linus Walleij and some dma development for
Samsung stuff.
As a note, since having dependency with Vinod's slave-dma/next (dma tree)
and next-samsung-dt1 branch which has been sent to you for arm-soc/next/dt,
that has been provided based on slave-dma/next tree and next-samsung-dt1.
If any problems, please let me know.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
The following changes since commit 6ff1a8bd0b37cf0f44a13d37b1f754abec84e61c:
Merge branch 'next-samsung-devel-dt1' into for-vkoul-samsung-dma
(2011-12-26 18:49:31 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
next-samsung-devel-dma
Boojin Kim (5):
DMA: PL330: Merge PL330 driver into drivers/dma/
DMA: PL330: Removes useless function
DMA: PL330: Support MEMTOMEM transmit w/o RMB, WMB
ARM: EXYNOS: Enable MDMA driver
ARM: EXYNOS: Support DMA for EXYNOS4X12 SoCs
Tushar Behera (1):
ARM: EXYNOS: Add apb_pclk clkdev entry for mdma1
arch/arm/common/Kconfig | 3 -
arch/arm/common/Makefile | 1 -
arch/arm/common/pl330.c | 1971
------------------------
arch/arm/include/asm/hardware/pl330.h | 338 +++--
arch/arm/mach-exynos/clock.c | 9 +
arch/arm/mach-exynos/dma.c | 130 ++-
arch/arm/mach-exynos/include/mach/irqs.h | 2 +
arch/arm/mach-exynos/include/mach/map.h | 3 +-
arch/arm/plat-samsung/include/plat/dma-pl330.h | 16 +
drivers/dma/Kconfig | 1 -
drivers/dma/pl330.c | 1861
++++++++++++++++++++++
11 files changed, 2199 insertions(+), 2136 deletions(-)
delete mode 100644 arch/arm/common/pl330.c
^ permalink raw reply [flat|nested] 6+ messages in thread* [GIT PULL] Samsung devel-dma for v3.3 @ 2012-01-02 0:45 ` Kukjin Kim 0 siblings, 0 replies; 6+ messages in thread From: Kukjin Kim @ 2012-01-02 0:45 UTC (permalink / raw) To: linux-arm-kernel Hi Arnd and Olof, Please pull Samsung devel-dma for v3.3 from following: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next-samsung-devel-dma Its major feature is including merge of pl330 driver into drivers/dma/ and got the ack from Vinod Koul and Linus Walleij and some dma development for Samsung stuff. As a note, since having dependency with Vinod's slave-dma/next (dma tree) and next-samsung-dt1 branch which has been sent to you for arm-soc/next/dt, that has been provided based on slave-dma/next tree and next-samsung-dt1. If any problems, please let me know. Thanks. Best regards, Kgene. -- Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. The following changes since commit 6ff1a8bd0b37cf0f44a13d37b1f754abec84e61c: Merge branch 'next-samsung-devel-dt1' into for-vkoul-samsung-dma (2011-12-26 18:49:31 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git next-samsung-devel-dma Boojin Kim (5): DMA: PL330: Merge PL330 driver into drivers/dma/ DMA: PL330: Removes useless function DMA: PL330: Support MEMTOMEM transmit w/o RMB, WMB ARM: EXYNOS: Enable MDMA driver ARM: EXYNOS: Support DMA for EXYNOS4X12 SoCs Tushar Behera (1): ARM: EXYNOS: Add apb_pclk clkdev entry for mdma1 arch/arm/common/Kconfig | 3 - arch/arm/common/Makefile | 1 - arch/arm/common/pl330.c | 1971 ------------------------ arch/arm/include/asm/hardware/pl330.h | 338 +++-- arch/arm/mach-exynos/clock.c | 9 + arch/arm/mach-exynos/dma.c | 130 ++- arch/arm/mach-exynos/include/mach/irqs.h | 2 + arch/arm/mach-exynos/include/mach/map.h | 3 +- arch/arm/plat-samsung/include/plat/dma-pl330.h | 16 + drivers/dma/Kconfig | 1 - drivers/dma/pl330.c | 1861 ++++++++++++++++++++++ 11 files changed, 2199 insertions(+), 2136 deletions(-) delete mode 100644 arch/arm/common/pl330.c ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Samsung devel-dma for v3.3 2012-01-02 0:45 ` Kukjin Kim @ 2012-01-03 21:11 ` Arnd Bergmann -1 siblings, 0 replies; 6+ messages in thread From: Arnd Bergmann @ 2012-01-03 21:11 UTC (permalink / raw) To: Kukjin Kim Cc: 'Olof Johansson', linux-arm-kernel, linux-samsung-soc, 'Koul, Vinod', boojin.kim, Sascha Hauer, shawn.guo@linaro.org On Monday 02 January 2012, Kukjin Kim wrote: > Hi Arnd and Olof, > > Please pull Samsung devel-dma for v3.3 from following: > git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git > next-samsung-devel-dma > > Its major feature is including merge of pl330 driver into drivers/dma/ and > got the ack from Vinod Koul and Linus Walleij and some dma development for > Samsung stuff. > > As a note, since having dependency with Vinod's slave-dma/next (dma tree) > and next-samsung-dt1 branch which has been sent to you for arm-soc/next/dt, > that has been provided based on slave-dma/next tree and next-samsung-dt1. > > If any problems, please let me know. Pulled into a new next/drivers2 branch so I can send the other drivers early but delay this until the dma-slave branch is merged, if necessary. There were some conflicts between imx changes that went into the dma-slave tree and those that went into arm-soc. Sascha, Shawn: can you have a look to make sure the resolution below is correct? Thanks, Arnd diff --cc arch/arm/mach-exynos/clock.c index da50b1a,5185a25..62e260e --- a/arch/arm/mach-exynos/clock.c +++ b/arch/arm/mach-exynos/clock.c @@@ -1322,15 -1308,9 +1330,16 @@@ static struct clk_lookup exynos4_clk_lo CLKDEV_INIT("exynos4210-uart.1", "clk_uart_baud0", &clk_sclk_uart1.clk), CLKDEV_INIT("exynos4210-uart.2", "clk_uart_baud0", &clk_sclk_uart2.clk), CLKDEV_INIT("exynos4210-uart.3", "clk_uart_baud0", &clk_sclk_uart3.clk), + CLKDEV_INIT("s3c-sdhci.0", "mmc_busclk.2", &clk_sclk_mmc0.clk), + CLKDEV_INIT("s3c-sdhci.1", "mmc_busclk.2", &clk_sclk_mmc1.clk), + CLKDEV_INIT("s3c-sdhci.2", "mmc_busclk.2", &clk_sclk_mmc2.clk), + CLKDEV_INIT("s3c-sdhci.3", "mmc_busclk.2", &clk_sclk_mmc3.clk), CLKDEV_INIT("dma-pl330.0", "apb_pclk", &clk_pdma0), CLKDEV_INIT("dma-pl330.1", "apb_pclk", &clk_pdma1), + CLKDEV_INIT("dma-pl330.2", "apb_pclk", &clk_mdma1), + CLKDEV_INIT("s3c64xx-spi.0", "spi_busclk0", &clk_sclk_spi0.clk), + CLKDEV_INIT("s3c64xx-spi.1", "spi_busclk0", &clk_sclk_spi1.clk), + CLKDEV_INIT("s3c64xx-spi.2", "spi_busclk0", &clk_sclk_spi2.clk), }; static int xtal_rate; diff --cc drivers/dma/mxs-dma.c index fc903c0,493af2f..b06cd4c --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@@ -578,9 -554,9 +554,9 @@@ static int __init mxs_dma_init(struct m { int ret; - ret = clk_enable(mxs_dma->clk); + ret = clk_prepare_enable(mxs_dma->clk); if (ret) - goto err_out; + return ret; ret = mxs_reset_block(mxs_dma->base); if (ret) @@@ -604,11 -580,8 +580,8 @@@ writel(MXS_DMA_CHANNELS_MASK << MXS_DMA_CHANNELS, mxs_dma->base + HW_APBHX_CTRL1 + MXS_SET_ADDR); - clk_disable_unprepare(mxs_dma->clk); - - return 0; - err_out: - clk_disable(mxs_dma->clk); ++ clk_disable_unprepare(mxs_dma->clk); return ret; } --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -124,7 +124,7 @@ config MV_XOR config MX3_IPU bool "MX3x Image Processing Unit support" - depends on SOC_IMX31 ||<C2><A0>SOC_IMX35 + depends on ARCH_MXC select DMA_ENGINE default y help @@ -194,33 +201,32 @@ config PL330_DMA config IMX_SDMA tristate "i.MX SDMA support" - depends on ARCH_MX25 || SOC_IMX31 ||<C2><A0>SOC_IMX35 || ARCH_MX5 + depends on ARCH_MXC select DMA_ENGINE help Support the i.MX SDMA engine. This engine is integrated into - Freescale i.MX25/31/35/51 chips. + Freescale i.MX25/31/35/51/53 chips. config IMX_DMA tristate "i.MX DMA support" ^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL] Samsung devel-dma for v3.3 @ 2012-01-03 21:11 ` Arnd Bergmann 0 siblings, 0 replies; 6+ messages in thread From: Arnd Bergmann @ 2012-01-03 21:11 UTC (permalink / raw) To: linux-arm-kernel On Monday 02 January 2012, Kukjin Kim wrote: > Hi Arnd and Olof, > > Please pull Samsung devel-dma for v3.3 from following: > git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git > next-samsung-devel-dma > > Its major feature is including merge of pl330 driver into drivers/dma/ and > got the ack from Vinod Koul and Linus Walleij and some dma development for > Samsung stuff. > > As a note, since having dependency with Vinod's slave-dma/next (dma tree) > and next-samsung-dt1 branch which has been sent to you for arm-soc/next/dt, > that has been provided based on slave-dma/next tree and next-samsung-dt1. > > If any problems, please let me know. Pulled into a new next/drivers2 branch so I can send the other drivers early but delay this until the dma-slave branch is merged, if necessary. There were some conflicts between imx changes that went into the dma-slave tree and those that went into arm-soc. Sascha, Shawn: can you have a look to make sure the resolution below is correct? Thanks, Arnd diff --cc arch/arm/mach-exynos/clock.c index da50b1a,5185a25..62e260e --- a/arch/arm/mach-exynos/clock.c +++ b/arch/arm/mach-exynos/clock.c @@@ -1322,15 -1308,9 +1330,16 @@@ static struct clk_lookup exynos4_clk_lo CLKDEV_INIT("exynos4210-uart.1", "clk_uart_baud0", &clk_sclk_uart1.clk), CLKDEV_INIT("exynos4210-uart.2", "clk_uart_baud0", &clk_sclk_uart2.clk), CLKDEV_INIT("exynos4210-uart.3", "clk_uart_baud0", &clk_sclk_uart3.clk), + CLKDEV_INIT("s3c-sdhci.0", "mmc_busclk.2", &clk_sclk_mmc0.clk), + CLKDEV_INIT("s3c-sdhci.1", "mmc_busclk.2", &clk_sclk_mmc1.clk), + CLKDEV_INIT("s3c-sdhci.2", "mmc_busclk.2", &clk_sclk_mmc2.clk), + CLKDEV_INIT("s3c-sdhci.3", "mmc_busclk.2", &clk_sclk_mmc3.clk), CLKDEV_INIT("dma-pl330.0", "apb_pclk", &clk_pdma0), CLKDEV_INIT("dma-pl330.1", "apb_pclk", &clk_pdma1), + CLKDEV_INIT("dma-pl330.2", "apb_pclk", &clk_mdma1), + CLKDEV_INIT("s3c64xx-spi.0", "spi_busclk0", &clk_sclk_spi0.clk), + CLKDEV_INIT("s3c64xx-spi.1", "spi_busclk0", &clk_sclk_spi1.clk), + CLKDEV_INIT("s3c64xx-spi.2", "spi_busclk0", &clk_sclk_spi2.clk), }; static int xtal_rate; diff --cc drivers/dma/mxs-dma.c index fc903c0,493af2f..b06cd4c --- a/drivers/dma/mxs-dma.c +++ b/drivers/dma/mxs-dma.c @@@ -578,9 -554,9 +554,9 @@@ static int __init mxs_dma_init(struct m { int ret; - ret = clk_enable(mxs_dma->clk); + ret = clk_prepare_enable(mxs_dma->clk); if (ret) - goto err_out; + return ret; ret = mxs_reset_block(mxs_dma->base); if (ret) @@@ -604,11 -580,8 +580,8 @@@ writel(MXS_DMA_CHANNELS_MASK << MXS_DMA_CHANNELS, mxs_dma->base + HW_APBHX_CTRL1 + MXS_SET_ADDR); - clk_disable_unprepare(mxs_dma->clk); - - return 0; - err_out: - clk_disable(mxs_dma->clk); ++ clk_disable_unprepare(mxs_dma->clk); return ret; } --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -124,7 +124,7 @@ config MV_XOR config MX3_IPU bool "MX3x Image Processing Unit support" - depends on SOC_IMX31 ||<C2><A0>SOC_IMX35 + depends on ARCH_MXC select DMA_ENGINE default y help @@ -194,33 +201,32 @@ config PL330_DMA config IMX_SDMA tristate "i.MX SDMA support" - depends on ARCH_MX25 || SOC_IMX31 ||<C2><A0>SOC_IMX35 || ARCH_MX5 + depends on ARCH_MXC select DMA_ENGINE help Support the i.MX SDMA engine. This engine is integrated into - Freescale i.MX25/31/35/51 chips. + Freescale i.MX25/31/35/51/53 chips. config IMX_DMA tristate "i.MX DMA support" ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Samsung devel-dma for v3.3 2012-01-03 21:11 ` Arnd Bergmann @ 2012-01-05 8:18 ` Shawn Guo -1 siblings, 0 replies; 6+ messages in thread From: Shawn Guo @ 2012-01-05 8:18 UTC (permalink / raw) To: Arnd Bergmann Cc: Kukjin Kim, linux-samsung-soc, boojin.kim, 'Koul, Vinod', Sascha Hauer, 'Olof Johansson', shawn.guo@linaro.org, linux-arm-kernel On Tue, Jan 03, 2012 at 09:11:59PM +0000, Arnd Bergmann wrote: > There were some conflicts between imx changes that went into the dma-slave > tree and those that went into arm-soc. Sascha, Shawn: can you have a look > to make sure the resolution below is correct? The resolution looks correct to me. -- Regards, Shawn ^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL] Samsung devel-dma for v3.3 @ 2012-01-05 8:18 ` Shawn Guo 0 siblings, 0 replies; 6+ messages in thread From: Shawn Guo @ 2012-01-05 8:18 UTC (permalink / raw) To: linux-arm-kernel On Tue, Jan 03, 2012 at 09:11:59PM +0000, Arnd Bergmann wrote: > There were some conflicts between imx changes that went into the dma-slave > tree and those that went into arm-soc. Sascha, Shawn: can you have a look > to make sure the resolution below is correct? The resolution looks correct to me. -- Regards, Shawn ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-05 8:18 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-01-02 0:45 [GIT PULL] Samsung devel-dma for v3.3 Kukjin Kim 2012-01-02 0:45 ` Kukjin Kim 2012-01-03 21:11 ` Arnd Bergmann 2012-01-03 21:11 ` Arnd Bergmann 2012-01-05 8:18 ` Shawn Guo 2012-01-05 8:18 ` Shawn Guo
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.