From: Stephen Boyd <sboyd@kernel.org>
To: robh+dt@kernel.org
Cc: David Brown <david.brown@linaro.org>,
Rajendra Nayak <rnayak@codeaurora.org>,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, Taniya Das <tdas@codeaurora.org>
Subject: Re: [PATCH v2 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SC7180
Date: Wed, 21 Aug 2019 11:01:59 -0700 [thread overview]
Message-ID: <20190821180200.1F7EF2082F@mail.kernel.org> (raw)
In-Reply-To: <20190819163748.18318-4-tdas@codeaurora.org>
Quoting Taniya Das (2019-08-19 09:37:48)
> diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
> index e1ff83cc361e..ebd4902afd9f 100644
> --- a/drivers/clk/qcom/Kconfig
> +++ b/drivers/clk/qcom/Kconfig
> @@ -322,5 +331,4 @@ config KRAITCC
> help
> Support for the Krait CPU clocks on Qualcomm devices.
> Say Y if you want to support CPU frequency scaling.
> -
> endif
Please remove this hunk
> diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c
> new file mode 100644
> index 000000000000..8718b675d609
> --- /dev/null
> +++ b/drivers/clk/qcom/gcc-sc7180.c
[...]
> + },
> +};
> +
> +/* Camera Subsystem requires always ON. */
Yes, but why? This comment is useful unless it explains why.
> +static struct clk_branch gcc_camera_ahb_clk = {
> + .halt_reg = 0xb008,
> + .halt_check = BRANCH_HALT,
> + .hwcg_reg = 0xb008,
> + .hwcg_bit = 1,
> + .clkr = {
> + .enable_reg = 0xb008,
> + .enable_mask = BIT(0),
> + .hw.init = &(struct clk_init_data){
> + .name = "gcc_camera_ahb_clk",
> + .flags = CLK_IS_CRITICAL,
> + .ops = &clk_branch2_ops,
> + },
> + },
> +};
> +
> +static struct clk_branch gcc_camera_hf_axi_clk = {
> + .halt_reg = 0xb020,
> + .halt_check = BRANCH_HALT,
> + .clkr = {
> + .enable_reg = 0xb020,
> + .enable_mask = BIT(0),
next prev parent reply other threads:[~2019-08-21 18:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 16:37 [PATCH v2 0/3] Add Global Clock controller (GCC) driver for SC7180 Taniya Das
2019-08-19 16:37 ` [PATCH v2 1/3] clk: qcom: rcg: update the DFS macro for RCG Taniya Das
2019-08-19 16:37 ` [PATCH v2 2/3] dt-bindings: clk: qcom: Add YAML schemas for the GCC clock bindings Taniya Das
2019-08-19 19:14 ` Rob Herring
2019-09-18 9:42 ` Taniya Das
2019-08-19 16:37 ` [PATCH v2 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SC7180 Taniya Das
2019-08-21 18:01 ` Stephen Boyd [this message]
2019-09-18 9:44 ` Taniya Das
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=20190821180200.1F7EF2082F@mail.kernel.org \
--to=sboyd@kernel.org \
--cc=david.brown@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=linux-soc@vger.kernel.org \
--cc=rnayak@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=tdas@codeaurora.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 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).