update Mediatek MT2712 clock
Subsystems (3)
cover update Mediatek MT2712 clock
This series is based on v4.20-rc1.
Basically, this series is for the 3rd ECO design change of MT2712.
cover update Mediatek MT2712 clock
This series is based on v4.20-rc1.
Basically, this series is for the 3rd ECO design change of MT2712.
Weiyi Lu (2):
dt-bindings: clock: add clock for MT2712
clk: mediatek: update clock driver of MT2712
drivers/clk/mediatek/clk-mt2712.c | 8 ++++++-- include/dt-bindings/clock/mt2712-clk.h | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
2.18.0
PATCH RESEND 1/2 dt-bindings: clock: add clock for MT2712
In reply to Weiyi LuAdd new clock according to 3rd ECO design change.
It's the parent clock of audio clock mux.
--- include/dt-bindings/clock/mt2712-clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/dt-bindings/clock/mt2712-clk.h +2 -1
@@ -228,7 +228,8 @@#define CLK_TOP_NFI2X_EN 189#define CLK_TOP_NFIECC_EN 190#define CLK_TOP_NFI1X_CK_EN 191 -#define CLK_TOP_NR_CLK 192 +#define CLK_TOP_APLL2_D3 192 +#define CLK_TOP_NR_CLK 193/* INFRACFG */
Signature · 1 line
2.18.0
Re: [resend PATCH v1 1/2] dt-bindings: clock: add clock for MT2712
Quoted 8 lines · Weiyi Lu
Add new clock according to 3rd ECO design change.
It's the parent clock of audio clock mux.Signed-off-by Weiyi Lu <[email protected]>--- include/dt-bindings/clock/mt2712-clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Re: [resend PATCH v1 1/2] dt-bindings: clock: add clock for MT2712
In reply to Weiyi LuQuoting Weiyi Lu (2018-12-13 18:04:16)
Quoted 5 lines
Add new clock according to 3rd ECO design change.
It's the parent clock of audio clock mux.Signed-off-by Weiyi Lu <[email protected]>---
Applied to clk-next
PATCH RESEND 2/2 clk: mediatek: update clock driver of MT2712
In reply to Weiyi LuAccording to 3rd ECO design change,
1. Add new fixed factor clock of audio.
2. Add the parent clocks for audio clock mux.
--- drivers/clk/mediatek/clk-mt2712.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/clk/mediatek/clk-mt2712.c +6 -2
@@ -223,6 +223,8 @@ static const struct mtk_fixed_factor top_divs[] = { 4),FACTOR (CLK_TOP_APLL1_D3 ,"apll1_d3" ,"apll1_ck" ,1 ,3 ), +FACTOR (CLK_TOP_APLL2_D3 ,"apll2_d3" ,"apll2_ck" ,1 , + 3), }; static const char * const axi_parents[] = {
@@ -594,7 +596,8 @@ static const char * const a1sys_hp_parents[] = {"apll1_ck" ,"apll1_d2" ,"apll1_d4" , -"apll1_d8" +"apll1_d8" , +"apll1_d3" }; static const char * const a2sys_hp_parents[] = {
@@ -602,7 +605,8 @@ static const char * const a2sys_hp_parents[] = {"apll2_ck" ,"apll2_d2" ,"apll2_d4" , -"apll2_d8" +"apll2_d8" , +"apll2_d3" }; static const char * const asm_l_parents[] = {
Signature · 1 line
2.18.0
Re: [resend PATCH v1 2/2] clk: mediatek: update clock driver of MT2712
Quoting Weiyi Lu (2018-12-13 18:04:17)
Quoted 6 lines
According to 3rd ECO design change,
1. Add new fixed factor clock of audio.
2. Add the parent clocks for audio clock mux.Signed-off-by Weiyi Lu <[email protected]>---
Applied to clk-next