diff options
| author | 2026-09-20 18:25:05 +0800 | |
|---|---|---|
| committer | 2026-10-02 11:24:25 +0200 | |
| commit | abb63af22300c59e0e8dca322c21ed186ba7e51f (patch) | |
| tree | 4c4e6abbec0385c7ac34419b0b706ac61811b447 /scripts/Makefile.thinlto | |
| parent | dt-bindings: soc: amlogic: Add clk-measure compatible to support more SoCs (diff) | |
soc: amlogic: clk-measure: Support more measurement channels
On S4 and C3, as well as later SoCs, the clk-measure IP expands the
number of supported measurement channels from 128 to 256. Accordingly,
the MSR_CLK_SRC field in the register is extended from 7 bits to 8 bits.
To support both the old and new implementations, the driver now
uniformly defines the valid MSR_CLK_SRC field as bits[27:20].
For SoCs where MSR_CLK_SRC is only 7 bits wide, the driver never sets
bit27, and on those SoCs bit27 is read-only. Therefore, using
bits[27:20] as the unified field definition does not introduce any
behavioral change or compatibility issue for existing SoCs.
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260920-more-socs-to-support-clk_measure-v2-3-224382a429e8@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
