]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gpucc-sm6350: Introduce index-based clk lookup
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 14 Jun 2023 11:35:32 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:44 +0000 (09:42 +0200)
commit6ace98cb617bafb506c8b76a98e91e3051271494
tree6c09ad0a8f5d9a7ebcad084d0eff90f94ae7d315
parent74a1194cce60a90723d0fe148863c18931a31153
clk: qcom: gpucc-sm6350: Introduce index-based clk lookup

[ Upstream commit f6f89d194e4ddcfe197ac8a05ed4161f642a5c68 ]

Add the nowadays-prefered and marginally faster way of looking up parent
clocks in the device tree. It also allows for clock-names-independent
operation, so long as the order (which is enforced by schema) is kept.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230315-topic-lagoon_gpu-v2-1-afcdfb18bb13@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Stable-dep-of: 743913b343a3 ("clk: qcom: gpucc-sm6350: Fix clock source names")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gpucc-sm6350.c