2021-10-24 10:11:27

by Taniya Das

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sc7280: Add camcc clock node

Add the camera clock controller node for SC7280 SoC. Also add the header
file for lpass clock controller.

Signed-off-by: Taniya Das <[email protected]>
---
arch/arm64/boot/dts/qcom/sc7280.dtsi | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index d74a4c8..8e6b011 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -4,10 +4,11 @@
*
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*/
-
+#include <dt-bindings/clock/qcom,camcc-sc7280.h>
#include <dt-bindings/clock/qcom,dispcc-sc7280.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,gpucc-sc7280.h>
+#include <dt-bindings/clock/qcom,lpass-sc7280.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,videocc-sc7280.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
@@ -2570,6 +2571,18 @@
#power-domain-cells = <1>;
};

+ camcc: clock-controller@ad00000 {
+ compatible = "qcom,sc7280-camcc";
+ reg = <0 0x0ad00000 0 0x10000>;
+ clocks = <&rpmhcc RPMH_CXO_CLK>,
+ <&rpmhcc RPMH_CXO_CLK_A>,
+ <&sleep_clk>;
+ clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ #power-domain-cells = <1>;
+ };
+
dispcc: clock-controller@af00000 {
compatible = "qcom,sc7280-dispcc";
reg = <0 0xaf00000 0 0x20000>;
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the Linux Foundation.


2021-10-25 20:29:55

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc7280: Add camcc clock node

Quoting Taniya Das (2021-10-24 03:09:22)
> Add the camera clock controller node for SC7280 SoC. Also add the header
> file for lpass clock controller.
>
> Signed-off-by: Taniya Das <[email protected]>
> ---
> arch/arm64/boot/dts/qcom/sc7280.dtsi | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
> index d74a4c8..8e6b011 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
> @@ -4,10 +4,11 @@
> *
> * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
> */
> -

BTW, I see this line is deleted but that's probably not intended.

> +#include <dt-bindings/clock/qcom,camcc-sc7280.h>

2021-10-26 01:14:29

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc7280: Add camcc clock node

Quoting Taniya Das (2021-10-24 03:09:22)
> Add the camera clock controller node for SC7280 SoC. Also add the header
> file for lpass clock controller.
>
> Signed-off-by: Taniya Das <[email protected]>
> ---

Reviewed-by: Stephen Boyd <[email protected]>

2022-02-01 20:48:02

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH] arm64: dts: qcom: sc7280: Add camcc clock node

On Sun, 24 Oct 2021 15:39:22 +0530, Taniya Das wrote:
> Add the camera clock controller node for SC7280 SoC. Also add the header
> file for lpass clock controller.
>
>

Applied, thanks!

[1/1] arm64: dts: qcom: sc7280: Add camcc clock node
commit: 7b1e0a87730e32aac0089182c8cfe3b5fa6434fb

Best regards,
--
Bjorn Andersson <[email protected]>