diff mbox

[v6,1/2] ARM: shmobile: r8a73a4: add a clock alias for the DMAC in DT mode

Message ID 1380216603-14645-2-git-send-email-g.liakhovetski@gmx.de (mailing list archive)
State Superseded
Commit 8ceea7bd9757cb90f63f16b07a6d2a022e9c45d8
Headers show

Commit Message

Guennadi Liakhovetski Sept. 26, 2013, 5:30 p.m. UTC
Devices, initialised from the Device Tree and from platform code usually
have different names. This patch adds a clock alias for DMAC on r8a73a4
in DT mode.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---
 arch/arm/mach-shmobile/clock-r8a73a4.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Simon Horman Sept. 27, 2013, 5:13 a.m. UTC | #1
On Thu, Sep 26, 2013 at 07:30:02PM +0200, Guennadi Liakhovetski wrote:
> Devices, initialised from the Device Tree and from platform code usually
> have different names. This patch adds a clock alias for DMAC on r8a73a4
> in DT mode.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>

Thanks, queued up for v3.13.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/clock-r8a73a4.c b/arch/arm/mach-shmobile/clock-r8a73a4.c
index 357b9bc..74841ed 100644
--- a/arch/arm/mach-shmobile/clock-r8a73a4.c
+++ b/arch/arm/mach-shmobile/clock-r8a73a4.c
@@ -580,6 +580,7 @@  static struct clk_lookup lookups[] = {
 	CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP216]),
 	CLKDEV_DEV_ID("sh-sci.5", &mstp_clks[MSTP217]),
 	CLKDEV_DEV_ID("sh-dma-engine.0", &mstp_clks[MSTP218]),
+	CLKDEV_DEV_ID("e6700020.dma-controller", &mstp_clks[MSTP218]),
 	CLKDEV_DEV_ID("rcar_thermal", &mstp_clks[MSTP522]),
 	CLKDEV_DEV_ID("e6520000.i2c", &mstp_clks[MSTP300]),
 	CLKDEV_DEV_ID("sh_mmcif.1", &mstp_clks[MSTP305]),