devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Rohit Agarwal <quic_rohiagar@quicinc.com>,
	agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	rafael@kernel.org, viresh.kumar@linaro.org, tglx@linutronix.de,
	maz@kernel.org, will@kernel.org, robin.murphy@arm.com,
	joro@8bytes.org, mani@kernel.org, robimarko@gmail.com
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev,
	Imran Shaik <quic_imrashai@quicinc.com>
Subject: Re: [PATCH v2 07/10] arm64: dts: qcom: Add support for GCC and RPMHCC for SDX75
Date: Mon, 5 Jun 2023 20:16:12 +0200	[thread overview]
Message-ID: <0bfc0e59-b48b-bddb-244a-0e56d1ec4be8@linaro.org> (raw)
In-Reply-To: <1685982557-28326-8-git-send-email-quic_rohiagar@quicinc.com>



On 5.06.2023 18:29, Rohit Agarwal wrote:
> From: Imran Shaik <quic_imrashai@quicinc.com>
> 
> Add support for GCC and RPMHCC clock nodes for SDX75 platform.
> 
> Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
> Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/sdx75.dtsi | 37 ++++++++++++++++++++++++++++++++++++-
>  1 file changed, 36 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
> index 3d1646b..f83eef8 100644
> --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
> @@ -7,6 +7,7 @@
>   */
>  
>  #include <dt-bindings/clock/qcom,rpmh.h>
> +#include <dt-bindings/clock/qcom,sdx75-gcc.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>  
> @@ -22,7 +23,21 @@
>  		reg = <0 0x80000000 0 0>;
>  	};
>  
> -	clocks { };
> +	clocks {
> +		xo_board: xo_board {
> +			compatible = "fixed-clock";
> +			clock-frequency = <76800000>;
> +			clock-output-names = "xo_board";
> +			#clock-cells = <0>;
> +		};
> +
> +		sleep_clk: sleep_clk {
> +			compatible = "fixed-clock";
> +			clock-frequency = <32000>;
> +			clock-output-names = "sleep_clk";
> +			#clock-cells = <0>;
> +		};
> +	};
>  
>  	cpus {
>  		#address-cells = <2>;
> @@ -358,6 +373,18 @@
>  		ranges = <0 0 0 0 0x10 0>;
>  		dma-ranges = <0 0 0 0 0x10 0>;
>  
> +		gcc: clock-controller@80000 {
> +			compatible = "qcom,sdx75-gcc";
> +			reg = <0x0 0x0080000 0x0 0x1f7400>;
> +			clocks = <&rpmhcc RPMH_CXO_CLK>,
> +				 <&sleep_clk>;
> +			clock-names = "bi_tcxo",
> +				      "sleep_clk";
> +			#clock-cells = <1>;
> +			#reset-cells = <1>;
> +			#power-domain-cells = <1>;
> +		};
> +
>  		tcsr_mutex: hwlock@1f40000 {
>  			compatible = "qcom,tcsr-mutex";
>  			reg = <0x0 0x01f40000 0x0 0x40000>;
> @@ -520,6 +547,14 @@
>  			apps_bcm_voter: bcm_voter {
>  				compatible = "qcom,bcm-voter";
>  			};
> +
> +			rpmhcc: clock-controller {
> +				compatible = "qcom,sdx75-rpmh-clk";
> +				clocks = <&xo_board>;
> +				clock-names = "xo";
> +				#clock-cells = <1>;
> +			};
> +
>  		};
>  	};
>  

  reply	other threads:[~2023-06-05 18:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05 16:29 [PATCH v2 00/10] Add devicetree support for SDX75 Modem and IDP Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 01/10] dt-bindings: arm: qcom: Document SDX75 platform and boards Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 02/10] dt-bindings: firmware: scm: Add compatible for SDX75 Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 03/10] dt-bindings: interrupt-controller: Add SDX75 PDC compatible Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 04/10] dt-bindings: arm-smmu: Add SDX75 SMMU compatible Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 05/10] dt-bindings: cpufreq: cpufreq-qcom-hw: Add SDX75 compatible Rohit Agarwal
2023-06-06  5:09   ` Viresh Kumar
2023-06-06  6:04   ` Krzysztof Kozlowski
2023-06-05 16:29 ` [PATCH v2 06/10] arm64: dts: qcom: Add SDX75 platform and IDP board support Rohit Agarwal
2023-06-05 18:15   ` Konrad Dybcio
2023-06-06  8:04     ` Rohit Agarwal
2023-06-06  9:36       ` Konrad Dybcio
2023-06-06 11:42         ` Rohit Agarwal
2023-06-06 12:18           ` Konrad Dybcio
2023-06-07  7:01             ` Rohit Agarwal
     [not found]             ` <ffaa2700-27d1-f406-bcef-ac042ad1af61@quicinc.com>
2023-06-07  8:43               ` Konrad Dybcio
2023-06-07  8:51                 ` Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 07/10] arm64: dts: qcom: Add support for GCC and RPMHCC for SDX75 Rohit Agarwal
2023-06-05 18:16   ` Konrad Dybcio [this message]
2023-06-05 18:30   ` Dmitry Baryshkov
2023-06-06  6:45     ` Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 08/10] arm64: dts: qcom: Add QUPv3 UART console node " Rohit Agarwal
2023-06-05 18:17   ` Konrad Dybcio
2023-06-06  8:06     ` Rohit Agarwal
2023-06-06  6:06   ` Krzysztof Kozlowski
2023-06-06  6:33     ` Rohit Agarwal
2023-06-05 16:29 ` [PATCH v2 09/10] arm64: dts: qcom: Enable the QUPv3 UART console " Rohit Agarwal
2023-06-06  6:06   ` Krzysztof Kozlowski
2023-06-05 16:29 ` [PATCH v2 10/10] arm64: dts: qcom: Add the support of cpufreq on SDX75 Rohit Agarwal
2023-06-05 18:21   ` Konrad Dybcio
2023-06-06  9:32     ` Pavan Kondeti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bfc0e59-b48b-bddb-244a-0e56d1ec4be8@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=maz@kernel.org \
    --cc=quic_imrashai@quicinc.com \
    --cc=quic_rohiagar@quicinc.com \
    --cc=rafael@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=robimarko@gmail.com \
    --cc=robin.murphy@arm.com \
    --cc=tglx@linutronix.de \
    --cc=viresh.kumar@linaro.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).