From: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: <agross@kernel.org>, <bjorn.andersson@linaro.org>,
<mturquette@baylibre.com>, <sboyd@kernel.org>,
<robh+dt@kernel.org>, <tglx@linutronix.de>, <maz@kernel.org>,
<linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
<manivannan.sadhasivam@linaro.org>,
"kernel test robot" <lkp@intel.com>
Subject: Re: [PATCH v4 3/6] clk: qcom: Add SDX65 GCC support
Date: Wed, 17 Nov 2021 17:51:18 -0800 [thread overview]
Message-ID: <20211118015117.GA18984@quicinc.com> (raw)
In-Reply-To: <YZNsvjwp0/AX0Hdo@matsya>
On Tue, Nov 16, 2021 at 02:03:02PM +0530, Vinod Koul wrote:
> On 15-11-21, 23:38, quic_vamslank@quicinc.com wrote:
> > From: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
> >
> > Add Global Clock Controller (GCC) support for SDX65 SoCs from Qualcomm.
> >
> > Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
> > Reported-by: kernel test robot <lkp@intel.com>
>
> Missing support reported ??
Not mising support but it reported to delete unused varaibles and after
the fix mentioned to add the reported tag.
>
> > +static struct clk_branch gcc_ahb_pcie_link_clk = {
> > + .halt_reg = 0x2e004,
> > + .halt_check = BRANCH_HALT,
> > + .clkr = {
> > + .enable_reg = 0x2e004,
> > + .enable_mask = BIT(0),
> > + .hw.init = &(struct clk_init_data){
> > + .name = "gcc_ahb_pcie_link_clk",
> > + .flags = CLK_IS_CRITICAL,
> > + .ops = &clk_branch2_ops,
> > + },
>
> If this clk is critical then why model in linux, enable directly in probe
> and leave it...?
Yes, actually i have the code which is enabling it directly inside the probe function.
so i will remove it here.
>
> > +static struct clk_branch gcc_pcie_0_clkref_en = {
> > + .halt_reg = 0x88004,
> > + .halt_check = BRANCH_HALT_DELAY,
>
> Why delay, add a comment at least for that
sure, will do
> > + .clkr = {
> > + .enable_reg = 0x88004,
> > + .enable_mask = BIT(0),
> > + .hw.init = &(struct clk_init_data){
> > + .name = "gcc_pcie_0_clkref_en",
> > + .ops = &clk_branch2_ops,
> > + },
> > + },
> > +};
> > +
> > +static struct clk_branch gcc_pcie_aux_clk = {
> > + .halt_reg = 0x43034,
> > + .halt_check = BRANCH_HALT_DELAY,
>
> Here too
will do.
>
> > +static struct clk_branch gcc_pcie_mstr_axi_clk = {
> > + .halt_reg = 0x43024,
> > + .halt_check = BRANCH_HALT_VOTED,
> > + .hwcg_reg = 0x43024,
> > + .hwcg_bit = 1,
> > + .clkr = {
> > + .enable_reg = 0x6d010,
> > + .enable_mask = BIT(1),
> > + .hw.init = &(struct clk_init_data){
> > + .name = "gcc_pcie_mstr_axi_clk",
> > + .ops = &clk_branch2_ops,
> > + },
> > + },
> > +};
> > +
> > +static struct clk_branch gcc_pcie_pipe_clk = {
> > + .halt_reg = 0x4303c,
> > + .halt_check = BRANCH_HALT_DELAY,
>
> here as well and few more places I guess
>
> > +static struct clk_branch gcc_xo_pcie_link_clk = {
> > + .halt_reg = 0x2e008,
> > + .halt_check = BRANCH_HALT,
> > + .hwcg_reg = 0x2e008,
> > + .hwcg_bit = 1,
> > + .clkr = {
> > + .enable_reg = 0x2e008,
> > + .enable_mask = BIT(0),
> > + .hw.init = &(struct clk_init_data){
> > + .name = "gcc_xo_pcie_link_clk",
> > + .flags = CLK_IS_CRITICAL,
>
> Here as well
Same as above.
> --
> ~Vinod
next prev parent reply other threads:[~2021-11-18 1:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 7:38 [PATCH v4 0/6] Add Pdc, GCC and RPMh clock support for SDX65 quic_vamslank
2021-11-16 7:38 ` [PATCH v4 1/6] dt-bindings: clock: Add SDX65 GCC clock bindings quic_vamslank
2021-11-19 1:06 ` Rob Herring
2021-11-16 7:38 ` [PATCH v4 2/6] clk: qcom: Add LUCID_EVO PLL type for SDX65 quic_vamslank
2021-11-16 8:25 ` Vinod Koul
2021-11-18 1:54 ` Vamsi Krishna Lanka
2021-11-18 4:41 ` Vinod Koul
2021-11-16 7:38 ` [PATCH v4 3/6] clk: qcom: Add SDX65 GCC support quic_vamslank
2021-11-16 8:33 ` Vinod Koul
2021-11-18 1:51 ` Vamsi Krishna Lanka [this message]
2021-11-18 4:39 ` Vinod Koul
2021-11-18 5:04 ` Vamsi Krishna Lanka
2021-11-18 5:08 ` Vinod Koul
2021-11-16 7:38 ` [PATCH v4 4/6] dt-bindings: clock: Introduce RPMHCC bindings for SDX65 quic_vamslank
2021-11-16 8:34 ` Vinod Koul
2021-11-16 7:38 ` [PATCH v4 5/6] clk: qcom: Add support for SDX65 RPMh clocks quic_vamslank
2021-11-16 8:35 ` Vinod Koul
2021-11-16 7:38 ` [PATCH v4 6/6] dt-bindings: clock: Introduce pdc bindings for SDX65 quic_vamslank
2021-11-16 8:36 ` Vinod Koul
2021-11-16 8:33 ` [PATCH v4 0/6] Add Pdc, GCC and RPMh clock support " Vinod Koul
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=20211118015117.GA18984@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=lkp@intel.com \
--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 \
--cc=vkoul@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.