Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3634776rwp; Sat, 15 Jul 2023 06:40:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQosZp6ocThihqfJ3w8ubxH4GdzpGcYHsC6aQLERfKEHoHHD2qSxBZjrcmjgbk76faZI03 X-Received: by 2002:a17:907:310f:b0:991:e5a5:cd4b with SMTP id wl15-20020a170907310f00b00991e5a5cd4bmr5782222ejb.56.1689428432681; Sat, 15 Jul 2023 06:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689428432; cv=none; d=google.com; s=arc-20160816; b=U6t/QuzKYtp16hh3X3tWzdpMp59yO7Sn1H+84/hvQUJGHAT32wtMXBDwzAn03XydSe 13SJydZjY3tx3JHW/4S204UScH7bFTG6+05O741UioOFfgk1RJ+nyre0gMLIxiIaChuL NcVAcYZ1/MakIuQ7gF/jzGwggqSFXATIEAHezvTAZ1v+fq2GLdypYDluW0xJhOkB0hhR W9y518dcXGTHW0nLTFPDi7rIGfiIzonFctoEqzB3fF/swMWFqqbLUpEfr0rgHg9xxkBL wF0dZqi5MB50m+oELC18OnDiH7gPm7OOQ3lp+Eu2oYBuL0abCTp4GKq28zfazLr+z9Te pDeQ== 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=LQhW1Szg22yqLkreXfyXXQvcUFN3IT4if2hwRUU8Cro=; fh=XfBvXZYptpWWvcBkfQQsGHaWUxe2voYfP+jD8u86cJY=; b=YkkmLr3BtsyMeDuQ1RWC/q0AXkMrOvRzMimSl1GVcfR2wkUj9i7aKoXGUMTGTIyqO3 zkXwHLfiiKjmboCWHI3rbEQdS8/846nEcF8xPY3ItFFVdU1My+A/4tZ1itHZPgNsPMH0 fyklMddu8HzgJOdG71H18i/8k9mgCp7sqAOVkzPHmu9ptDUcl4ZGRC9JxAJDC7bqe2Sj tJbjCxVkCPWc+qNOLw9yMcM6zjNASS6RAO+VB5yir3ZuuG2BpPGAXTri29AV/euZGdk+ MLZmQBVUcj0xZ2+/5nxvEI+d2SodUp7TDn4ndOqEGR/k3QpV3L6Cl3zKk/662+QYffIq V30Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NvdsTgoH; 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 n17-20020a056402061100b0051ddbdeef98si10965636edv.121.2023.07.15.06.40.08; Sat, 15 Jul 2023 06:40:32 -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=NvdsTgoH; 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 S229767AbjGONUM (ORCPT + 99 others); Sat, 15 Jul 2023 09:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjGONUK (ORCPT ); Sat, 15 Jul 2023 09:20:10 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 697D72729 for ; Sat, 15 Jul 2023 06:20:09 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4fb5bcb9a28so4697561e87.3 for ; Sat, 15 Jul 2023 06:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689427208; x=1692019208; 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=LQhW1Szg22yqLkreXfyXXQvcUFN3IT4if2hwRUU8Cro=; b=NvdsTgoHDj9lXC27YxlV+qyjrrqmsN3ASm9uJKOxzM8fGqcHBtp+G/5vHiFoHiEV7f 5nY6ReNSZy3379lMIBDJpnCI9E4+PvF2BupzxYxetcrQfuema/wf9bKmF3+ULS7+xIEQ 1aMK5F8dsXlXOypgqjDm+0pv/V7XluGjHQQHkYuRXCWLRbajn7z6lNE4fCFnI4Uy3G7P AOS43d7wD/gvc+088w4tENBN4oSbZFyAnKBBv3aW75IEaXwXihLXKcFhfm4Rab1fPdly 18tuV1PCJrJl/9AizCtwi/4R0ajHTkcB0gK6OlySUFutT6nR9G+KWAct9tsWPbT9Q9QN XGHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689427208; x=1692019208; 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=LQhW1Szg22yqLkreXfyXXQvcUFN3IT4if2hwRUU8Cro=; b=Ce9bCHAEnwXOJPORyKjbDl2fUkB9QT5uB2r/8++lyJ+RIqLiooNOI3Nj5qzwJ2G77b RQjF5MutkLxycDtjZsi5AzCjsJUoKTsJrSsyLHQk4S/vvBKjVC+9UBNK3TA9NK8+UINE zRCZ+eYXrHIqIJZiSeUsPDvc9Z1FgWm2OdL4cwzJ3qvj+Z25TbpD2coMfQTl1cpdqwIn TYCbnrzes/MK+UU+W+N50dyR/ssSQYdgNTDLnLe7fT0bwIfITc+Msdj9oCVBHuxL8ilm ZZ8rmXkb4kr2+JTlfqMZtUjZT7CvstYgFhSqa4tvUWgGOdPfdoNJjOdDTKy6xiHvER5v Jh1Q== X-Gm-Message-State: ABy/qLZVbx73Ka01WpkA9C7kCTzeLXGovmACwTNaCtujFWWJVhno2jdG mLjJ5CtkO3sgjOxNF39Fhwl0bA== X-Received: by 2002:a19:6459:0:b0:4fb:9105:58b0 with SMTP id b25-20020a196459000000b004fb910558b0mr4853169lfj.20.1689427207697; Sat, 15 Jul 2023 06:20:07 -0700 (PDT) Received: from [192.168.1.101] (abxi167.neoplus.adsl.tpnet.pl. [83.9.2.167]) by smtp.gmail.com with ESMTPSA id n6-20020a195506000000b004fd36c89c3csm437698lfe.43.2023.07.15.06.20.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jul 2023 06:20:07 -0700 (PDT) Message-ID: Date: Sat, 15 Jul 2023 15:20:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH V3 4/6] clk: qcom: gcc-qdu1000: Update GCC clocks as per the latest hw version Content-Language: en-US To: Imran Shaik , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Bjorn Andersson , Taniya Das , Melody Olvera , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jagadeesh Kona , Satya Priya Kakitapalli , Ajit Pandey References: <20230706105045.633076-1-quic_imrashai@quicinc.com> <20230706105045.633076-5-quic_imrashai@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230706105045.633076-5-quic_imrashai@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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable 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 6.07.2023 12:50, Imran Shaik wrote: > Update the GCC clocks as per the latest hw version of QDU1000 and > QRU100 SoCs. > > Co-developed-by: Taniya Das > Signed-off-by: Taniya Das > Signed-off-by: Imran Shaik > --- > Changes since v2: > - Split the patch as per the review comments > - Newly added > > drivers/clk/qcom/gcc-qdu1000.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/drivers/clk/qcom/gcc-qdu1000.c b/drivers/clk/qcom/gcc-qdu1000.c > index 8df7b7983968..991fb2bc97e9 100644 > --- a/drivers/clk/qcom/gcc-qdu1000.c > +++ b/drivers/clk/qcom/gcc-qdu1000.c > @@ -1131,6 +1131,26 @@ static struct clk_branch gcc_ddrss_ecpri_dma_clk = { > }, > }; > > +static struct clk_branch gcc_ddrss_ecpri_gsi_clk = { > + .halt_reg = 0x54298, > + .halt_check = BRANCH_HALT_VOTED, > + .hwcg_reg = 0x54298, > + .hwcg_bit = 1, > + .clkr = { > + .enable_reg = 0x54298, > + .enable_mask = BIT(0), > + .hw.init = &(const struct clk_init_data) { > + .name = "gcc_ddrss_ecpri_gsi_clk", > + .parent_hws = (const struct clk_hw*[]) { > + &gcc_aggre_noc_ecpri_gsi_clk_src.clkr.hw, > + }, > + .num_parents = 1, > + .flags = CLK_SET_RATE_PARENT, > + .ops = &clk_branch2_aon_ops, > + }, > + }, > +}; > + > static struct clk_branch gcc_ecpri_ahb_clk = { > .halt_reg = 0x3a008, > .halt_check = BRANCH_HALT_VOTED, > @@ -2521,6 +2541,8 @@ static struct clk_regmap *gcc_qdu1000_clocks[] = { > [GCC_AGGRE_NOC_ECPRI_GSI_CLK] = &gcc_aggre_noc_ecpri_gsi_clk.clkr, > [GCC_PCIE_0_PHY_AUX_CLK_SRC] = &gcc_pcie_0_phy_aux_clk_src.clkr, > [GCC_PCIE_0_PIPE_CLK_SRC] = &gcc_pcie_0_pipe_clk_src.clkr, > + [GCC_GPLL1_OUT_EVEN] = &gcc_gpll1_out_even.clkr, Looks like you split it too much.. this clock is not being defined in this patch. Konrad > + [GCC_DDRSS_ECPRI_GSI_CLK] = &gcc_ddrss_ecpri_gsi_clk.clkr, > }; > > static const struct qcom_reset_map gcc_qdu1000_resets[] = {