diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2016-04-20 07:06:49 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-04-25 16:49:13 -0400 |
commit | 3f92a05440f92f2734c9b754af39afa3244dfb5b (patch) | |
tree | a5f3c228649dcfceba6de74cc25d673714ba77fa /drivers/clk/rockchip | |
parent | de87985e42c48063a81a583883e3e4c8e945e3a8 (diff) |
clk: rockchip: assign more necessary rk3399 clock ids
Assign newly added clock ids.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r-- | drivers/clk/rockchip/clk-rk3399.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 40b738460d47..35cb2d73c1ca 100644 --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c | |||
@@ -554,7 +554,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = { | |||
554 | RK3399_CLKSEL_CON(20), 14, 2, MFLAGS, 8, 5, DFLAGS, | 554 | RK3399_CLKSEL_CON(20), 14, 2, MFLAGS, 8, 5, DFLAGS, |
555 | RK3399_CLKGATE_CON(5), 5, GFLAGS), | 555 | RK3399_CLKGATE_CON(5), 5, GFLAGS), |
556 | 556 | ||
557 | MUX(0, "clk_rmii_src", mux_rmii_p, CLK_SET_RATE_PARENT, | 557 | MUX(SCLK_RMII_SRC, "clk_rmii_src", mux_rmii_p, CLK_SET_RATE_PARENT, |
558 | RK3399_CLKSEL_CON(19), 4, 1, MFLAGS), | 558 | RK3399_CLKSEL_CON(19), 4, 1, MFLAGS), |
559 | GATE(SCLK_MACREF_OUT, "clk_mac_refout", "clk_rmii_src", CLK_IGNORE_UNUSED, | 559 | GATE(SCLK_MACREF_OUT, "clk_mac_refout", "clk_rmii_src", CLK_IGNORE_UNUSED, |
560 | RK3399_CLKGATE_CON(5), 6, GFLAGS), | 560 | RK3399_CLKGATE_CON(5), 6, GFLAGS), |
@@ -780,7 +780,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = { | |||
780 | RK3399_CLKGATE_CON(16), 1, GFLAGS), | 780 | RK3399_CLKGATE_CON(16), 1, GFLAGS), |
781 | 781 | ||
782 | /* rga */ | 782 | /* rga */ |
783 | COMPOSITE(0, "clk_rga_core", mux_pll_src_cpll_gpll_npll_ppll_p, CLK_IGNORE_UNUSED, | 783 | COMPOSITE(SCLK_RGA_CORE, "clk_rga_core", mux_pll_src_cpll_gpll_npll_ppll_p, CLK_IGNORE_UNUSED, |
784 | RK3399_CLKSEL_CON(12), 6, 2, MFLAGS, 0, 5, DFLAGS, | 784 | RK3399_CLKSEL_CON(12), 6, 2, MFLAGS, 0, 5, DFLAGS, |
785 | RK3399_CLKGATE_CON(4), 10, GFLAGS), | 785 | RK3399_CLKGATE_CON(4), 10, GFLAGS), |
786 | 786 | ||
@@ -896,7 +896,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = { | |||
896 | RK3399_CLKSEL_CON(17), 8, 3, MFLAGS, 0, 7, DFLAGS, | 896 | RK3399_CLKSEL_CON(17), 8, 3, MFLAGS, 0, 7, DFLAGS, |
897 | RK3399_CLKGATE_CON(6), 2, GFLAGS), | 897 | RK3399_CLKGATE_CON(6), 2, GFLAGS), |
898 | 898 | ||
899 | COMPOSITE_NOMUX(0, "clk_pciephy_ref100m", "npll", CLK_IGNORE_UNUSED, | 899 | COMPOSITE_NOMUX(SCLK_PCIEPHY_REF100M, "clk_pciephy_ref100m", "npll", CLK_IGNORE_UNUSED, |
900 | RK3399_CLKSEL_CON(18), 11, 5, DFLAGS, | 900 | RK3399_CLKSEL_CON(18), 11, 5, DFLAGS, |
901 | RK3399_CLKGATE_CON(12), 6, GFLAGS), | 901 | RK3399_CLKGATE_CON(12), 6, GFLAGS), |
902 | MUX(SCLK_PCIEPHY_REF, "clk_pciephy_ref", mux_pll_src_24m_pciephy_p, CLK_SET_RATE_PARENT, | 902 | MUX(SCLK_PCIEPHY_REF, "clk_pciephy_ref", mux_pll_src_24m_pciephy_p, CLK_SET_RATE_PARENT, |
@@ -1191,10 +1191,10 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = { | |||
1191 | RK3399_CLKGATE_CON(10), 15, GFLAGS), | 1191 | RK3399_CLKGATE_CON(10), 15, GFLAGS), |
1192 | 1192 | ||
1193 | /* isp */ | 1193 | /* isp */ |
1194 | COMPOSITE(0, "aclk_isp0", mux_pll_src_cpll_gpll_ppll_p, CLK_IGNORE_UNUSED, | 1194 | COMPOSITE(ACLK_ISP0, "aclk_isp0", mux_pll_src_cpll_gpll_ppll_p, CLK_IGNORE_UNUSED, |
1195 | RK3399_CLKSEL_CON(53), 6, 2, MFLAGS, 0, 5, DFLAGS, | 1195 | RK3399_CLKSEL_CON(53), 6, 2, MFLAGS, 0, 5, DFLAGS, |
1196 | RK3399_CLKGATE_CON(12), 8, GFLAGS), | 1196 | RK3399_CLKGATE_CON(12), 8, GFLAGS), |
1197 | COMPOSITE_NOMUX(0, "hclk_isp0", "aclk_isp0", 0, | 1197 | COMPOSITE_NOMUX(HCLK_ISP0, "hclk_isp0", "aclk_isp0", 0, |
1198 | RK3399_CLKSEL_CON(53), 8, 5, DFLAGS, | 1198 | RK3399_CLKSEL_CON(53), 8, 5, DFLAGS, |
1199 | RK3399_CLKGATE_CON(12), 9, GFLAGS), | 1199 | RK3399_CLKGATE_CON(12), 9, GFLAGS), |
1200 | 1200 | ||
@@ -1217,7 +1217,7 @@ static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = { | |||
1217 | COMPOSITE(ACLK_ISP1, "aclk_isp1", mux_pll_src_cpll_gpll_ppll_p, CLK_IGNORE_UNUSED, | 1217 | COMPOSITE(ACLK_ISP1, "aclk_isp1", mux_pll_src_cpll_gpll_ppll_p, CLK_IGNORE_UNUSED, |
1218 | RK3399_CLKSEL_CON(54), 6, 2, MFLAGS, 0, 5, DFLAGS, | 1218 | RK3399_CLKSEL_CON(54), 6, 2, MFLAGS, 0, 5, DFLAGS, |
1219 | RK3399_CLKGATE_CON(12), 10, GFLAGS), | 1219 | RK3399_CLKGATE_CON(12), 10, GFLAGS), |
1220 | COMPOSITE_NOMUX(0, "hclk_isp1", "aclk_isp1", 0, | 1220 | COMPOSITE_NOMUX(HCLK_ISP1, "hclk_isp1", "aclk_isp1", 0, |
1221 | RK3399_CLKSEL_CON(54), 8, 5, DFLAGS, | 1221 | RK3399_CLKSEL_CON(54), 8, 5, DFLAGS, |
1222 | RK3399_CLKGATE_CON(12), 11, GFLAGS), | 1222 | RK3399_CLKGATE_CON(12), 11, GFLAGS), |
1223 | 1223 | ||