Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp3155rdh; Mon, 30 Oct 2023 11:57:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGAmXO6sUnDHohgByBPDWwEvKR/wJ79ZFzjXO7QegGQ3ZE8C5wqAb21nOw5YjbpKB7Vw9A X-Received: by 2002:a05:6a00:16c7:b0:6be:bc50:b5e6 with SMTP id l7-20020a056a0016c700b006bebc50b5e6mr9529793pfc.0.1698692236008; Mon, 30 Oct 2023 11:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698692235; cv=none; d=google.com; s=arc-20160816; b=X5K2CKJHX3+c727XKNT8M8qu2VFqpQfPffD6MudpDeEKlsy2gNA40vSbj9Xv9bUWAD 8yPbYn1fv7Y0eXjFwlJN7KszEC71C5dGe5jIwhVSeJ4DudmlxaWhazSgPWR4nl85ItwO VY/SpzZWbrCtrh3yPhPB/GSVHi2WUSCmXi+iYR8K4O1m+iWRiXfHFs9I+SzhGojLCJtT xjGpAKlrcUzUmlrJQrwPFK+uBQLe2Dx9X9VWOD+j9aeHAOmtisdDSDMDscUuj2fzJ+8t zkGqyfb1UoMbPnNmrlslZtXtUwkhQD5nV4NCzM+e+U1eVKkDPmy1P2tu3UDHPDhvKU1y 26NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=e3/0xeryf8dCW8a+63nZTuRm4k5RL+yP1hy4OojB2hA=; fh=PcNUI07Kvk7Q5Fe0ugaSh4z8ZF06wpT0hnWMy7+Z4Jo=; b=IELJwZBlKBUVyl1THLboL2xSBPF+RCJh641iYc/LYrsoyeGp5c8N/TENrmziW3cXz9 /Ngvqd6EpRRXd4kWXQrkTdHEdIQTCPLWBRs3DrAtVYDnwB15VBTD0dqgfvn3+Ci6YO2s FuPV+NP2GUSCXe1t19ZsiKcxTCyXZig/XzgCWqNln6PT6yWNr/0dn5KiqEmiZW/ipr5c 5SErXWpIsEomJHBc4ohiSO09KP4SsQrxEz/VUSE2cUn/BVffVBhxs6Soe9sK4F9Jyp72 s5u/nl8yljhE4ngLHdR4kBQgL1x5Zvzy6V460uRSVTziljhoQbswT6bgzzu8pYDU9OLS GgZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bKfWupyH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n5-20020aa79845000000b006bd2e896465si5153151pfq.199.2023.10.30.11.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 11:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bKfWupyH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1F73580BBC7D; Mon, 30 Oct 2023 11:57:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229904AbjJ3S5M (ORCPT + 99 others); Mon, 30 Oct 2023 14:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjJ3S5K (ORCPT ); Mon, 30 Oct 2023 14:57:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18656C9; Mon, 30 Oct 2023 11:57:09 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2910C433C7; Mon, 30 Oct 2023 18:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698692228; bh=9k52DOYv+u+3IPK7EG4bgquyoKZQQUrVAKtdXlb4WnM=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=bKfWupyHNM0c0QoHxSHWTIHGryzlBNN1nLRn4EySckDpioPM22Po1PkQfPwZqhv/H K44hqIEEhFYSBsNw10RaA5fE0Kay4Xt9p1Bhtp552C6CPk62Th9dzQZqhAqADO6f9G 4AhnCEi2u4EEbUCLsqegrxWK4DV0FHra/UG03VA6h9IsmOqBEpLRibT6Sj4a29qqlH jneXNE/sVmxjkH62aIoP5v8lV31VAmGkItEwkFk2X0rr1t28ff2wWc+SKeTI8BtNEk vOXUVrn1LWZMYCpfseNwGmfINSptJKqPcWXzfmyyw0m1NRPz1OkyXaq5dINeavn/eg ZcmQUAJlVVWDg== Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20231030-ipq5332-nsscc-v1-4-6162a2c65f0a@quicinc.com> References: <20231030-ipq5332-nsscc-v1-0-6162a2c65f0a@quicinc.com> <20231030-ipq5332-nsscc-v1-4-6162a2c65f0a@quicinc.com> Subject: Re: [PATCH 4/8] clk: qcom: ipq5332: add gpll0_out_aux clock From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kathiravan Thirumoorthy To: Andy Gross , Bjorn Andersson , Catalin Marinas , Conor Dooley , Kathiravan Thirumoorthy , Konrad Dybcio , Krzysztof Kozlowski , Michael Turquette , Richard Cochran , Rob Herring , Will Deacon Date: Mon, 30 Oct 2023 11:57:06 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 11:57:15 -0700 (PDT) Quoting Kathiravan Thirumoorthy (2023-10-30 02:47:19) > Add support for gpll0_out_aux clock which acts as the parent for > certain networking subsystem (NSS) clocks. >=20 > Signed-off-by: Kathiravan Thirumoorthy > --- > drivers/clk/qcom/gcc-ipq5332.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) >=20 > diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq533= 2.c > index 235849876a9a..966bb7ca8854 100644 > --- a/drivers/clk/qcom/gcc-ipq5332.c > +++ b/drivers/clk/qcom/gcc-ipq5332.c > @@ -87,6 +87,19 @@ static struct clk_alpha_pll_postdiv gpll0 =3D { > }, > }; > =20 > +static struct clk_alpha_pll_postdiv gpll0_out_aux =3D { > + .offset =3D 0x20000, > + .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS], > + .width =3D 4, > + .clkr.hw.init =3D &(struct clk_init_data) { const initdata > + .name =3D "gpll0_out_aux", > + .parent_hws =3D (const struct clk_hw *[]) { > + &gpll0_main.clkr.hw }, > + .num_parents =3D 1, > + .ops =3D &clk_alpha_pll_postdiv_ro_ops, > + }, > +}; > + > static struct clk_alpha_pll gpll2_main =3D { > .offset =3D 0x21000, > .regs =3D clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS],