From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74019C4167D for ; Mon, 30 Oct 2023 18:57:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbjJ3S5L (ORCPT ); Mon, 30 Oct 2023 14:57:11 -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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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], From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE735C4332F for ; Mon, 30 Oct 2023 18:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N8jd/kIj4mmDOCGs2J0EYCUbYhJuW7QQf/2TNFpShHY=; b=fRBeW5qwPNtJ6f 0gLk3xJ/m1fNbO48kEl6rowwz69mtB1VWsxeI8hgcZY7pBaIZYFAnCG5RWoOafb/UsAt5NWnFNdqB dlH7TkO5B8pG3bhNaMxB7pSiDdwY1jv9wcUHwtJUmKBtZW9hlkMPZ/CkoSNfFL60otR18UuWR1WaJ uLZoqDigDqd1gYdaZxDkcpPDNb7iWDZR308k3osyjYlCwUXkS2PJLh4QNmurKHpsvZ3Ps9nQbrBqO vIK3xWgH0VsqNXjzl3c7tNqU5nf+M2qfvWf0UDx7erX1sWZewciwKEo1Ulbkcktx+UIUVOiaOKOEF uzOs0AqXXjeVaAHTzvDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxXRp-003sgw-1K; Mon, 30 Oct 2023 18:57:13 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxXRm-003sgN-29 for linux-arm-kernel@lists.infradead.org; Mon, 30 Oct 2023 18:57:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 5F6FAB8068F; Mon, 30 Oct 2023 18:57:09 +0000 (UTC) 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: MIME-Version: 1.0 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231030_115710_836016_97F7247D X-CRM114-Status: GOOD ( 13.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. > > Signed-off-by: Kathiravan Thirumoorthy > --- > drivers/clk/qcom/gcc-ipq5332.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq5332.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 = { > }, > }; > > +static struct clk_alpha_pll_postdiv gpll0_out_aux = { > + .offset = 0x20000, > + .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS], > + .width = 4, > + .clkr.hw.init = &(struct clk_init_data) { const initdata > + .name = "gpll0_out_aux", > + .parent_hws = (const struct clk_hw *[]) { > + &gpll0_main.clkr.hw }, > + .num_parents = 1, > + .ops = &clk_alpha_pll_postdiv_ro_ops, > + }, > +}; > + > static struct clk_alpha_pll gpll2_main = { > .offset = 0x21000, > .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS], _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel