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)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 03:53:09 +0000 (20:53 -0700)
commitf6f89d194e4ddcfe197ac8a05ed4161f642a5c68
tree6acab8251f7ee720c870a78a16c8bc045d2643c6
parent745dfa078666a70be9aabc5d96e3f04e1f412d0c
clk: qcom: gpucc-sm6350: Introduce index-based clk lookup

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>
drivers/clk/qcom/gpucc-sm6350.c