clk: samsung: exynos5410: Expose the peripheral DMA gate clocks
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 22 Aug 2016 09:14:49 +0000 (11:14 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 9 Sep 2016 15:35:09 +0000 (17:35 +0200)
These clocks are needed in order to use the PL330 peripheral
DMA controllers.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5410.c

index 5488a4460c159ff8b3636bf417846d5d1ee0c33c..eefed92a59aa44972b6d6f40ecfb0f92fc3aa9b0 100644 (file)
@@ -176,6 +176,8 @@ static const struct samsung_gate_clock exynos5410_gate_clks[] __initconst = {
        GATE(CLK_MMC0, "sdmmc0", "aclk200", GATE_BUS_FSYS0, 12, 0, 0),
        GATE(CLK_MMC1, "sdmmc1", "aclk200", GATE_BUS_FSYS0, 13, 0, 0),
        GATE(CLK_MMC2, "sdmmc2", "aclk200", GATE_BUS_FSYS0, 14, 0, 0),
+       GATE(CLK_PDMA1, "pdma1", "aclk200", GATE_BUS_FSYS0, 2, 0, 0),
+       GATE(CLK_PDMA0, "pdma0", "aclk200", GATE_BUS_FSYS0, 1, 0, 0),
 
        GATE(CLK_SCLK_USBPHY301, "sclk_usbphy301", "dout_usbphy301",
             GATE_TOP_SCLK_FSYS, 7, CLK_SET_RATE_PARENT, 0),