diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-04-17 05:33:56 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-09-19 17:39:05 -0400 |
commit | 9d8907c4e8c97127c562055ac7e1a8ea39ea589c (patch) | |
tree | 43b9215e9c98636449b43e9903cb7f695c064aa8 /arch/arm/mach-shmobile/clock-r8a7790.c | |
parent | acf47ee741c4a5eb8a17438e8858f1cffa1e073a (diff) |
ARM: shmobile: r8a7790: Add DU and LVDS clocks
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-r8a7790.c')
-rw-r--r-- | arch/arm/mach-shmobile/clock-r8a7790.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index fc36d3db0b4d..d99b87bc76ea 100644 --- a/arch/arm/mach-shmobile/clock-r8a7790.c +++ b/arch/arm/mach-shmobile/clock-r8a7790.c | |||
@@ -182,7 +182,7 @@ static struct clk div6_clks[DIV6_NR] = { | |||
182 | /* MSTP */ | 182 | /* MSTP */ |
183 | enum { | 183 | enum { |
184 | MSTP813, | 184 | MSTP813, |
185 | MSTP721, MSTP720, | 185 | MSTP726, MSTP725, MSTP724, MSTP723, MSTP722, MSTP721, MSTP720, |
186 | MSTP717, MSTP716, | 186 | MSTP717, MSTP716, |
187 | MSTP522, | 187 | MSTP522, |
188 | MSTP315, MSTP314, MSTP313, MSTP312, MSTP311, MSTP305, MSTP304, | 188 | MSTP315, MSTP314, MSTP313, MSTP312, MSTP311, MSTP305, MSTP304, |
@@ -193,6 +193,11 @@ enum { | |||
193 | 193 | ||
194 | static struct clk mstp_clks[MSTP_NR] = { | 194 | static struct clk mstp_clks[MSTP_NR] = { |
195 | [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */ | 195 | [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */ |
196 | [MSTP726] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 26, 0), /* LVDS0 */ | ||
197 | [MSTP725] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 25, 0), /* LVDS1 */ | ||
198 | [MSTP724] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 24, 0), /* DU0 */ | ||
199 | [MSTP723] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 23, 0), /* DU1 */ | ||
200 | [MSTP722] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 22, 0), /* DU2 */ | ||
196 | [MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */ | 201 | [MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */ |
197 | [MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */ | 202 | [MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */ |
198 | [MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */ | 203 | [MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */ |
@@ -251,6 +256,11 @@ static struct clk_lookup lookups[] = { | |||
251 | CLKDEV_CON_ID("ssprs", &div6_clks[DIV6_SSPRS]), | 256 | CLKDEV_CON_ID("ssprs", &div6_clks[DIV6_SSPRS]), |
252 | 257 | ||
253 | /* MSTP */ | 258 | /* MSTP */ |
259 | CLKDEV_ICK_ID("lvds.0", "rcar-du-r8a7790", &mstp_clks[MSTP726]), | ||
260 | CLKDEV_ICK_ID("lvds.1", "rcar-du-r8a7790", &mstp_clks[MSTP725]), | ||
261 | CLKDEV_ICK_ID("du.0", "rcar-du-r8a7790", &mstp_clks[MSTP724]), | ||
262 | CLKDEV_ICK_ID("du.1", "rcar-du-r8a7790", &mstp_clks[MSTP723]), | ||
263 | CLKDEV_ICK_ID("du.2", "rcar-du-r8a7790", &mstp_clks[MSTP722]), | ||
254 | CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]), | 264 | CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]), |
255 | CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]), | 265 | CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]), |
256 | CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP206]), | 266 | CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP206]), |