Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6022932rwd; Mon, 5 Jun 2023 11:47:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fEEgOCH4l+HoGgLSvWDdaFjvojm7g5dK7z+viUrjLP01QAZ9lh5l/m1BIx6XM04Z9vnbo X-Received: by 2002:aca:2309:0:b0:39b:da91:8749 with SMTP id e9-20020aca2309000000b0039bda918749mr1142067oie.50.1685990824073; Mon, 05 Jun 2023 11:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685990824; cv=none; d=google.com; s=arc-20160816; b=vE98bvnyWL1e5DPta5JSXWnsDvMmLNNT8vcC4otDuTwMpq5PrP0SMC5tqx9JWqYvO9 L5G4Xo9vxz7WrY+EvJgnkQgw5OrTIx3lIG4nBjuzxeZhK+2PFbWvCl2JrN6IfndN7W4j lNkT5ns43IZ8TEDMet7ShDL6fYLFPUAzhwKqjUTOM2oNRlOrctjZd/yYFTqatkTXYiZ9 GCzuf+9SKUEktgw6ouamimJ29VqX4wmj7/cO27mphAN7MPBD0ZkXALxWXNsQ2NQTUOmO ARcnRbEdoYnlBE+0ohQ1FnYeuHWQ6Ng3f0iRShAfcdJOj0V180vYHWjqqnRS0o2jbJbN mtsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=QLpda+QQ8b89rCwG+J9qO0y/+RXWL9mYS3FL+ITT7BY=; b=Fbef1mYscqhCbINaVC8VqO2vefTHzvCUS5VDFBPk69tlbQw6Cpp2xfq5nQ2PJBD2pV AglvjczW9L9njk8GLR50bqt059ZzM3BWeoFzMqdx2pr+ALKXh9YyRx8wqOs6C0yIrwCO bORASzdTim9aq3kdJkw9UydNrwhZ1TNYyGM++PGECdLfMBmO/KVbxQtKZigMp82czSV2 4H50/GyrBvQaw79yO+yegXdqOl71CNw4zqJJBo85vWzUVqrVgNaUrhjDl6sJ4Pzi0yUu 2bb/8Nc8isYDhyqSY4HSDcn6NyKhusYmWZmw6QRnINO0VdoI5Cm0eQmzR+VBM/+69Rq4 ttFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OgPJHcb1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020ad45be7000000b006263a6853bdsi5131828qvc.465.2023.06.05.11.46.49; Mon, 05 Jun 2023 11:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OgPJHcb1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233469AbjFESQk (ORCPT + 99 others); Mon, 5 Jun 2023 14:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235555AbjFESQa (ORCPT ); Mon, 5 Jun 2023 14:16:30 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF88AE55 for ; Mon, 5 Jun 2023 11:16:17 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f61735676fso3980408e87.2 for ; Mon, 05 Jun 2023 11:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685988976; x=1688580976; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=QLpda+QQ8b89rCwG+J9qO0y/+RXWL9mYS3FL+ITT7BY=; b=OgPJHcb1a2w7KPLiDNxkmD+SDYdUtPN4TqkNx9Zvm+mhJXa7Q+U2njuzvz4lzE6AAB Hi/8kjMaPtnEmcdjC8iJy6MO1ZuUGlLxCKlLeIt7HTAZ5DHNlA3MKoOhAdbA4EP1/x2U mTTZRejIgbyatx19cmNUJ/noghE5jqiRy2kEYW1kPmd+GeBgu1MjIRxdSchFeNI4pFsF 6tedIEThroq/L7RN/ZoQkckB1Zk0d9oayt0Y6LBsmKzexkfDXq0YolAm05ny80vs6cRJ LYWjapvLMuTaMfwkctGSQi7gXcP5Hzctd+3V6+NONJLSiIe2Tu/q50NrNLg5jNLVRyxu Sxlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685988976; x=1688580976; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QLpda+QQ8b89rCwG+J9qO0y/+RXWL9mYS3FL+ITT7BY=; b=NIv5kXkMXDX61KKBLebrWbI9CX/8h+6PSpuJ+409tzJar9obl59Zi4QwrMa993WsGW y9cS0TLThT2NHbzjgA7F85ULKzj+VpUTqzExaE39uyhW3Y/PsveJq3H/n+2+xROWocIV PnVqd/pBpVgBN+vh+7wK/TOwIW4v1h95s8MQVSbxeZTGIwqoYsYc7CfUjmkRc95Yj8Bx cX0RANzUaypZABaGJTbmYZl5FrmJWdXx0vcysnN1U/kV5Jc792VSlX+9WaJ/qXGIfn42 Pw2I9KZ+cVCLN1m1YrwlBY6bhj76D2VO+VOyOYQvfn0BYyT2p+LTuW/ces34tfYkRX0z r9Hw== X-Gm-Message-State: AC+VfDxN8f9JagGzxy8Q524mbznetbWK54cvWn63UGpysVipTOUICxSt X4+QrSgn2fXkvZsy9ou4dfSZWQ== X-Received: by 2002:ac2:55b8:0:b0:4f6:259d:3d40 with SMTP id y24-20020ac255b8000000b004f6259d3d40mr2360866lfg.2.1685988976032; Mon, 05 Jun 2023 11:16:16 -0700 (PDT) Received: from [192.168.1.101] (abyj96.neoplus.adsl.tpnet.pl. [83.9.29.96]) by smtp.gmail.com with ESMTPSA id x12-20020ac25dcc000000b004f0049433adsm1198709lfq.307.2023.06.05.11.16.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Jun 2023 11:16:14 -0700 (PDT) Message-ID: <0bfc0e59-b48b-bddb-244a-0e56d1ec4be8@linaro.org> Date: Mon, 5 Jun 2023 20:16:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 07/10] arm64: dts: qcom: Add support for GCC and RPMHCC for SDX75 Content-Language: en-US To: Rohit Agarwal , 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 References: <1685982557-28326-1-git-send-email-quic_rohiagar@quicinc.com> <1685982557-28326-8-git-send-email-quic_rohiagar@quicinc.com> From: Konrad Dybcio In-Reply-To: <1685982557-28326-8-git-send-email-quic_rohiagar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5.06.2023 18:29, Rohit Agarwal wrote: > From: Imran Shaik > > Add support for GCC and RPMHCC clock nodes for SDX75 platform. > > Signed-off-by: Imran Shaik > Signed-off-by: Rohit Agarwal > --- Reviewed-by: Konrad Dybcio 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 > +#include > #include > #include > > @@ -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>; > + }; > + > }; > }; >