From 4681d46cc435b62da9a5c05feb9a8ecd2fab8376 Mon Sep 17 00:00:00 2001 From: Vivek Aknurwar Date: Wed, 18 Sep 2019 15:21:26 -0700 Subject: [PATCH 1/2] dt-bindings: clocks: add gcc clock controller bindings for Lahaina Add gcc clock controller bindings to support Lahaina. Change-Id: Ifaaf47b882fed6d9d21ea7c3f8caa1d048c5bbbe --- bindings/clock/qcom,gcc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/clock/qcom,gcc.txt b/bindings/clock/qcom,gcc.txt index 8661c3cd..ce122896 100644 --- a/bindings/clock/qcom,gcc.txt +++ b/bindings/clock/qcom,gcc.txt @@ -23,6 +23,7 @@ Required properties : "qcom,gcc-sdm630" "qcom,gcc-sdm660" "qcom,gcc-sdm845" + "qcom,lahaina-gcc" - reg : shall contain base register location and length - #clock-cells : shall contain 1 From d0b72926ed031cffdc905781015f7e9c2c7822b2 Mon Sep 17 00:00:00 2001 From: Vivek Aknurwar Date: Mon, 16 Sep 2019 22:42:31 -0700 Subject: [PATCH 2/2] ARM: dts: msm: Update and enable the clock_gcc node on Lahaina Update device tree node for clock_gcc and enable the peripheral clock driver on Lahaina. Change-Id: I01e1c298d82b0c6fc2d6add4a590b40b62d56f78 --- qcom/lahaina.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index da9aad2e..b397fb1a 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -515,9 +515,10 @@ #clock-cells = <1>; }; - clock_gcc: qcom,gcc { - compatible = "qcom,dummycc"; - clock-output-names = "gcc_clocks"; + clock_gcc: qcom,gcc@100000 { + compatible = "qcom,lahaina-gcc", "syscon"; + reg = <0x100000 0x1f0000>; + reg-names = "cc_base"; #clock-cells = <1>; #reset-cells = <1>; };