7 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
Konrad Dybcio
5078c423d8 treewide: Add missing measure_gcc to prevent segfaults
oopsie! thanks @travmurav

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
2024-02-15 21:58:48 +01: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
Marijn Suijten
d7dcae1718 Add SM8150 support 2023-01-18 01:55:12 +01: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
Robert Foss
33f035076a Add SM8350 platform
Add SM8350 measure clocks from downstream kernel.
2021-10-15 06:54:21 -07:00