From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Thu, 09 Jan 2014 08:07:50 +0000 Subject: Re: [PATCH 1/2] ARM: shmobile: r8a7790: add Audio DMAC clock Message-Id: <20140109080745.GA9267@verge.net.au> List-Id: References: <1368173119-27345-2-git-send-email-horms+renesas@verge.net.au> In-Reply-To: <1368173119-27345-2-git-send-email-horms+renesas@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Tue, Jan 07, 2014 at 10:08:40PM -0800, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Audio DMAC can be controlled via sh-dma-engine > > Signed-off-by: Kuninori Morimoto Thanks, I will queue this up. > --- > arch/arm/mach-shmobile/clock-r8a7790.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c > index a028f96..58f3dcf 100644 > --- a/arch/arm/mach-shmobile/clock-r8a7790.c > +++ b/arch/arm/mach-shmobile/clock-r8a7790.c > @@ -201,6 +201,7 @@ enum { > MSTP717, MSTP716, > MSTP704, > MSTP522, > + MSTP502, MSTP501, > MSTP315, MSTP314, MSTP313, MSTP312, MSTP311, MSTP305, MSTP304, > MSTP216, MSTP207, MSTP206, MSTP204, MSTP203, MSTP202, > MSTP124, > @@ -236,6 +237,8 @@ static struct clk mstp_clks[MSTP_NR] = { > [MSTP716] = SH_CLK_MSTP32_STS(&zs_clk, SMSTPCR7, 16, MSTPSR7, 0), /* HSCIF1 */ > [MSTP704] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR7, 4, MSTPSR7, 0), /* HSUSB */ > [MSTP522] = SH_CLK_MSTP32_STS(&extal_clk, SMSTPCR5, 22, MSTPSR5, 0), /* Thermal */ > + [MSTP502] = SH_CLK_MSTP32_STS(&zs_clk, SMSTPCR5, 2, MSTPSR5, 0), /* Audio-DMAC low */ > + [MSTP501] = SH_CLK_MSTP32_STS(&zs_clk, SMSTPCR5, 1, MSTPSR5, 0), /* Audio-DMAC hi */ > [MSTP315] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_MMC0], SMSTPCR3, 15, MSTPSR3, 0), /* MMC0 */ > [MSTP314] = SH_CLK_MSTP32_STS(&div4_clks[DIV4_SD0], SMSTPCR3, 14, MSTPSR3, 0), /* SDHI0 */ > [MSTP313] = SH_CLK_MSTP32_STS(&div4_clks[DIV4_SD1], SMSTPCR3, 13, MSTPSR3, 0), /* SDHI1 */ > @@ -311,6 +314,8 @@ static struct clk_lookup lookups[] = { > CLKDEV_DEV_ID("r8a7790-ether", &mstp_clks[MSTP813]), > CLKDEV_DEV_ID("e61f0000.thermal", &mstp_clks[MSTP522]), > CLKDEV_DEV_ID("rcar_thermal", &mstp_clks[MSTP522]), > + CLKDEV_DEV_ID("sh-dma-engine.0", &mstp_clks[MSTP502]), > + CLKDEV_DEV_ID("sh-dma-engine.1", &mstp_clks[MSTP501]), > CLKDEV_DEV_ID("ee200000.mmc", &mstp_clks[MSTP315]), > CLKDEV_DEV_ID("sh_mmcif.0", &mstp_clks[MSTP315]), > CLKDEV_DEV_ID("ee100000.sd", &mstp_clks[MSTP314]), > -- > 1.7.9.5 >