devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
To: Stephen Boyd <sboyd@kernel.org>
Cc: <agross@kernel.org>, <bjorn.andersson@linaro.org>,
	<maz@kernel.org>, <mturquette@baylibre.com>, <robh+dt@kernel.org>,
	<tglx@linutronix.de>, <linux-arm-msm@vger.kernel.org>,
	<linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH v6 3/5] clk: qcom: Add SDX65 GCC support
Date: Mon, 6 Dec 2021 20:31:21 -0800	[thread overview]
Message-ID: <20211207043121.GA28122@quicinc.com> (raw)
In-Reply-To: <20211203002010.8225CC00446@smtp.kernel.org>

On Thu, Dec 02, 2021 at 04:20:09PM -0800, Stephen Boyd wrote:
> Quoting quic_vamslank@quicinc.com (2021-12-01 16:21:33)
> > +static struct clk_branch gcc_gp3_clk = {
> > +       .halt_reg = 0x39000,
> > +       .halt_check = BRANCH_HALT,
> > +       .clkr = {
> > +               .enable_reg = 0x39000,
> > +               .enable_mask = BIT(0),
> > +               .hw.init = &(struct clk_init_data){
> > +                       .name = "gcc_gp3_clk",
> > +                       .parent_data = &(const struct clk_parent_data){
> > +                               .hw = &gcc_gp3_clk_src.clkr.hw,
> > +                       },
> > +                       .num_parents = 1,
> > +                       .flags = CLK_SET_RATE_PARENT,
> > +                       .ops = &clk_branch2_ops,
> > +               },
> > +       },
> > +};
> > +
> > +static struct clk_branch gcc_pcie_0_clkref_en = {
> > +       .halt_reg = 0x88004,
> > +       /* The clock controller does not handle the status bit for
> 
> Please leave /* on it's own line for multiline comments.

Will do.

> 
> > +        * the clocks with gdscs(powerdomains) in hw controlled mode
> > +        * and hence avoid checking for the status bit of those clocks
> > +        * by setting the BRANCH_HALT_DELAY flag */
> 
> And */ too

Will do.

> 
> > +       .halt_check = BRANCH_HALT_DELAY,
> > +       .clkr = {
> > +               .enable_reg = 0x88004,
> > +               .enable_mask = BIT(0),
> > +               .hw.init = &(struct clk_init_data){
> > +                       .name = "gcc_pcie_0_clkref_en",
> > +                       .ops = &clk_branch2_ops,
> > +               },
> > +       },
> > +};

Thanks,
Vamsi

  reply	other threads:[~2021-12-07  4:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02  0:21 [PATCH v6 0/5] Add GCC and RPMh clock support for SDX65 quic_vamslank
2021-12-02  0:21 ` [PATCH v6 1/5] dt-bindings: clock: Add SDX65 GCC clock bindings quic_vamslank
2021-12-02  0:21 ` [PATCH v6 2/5] clk: qcom: Add LUCID_EVO PLL type for SDX65 quic_vamslank
2021-12-03  0:18   ` Stephen Boyd
2021-12-07  4:35     ` Vamsi Krishna Lanka
2021-12-02  0:21 ` [PATCH v6 3/5] clk: qcom: Add SDX65 GCC support quic_vamslank
2021-12-03  0:20   ` Stephen Boyd
2021-12-07  4:31     ` Vamsi Krishna Lanka [this message]
2021-12-02  0:21 ` [PATCH v6 4/5] dt-bindings: clock: Introduce RPMHCC bindings for SDX65 quic_vamslank
2021-12-06 22:30   ` (subset) " Bjorn Andersson
2021-12-02  0:21 ` [PATCH v6 5/5] clk: qcom: Add support for SDX65 RPMh clocks quic_vamslank
2021-12-03 16:23   ` Bjorn Andersson
2021-12-06 22:30   ` (subset) " Bjorn Andersson
2021-12-06 22:30 ` (subset) [PATCH v6 0/5] Add GCC and RPMh clock support for SDX65 Bjorn Andersson

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=20211207043121.GA28122@quicinc.com \
    --to=quic_vamslank@quicinc.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=maz@kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    /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).