Skip to content

Commit 64f4466

Browse files
Seiya-Pegasusbebarino
authored andcommitted
clk: mediatek: correct cpu clock name for MT8173 SoC
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>
1 parent bfeffd1 commit 64f4466

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/clk/mediatek/clk-mt8173.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ static const char * const ca53_parents[] __initconst = {
533533
"univpll"
534534
};
535535

536-
static const char * const ca57_parents[] __initconst = {
536+
static const char * const ca72_parents[] __initconst = {
537537
"clk26m",
538538
"armca15pll",
539539
"mainpll",
@@ -542,7 +542,7 @@ static const char * const ca57_parents[] __initconst = {
542542

543543
static const struct mtk_composite cpu_muxes[] __initconst = {
544544
MUX(CLK_INFRA_CA53SEL, "infra_ca53_sel", ca53_parents, 0x0000, 0, 2),
545-
MUX(CLK_INFRA_CA57SEL, "infra_ca57_sel", ca57_parents, 0x0000, 2, 2),
545+
MUX(CLK_INFRA_CA72SEL, "infra_ca72_sel", ca72_parents, 0x0000, 2, 2),
546546
};
547547

548548
static const struct mtk_composite top_muxes[] __initconst = {

include/dt-bindings/clock/mt8173-clk.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
#define CLK_INFRA_PMICWRAP 11
195195
#define CLK_INFRA_CLK_13M 12
196196
#define CLK_INFRA_CA53SEL 13
197-
#define CLK_INFRA_CA57SEL 14
197+
#define CLK_INFRA_CA57SEL 14 /* Deprecated. Don't use it. */
198+
#define CLK_INFRA_CA72SEL 14
198199
#define CLK_INFRA_NR_CLK 15
199200

200201
/* PERI_SYS */

0 commit comments

Comments
 (0)