]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: mediatek: correct cpu clock name for MT8173 SoC
authorSeiya Wang <seiya.wang@mediatek.com>
Mon, 25 Feb 2019 06:51:12 +0000 (14:51 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 26 Feb 2019 18:17:40 +0000 (10:17 -0800)
Correct cpu clock name from ca57 to ca72 since MT8173 does use cortex-a72.

Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8173.c
include/dt-bindings/clock/mt8173-clk.h

index 96c292c3e440a3ca9ebf15039447209f58a01c61..deedeb3ea33b5bee5e8491031e67302b014df017 100644 (file)
@@ -533,7 +533,7 @@ static const char * const ca53_parents[] __initconst = {
        "univpll"
 };
 
-static const char * const ca57_parents[] __initconst = {
+static const char * const ca72_parents[] __initconst = {
        "clk26m",
        "armca15pll",
        "mainpll",
@@ -542,7 +542,7 @@ static const char * const ca57_parents[] __initconst = {
 
 static const struct mtk_composite cpu_muxes[] __initconst = {
        MUX(CLK_INFRA_CA53SEL, "infra_ca53_sel", ca53_parents, 0x0000, 0, 2),
-       MUX(CLK_INFRA_CA57SEL, "infra_ca57_sel", ca57_parents, 0x0000, 2, 2),
+       MUX(CLK_INFRA_CA72SEL, "infra_ca72_sel", ca72_parents, 0x0000, 2, 2),
 };
 
 static const struct mtk_composite top_muxes[] __initconst = {
index 8aea623dd518e0e3571adf89f5866e4c520f4c42..76e4e5b65353df6682cd88a07fd2e87403c41c99 100644 (file)
 #define CLK_INFRA_PMICWRAP             11
 #define CLK_INFRA_CLK_13M              12
 #define CLK_INFRA_CA53SEL               13
-#define CLK_INFRA_CA57SEL               14
+#define CLK_INFRA_CA57SEL               14 /* Deprecated. Don't use it. */
+#define CLK_INFRA_CA72SEL               14
 #define CLK_INFRA_NR_CLK                15
 
 /* PERI_SYS */