1 From a5ba119455c77a07e05f2fe0af446c8bf43d1a00 Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Sat, 26 Feb 2022 14:52:35 +0100
4 Subject: [PATCH] ARM: dts: qcom: add syscon and cxo/pxo clock to gcc node for
7 Add syscon compatible required for tsens driver to correctly probe driver
8 and access the reg. Also add cxo and pxo tag and declare them as gcc clock
9 now requires them for the ipq8064 gcc driver that has now been modernized.
11 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
12 Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
13 Reviewed-by: Stephen Boyd <sboyd@kernel.org>
14 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
15 Link: https://lore.kernel.org/r/20220226135235.10051-16-ansuelsmth@gmail.com
17 arch/arm/boot/dts/qcom-ipq8064.dtsi | 8 +++++---
18 1 file changed, 5 insertions(+), 3 deletions(-)
20 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
21 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
27 + cxo_board: cxo_board {
28 compatible = "fixed-clock";
30 clock-frequency = <25000000>;
34 + pxo_board: pxo_board {
35 compatible = "fixed-clock";
37 clock-frequency = <25000000>;
41 gcc: clock-controller@900000 {
42 - compatible = "qcom,gcc-ipq8064";
43 + compatible = "qcom,gcc-ipq8064", "syscon";
44 + clocks = <&pxo_board>, <&cxo_board>;
45 + clock-names = "pxo", "cxo";
46 reg = <0x00900000 0x4000>;