|
@@ -195,8 +195,8 @@ PNAME(mux_hsadcout_p) = { "hsadc_src", "ext_hsadc" };
|
|
PNAME(mux_edp_24m_p) = { "ext_edp_24m", "xin24m" };
|
|
PNAME(mux_edp_24m_p) = { "ext_edp_24m", "xin24m" };
|
|
PNAME(mux_tspout_p) = { "cpll", "gpll", "npll", "xin27m" };
|
|
PNAME(mux_tspout_p) = { "cpll", "gpll", "npll", "xin27m" };
|
|
|
|
|
|
-PNAME(mux_usbphy480m_p) = { "sclk_otgphy1", "sclk_otgphy2",
|
|
|
|
- "sclk_otgphy0" };
|
|
|
|
|
|
+PNAME(mux_usbphy480m_p) = { "sclk_otgphy1_480m", "sclk_otgphy2_480m",
|
|
|
|
+ "sclk_otgphy0_480m" };
|
|
PNAME(mux_hsicphy480m_p) = { "cpll", "gpll", "usbphy480m_src" };
|
|
PNAME(mux_hsicphy480m_p) = { "cpll", "gpll", "usbphy480m_src" };
|
|
PNAME(mux_hsicphy12m_p) = { "hsicphy12m_xin12m", "hsicphy12m_usbphy" };
|
|
PNAME(mux_hsicphy12m_p) = { "hsicphy12m_xin12m", "hsicphy12m_usbphy" };
|
|
|
|
|
|
@@ -537,11 +537,11 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
|
|
RK3288_CLKSEL_CON(35), 6, 2, MFLAGS, 0, 5, DFLAGS,
|
|
RK3288_CLKSEL_CON(35), 6, 2, MFLAGS, 0, 5, DFLAGS,
|
|
RK3288_CLKGATE_CON(4), 10, GFLAGS),
|
|
RK3288_CLKGATE_CON(4), 10, GFLAGS),
|
|
|
|
|
|
- GATE(SCLK_OTGPHY0, "sclk_otgphy0", "usb480m", CLK_IGNORE_UNUSED,
|
|
|
|
|
|
+ GATE(SCLK_OTGPHY0, "sclk_otgphy0", "xin24m", CLK_IGNORE_UNUSED,
|
|
RK3288_CLKGATE_CON(13), 4, GFLAGS),
|
|
RK3288_CLKGATE_CON(13), 4, GFLAGS),
|
|
- GATE(SCLK_OTGPHY1, "sclk_otgphy1", "usb480m", CLK_IGNORE_UNUSED,
|
|
|
|
|
|
+ GATE(SCLK_OTGPHY1, "sclk_otgphy1", "xin24m", CLK_IGNORE_UNUSED,
|
|
RK3288_CLKGATE_CON(13), 5, GFLAGS),
|
|
RK3288_CLKGATE_CON(13), 5, GFLAGS),
|
|
- GATE(SCLK_OTGPHY2, "sclk_otgphy2", "usb480m", CLK_IGNORE_UNUSED,
|
|
|
|
|
|
+ GATE(SCLK_OTGPHY2, "sclk_otgphy2", "xin24m", CLK_IGNORE_UNUSED,
|
|
RK3288_CLKGATE_CON(13), 6, GFLAGS),
|
|
RK3288_CLKGATE_CON(13), 6, GFLAGS),
|
|
GATE(SCLK_OTG_ADP, "sclk_otg_adp", "xin32k", CLK_IGNORE_UNUSED,
|
|
GATE(SCLK_OTG_ADP, "sclk_otg_adp", "xin32k", CLK_IGNORE_UNUSED,
|
|
RK3288_CLKGATE_CON(13), 7, GFLAGS),
|
|
RK3288_CLKGATE_CON(13), 7, GFLAGS),
|
|
@@ -894,12 +894,6 @@ static void __init rk3288_clk_init(struct device_node *np)
|
|
pr_warn("%s: could not register clock xin12m: %ld\n",
|
|
pr_warn("%s: could not register clock xin12m: %ld\n",
|
|
__func__, PTR_ERR(clk));
|
|
__func__, PTR_ERR(clk));
|
|
|
|
|
|
-
|
|
|
|
- clk = clk_register_fixed_factor(NULL, "usb480m", "xin24m", 0, 20, 1);
|
|
|
|
- if (IS_ERR(clk))
|
|
|
|
- pr_warn("%s: could not register clock usb480m: %ld\n",
|
|
|
|
- __func__, PTR_ERR(clk));
|
|
|
|
-
|
|
|
|
clk = clk_register_fixed_factor(NULL, "hclk_vcodec_pre",
|
|
clk = clk_register_fixed_factor(NULL, "hclk_vcodec_pre",
|
|
"hclk_vcodec_pre_v", 0, 1, 4);
|
|
"hclk_vcodec_pre_v", 0, 1, 4);
|
|
if (IS_ERR(clk))
|
|
if (IS_ERR(clk))
|