diff mbox

[RFC,v2,09/12] clk: samsung: s3c64xx: Add aliases for DMA clocks

Message ID 1371933764-24875-10-git-send-email-tomasz.figa@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomasz Figa June 22, 2013, 8:42 p.m. UTC
The new amba-pl08x driver requires another set of clock aliases, so this
patch adds them.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
---
 drivers/clk/samsung/clk-s3c64xx.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij June 24, 2013, 10:38 p.m. UTC | #1
On Sat, Jun 22, 2013 at 10:42 PM, Tomasz Figa <tomasz.figa@gmail.com> wrote:

> The new amba-pl08x driver requires another set of clock aliases, so this
> patch adds them.
>
> Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
>  drivers/clk/samsung/clk-s3c64xx.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c
> index 253a972..9fb750c 100644
> --- a/drivers/clk/samsung/clk-s3c64xx.c
> +++ b/drivers/clk/samsung/clk-s3c64xx.c

This driver is not in my kernel mainline tree or linux-next,
is it pending in some review?

Yours,
Linus Walleij
Tomasz Figa June 25, 2013, 5:30 a.m. UTC | #2
On Tuesday 25 of June 2013 00:38:17 Linus Walleij wrote:
> On Sat, Jun 22, 2013 at 10:42 PM, Tomasz Figa <tomasz.figa@gmail.com> 
wrote:
> > The new amba-pl08x driver requires another set of clock aliases, so
> > this patch adds them.
> > 
> > Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
> > ---
> > 
> >  drivers/clk/samsung/clk-s3c64xx.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/drivers/clk/samsung/clk-s3c64xx.c
> > b/drivers/clk/samsung/clk-s3c64xx.c index 253a972..9fb750c 100644
> > --- a/drivers/clk/samsung/clk-s3c64xx.c
> > +++ b/drivers/clk/samsung/clk-s3c64xx.c
> 
> This driver is not in my kernel mainline tree or linux-next,
> is it pending in some review?

Kind of. Actually it has been already reviewed and acked, but it is 
waiting on one dependency. I'm not sure anymore if I can get it merged for 
3.11. Probably not.

Still, this patch is just a proof of concept, showing what needs to be 
done to make all this work.

Best regards,
Tomasz
diff mbox

Patch

diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c
index 253a972..9fb750c 100644
--- a/drivers/clk/samsung/clk-s3c64xx.c
+++ b/drivers/clk/samsung/clk-s3c64xx.c
@@ -315,6 +315,8 @@  static struct samsung_clock_alias s3c64xx_clock_aliases[] = {
 	ALIAS(HCLK_HSMMC0, "s3c-sdhci.0", "mmc_busclk.0"),
 	ALIAS(HCLK_DMA1, NULL, "dma1"),
 	ALIAS(HCLK_DMA0, NULL, "dma0"),
+	ALIAS(HCLK_DMA1, "dma-pl080s.1", "apb_pclk"),
+	ALIAS(HCLK_DMA0, "dma-pl080s.0", "apb_pclk"),
 	ALIAS(HCLK_CAMIF, "s3c-camif", "camif"),
 	ALIAS(HCLK_LCD, "s3c-fb", "lcd"),
 	ALIAS(PCLK_SPI1, "s3c6410-spi.1", "spi"),