Re: [v14 07/21] clk: mediatek: Add configurable enable control to mtk_pll_data

From
Stephen Boyd <sboyd@kernel.org>
Date
2021-07-27 17:55:05
Also in
linux-arm-kernel, linux-clk, linux-mediatek, lkml
Reply to
Chun-Jie Chen, 2021-07-26
Quoting Chun-Jie Chen (2021-07-26 03:57:05)
In all MediaTek PLL design, bit0 of CON0 register is always
the enable bit.
However, there's a special case of usbpll on MT8192.
The enable bit of usbpll is moved to bit2 of other register.
Add configurable en_reg and pll_en_bit for enable control or
default 0 where pll data are static variables.
Hence, CON0_BASE_EN could also be removed.
And there might have another special case on other chips,
the enable bit is still on CON0 register but not at bit0.

Reviewed-by: Ikjoon Jang <redacted>
Signed-off-by: Weiyi Lu <redacted>
Signed-off-by: Chun-Jie Chen <redacted>
---
Applied to clk-next
Thread (62 messages) 62 messages, 5 authors, last reply 2021-08-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help