arm64: dts: qcom: apq8096-db820c: fix missing clock populate
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 1 Sep 2023 08:18:11 +0000 (10:18 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 03:05:57 +0000 (20:05 -0700)
commit2ca3e844e3f978c0dbc95072dbf379abfc4a27db
tree27f85804b95f4105239a8bc3084fba2b6b7d4761
parentf822899c28572a854f2c746da5ed707d752458ab
arm64: dts: qcom: apq8096-db820c: fix missing clock populate

Commit 704e26678c8d ("arm64: dts: qcom: apq8096-db820c: drop simple-bus
from clocks") removed "simple-bus" compatible from "clocks" node, but
one of the clocks - divclk1 - is a gpio-gate-clock, which does not have
CLK_OF_DECLARE.  This means it will not be instantiated if placed in
some subnode.  Move the clocks to the root node, so regular devices will
be populated.

Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Closes: https://lore.kernel.org/all/CAA8EJprF==p87oN+RiwAiNeURF1JcHGfL2Ez5zxqYPRRbN-hhg@mail.gmail.com/
Cc: stable@vger.kernel.org
Fixes: 704e26678c8d ("arm64: dts: qcom: apq8096-db820c: drop simple-bus from clocks")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230901081812.19121-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/apq8096-db820c.dts