OSDN Git Service

arm64: dts: qcom: sm8450: Supply clock from cpufreq node to CPUs
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 17 Nov 2022 05:31:43 +0000 (11:01 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Dec 2022 17:05:31 +0000 (11:05 -0600)
commit8a8845e07b1164792a4dd5ad4d333d793828b366
treecb6ee9e0cceee0ee78a6d30bc28d2b8e2a5177de
parent16b24fe54f0050843509321094d99f75fba33f59
arm64: dts: qcom: sm8450: Supply clock from cpufreq node to CPUs

Qualcomm platforms making use of CPUFreq HW Engine (EPSS/OSM) supply clocks
to the CPU cores. But this relationship is not represented in DTS so far.

So let's make cpufreq node as the clock provider and CPU nodes as the
consumers. The clock index for each CPU node is based on the frequency
domain index.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221117053145.10409-3-manivannan.sadhasivam@linaro.org
arch/arm64/boot/dts/qcom/sm8450.dtsi