6 Commits

Author SHA1 Message Date
Luca Weiss
64ce6ca673 Switch to SPDX License headers
Remove a lot of boilerplate and make the files consistent.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-07-04 16:40:16 +02:00
Dmitry Baryshkov
cf5664f7c4 debugcc: Rework clock muxes into a chain structure
Enforcing a primary+leaf configuration does not walk for all the cases.
Some clocks (msm8996 CPU) have more muxes to be powered on. Other (MCCC)
do not require GCC at all. Make clock measurement more versatile by
reworking GCC + optional leaf into a chain of muxes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-11-06 14:24:13 +02:00
Dmitry Baryshkov
6de6d216d7 debugcc: add block names to all platforms
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-01-05 10:54:17 -06:00
Dmitry Baryshkov
de23d9a42e debugcc: move post_div_val into struct debug_mux
It looks like post_div_val is a property of debug_mux rather than the
clock itself. It is equal for all the clocks being set. So, set it on a
mux-by-mux bases.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-30 19:47:41 -06:00
Bjorn Andersson
b1eb5ed6d9 sdm845: Fix dispcc registers
The dispcc mux registers are wrong, fix them.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-03-01 20:38:47 -08:00
Bjorn Andersson
c60e374ae4 Add SDM845 platform
Add SDM845 measure clocks from downstream kernel.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-02-21 22:12:13 -08:00