summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2025-09-19 14:26:46 +0000
committerStephen Boyd <sboyd@kernel.org>2025-09-21 12:48:49 -0700
commit158ddb87b13e6642dadaa16e3c4e9f5814825685 (patch)
tree401279f78059640409a490536ee60796f1bb7a4e /rust/kernel
parent1ba5395c6ad0f40cd94792f737b2d19d6ec97e3c (diff)
clk: loongson2: Avoid hardcoding firmware name of the reference clock
Loongson-2K0300 requires a reference clock with a frequency different from previous SoCs (120MHz v.s. 100MHz), thus hardcoding the firmware name of the reference clock as ref_100m isn't a good idea. This patch retrives the clock name of the reference clock dynamically during probe, avoiding the hardcoded pdata structure and preparing for support of future SoCs. Signed-off-by: Yao Zi <ziyao@disroot.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions