This is an example patch to show how DT nodes are updated to specify the
clocks which are external to the clock controller can be specified in DT
and then found by the clk core to do parent-child linkage.

Cc: Miquel Raynal <miquel.ray...@bootlin.com>
Cc: Jerome Brunet <jbru...@baylibre.com>
Cc: Russell King <li...@armlinux.org.uk>
Cc: Michael Turquette <mturque...@baylibre.com>
Signed-off-by: Stephen Boyd <sb...@kernel.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi 
b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index b72bdb0a31a5..46e0b467b411 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -338,6 +338,8 @@
                        #clock-cells = <1>;
                        #reset-cells = <1>;
                        #power-domain-cells = <1>;
+                       clocks = <&rpmhcc RPMH_CXO_CLK>;
+                       clock-names = "xo";
                };
 
                qfprom@784000 {
-- 
Sent by a computer through tubes

Reply via email to