diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-11-09 01:56:29 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2022-12-02 00:26:38 +0100 |
commit | e5dc1a4c01510da8438dddfdf4200b79d73990dc (patch) | |
tree | 4e7847083c8aed9afc3506beeea26fbbfb59982e /Documentation/networking/ieee802154.rst | |
parent | clk: qcom: krait-cc: also enable secondary mux and div clk (diff) | |
download | linux-e5dc1a4c01510da8438dddfdf4200b79d73990dc.tar.xz linux-e5dc1a4c01510da8438dddfdf4200b79d73990dc.zip |
clk: qcom: krait-cc: handle secondary mux sourcing out of acpu_aux
Some bootloader may leave the system in an even more undefined state
with the secondary mux of L2 or other cores sourcing out of the acpu_aux
parent. This results in the clk set to the PXO rate or a PLL8 rate.
The current logic to reset the mux and set them to a defined state only
handle if the mux are configured to source out of QSB. Change this and
force a new and defined state if the current clk is lower than the aux
rate. This way we can handle any wrong configuration where the mux is
sourcing out of QSB (rate 225MHz, currently set to a virtual rate of 1),
PXO rate (rate 25MHz) or PLL8 (needs to be configured to run at 384Mhz).
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221109005631.3189-3-ansuelsmth@gmail.com
Diffstat (limited to 'Documentation/networking/ieee802154.rst')
0 files changed, 0 insertions, 0 deletions