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>
This commit is contained in:
parent
acf47ee741
commit
9d8907c4e8
1 changed files with 11 additions and 1 deletions
|
@ -182,7 +182,7 @@ static struct clk div6_clks[DIV6_NR] = {
|
||||||
/* MSTP */
|
/* MSTP */
|
||||||
enum {
|
enum {
|
||||||
MSTP813,
|
MSTP813,
|
||||||
MSTP721, MSTP720,
|
MSTP726, MSTP725, MSTP724, MSTP723, MSTP722, MSTP721, MSTP720,
|
||||||
MSTP717, MSTP716,
|
MSTP717, MSTP716,
|
||||||
MSTP522,
|
MSTP522,
|
||||||
MSTP315, MSTP314, MSTP313, MSTP312, MSTP311, MSTP305, MSTP304,
|
MSTP315, MSTP314, MSTP313, MSTP312, MSTP311, MSTP305, MSTP304,
|
||||||
|
@ -193,6 +193,11 @@ enum {
|
||||||
|
|
||||||
static struct clk mstp_clks[MSTP_NR] = {
|
static struct clk mstp_clks[MSTP_NR] = {
|
||||||
[MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */
|
[MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */
|
||||||
|
[MSTP726] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 26, 0), /* LVDS0 */
|
||||||
|
[MSTP725] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 25, 0), /* LVDS1 */
|
||||||
|
[MSTP724] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 24, 0), /* DU0 */
|
||||||
|
[MSTP723] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 23, 0), /* DU1 */
|
||||||
|
[MSTP722] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 22, 0), /* DU2 */
|
||||||
[MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */
|
[MSTP721] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 21, 0), /* SCIF0 */
|
||||||
[MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */
|
[MSTP720] = SH_CLK_MSTP32(&p_clk, SMSTPCR7, 20, 0), /* SCIF1 */
|
||||||
[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
|
[MSTP717] = SH_CLK_MSTP32(&zs_clk, SMSTPCR7, 17, 0), /* HSCIF0 */
|
||||||
|
@ -251,6 +256,11 @@ static struct clk_lookup lookups[] = {
|
||||||
CLKDEV_CON_ID("ssprs", &div6_clks[DIV6_SSPRS]),
|
CLKDEV_CON_ID("ssprs", &div6_clks[DIV6_SSPRS]),
|
||||||
|
|
||||||
/* MSTP */
|
/* MSTP */
|
||||||
|
CLKDEV_ICK_ID("lvds.0", "rcar-du-r8a7790", &mstp_clks[MSTP726]),
|
||||||
|
CLKDEV_ICK_ID("lvds.1", "rcar-du-r8a7790", &mstp_clks[MSTP725]),
|
||||||
|
CLKDEV_ICK_ID("du.0", "rcar-du-r8a7790", &mstp_clks[MSTP724]),
|
||||||
|
CLKDEV_ICK_ID("du.1", "rcar-du-r8a7790", &mstp_clks[MSTP723]),
|
||||||
|
CLKDEV_ICK_ID("du.2", "rcar-du-r8a7790", &mstp_clks[MSTP722]),
|
||||||
CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]),
|
CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]),
|
||||||
CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]),
|
CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]),
|
||||||
CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP206]),
|
CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP206]),
|
||||||
|
|
Loading…
Add table
Reference in a new issue