4 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
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
66ddc6a775 Add QCS404 platform
Add QCS404 measure clocks from the downstream kernel.

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