From: Stephen Boyd <sboyd@codeaurora.org>
To: Varadarajan Narayanan <varada@codeaurora.org>
Cc: robh+dt@kernel.org, mark.rutland@arm.com,
mturquette@baylibre.com, linus.walleij@linaro.org,
andy.gross@linaro.org, david.brown@linaro.org,
catalin.marinas@arm.com, will.deacon@arm.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, absahu@codeaurora.org,
sjaganat@codeaurora.org, sricharan@codeaurora.org,
mraghava@codeaurora.org
Subject: Re: [PATCH v3 3/5] clk: qcom: ipq8074: Add Global Clock Controller support
Date: Fri, 2 Jun 2017 15:52:31 -0700 [thread overview]
Message-ID: <20170602225231.GD20170@codeaurora.org> (raw)
In-Reply-To: <1496316482-25468-4-git-send-email-varada@codeaurora.org>
On 06/01, Varadarajan Narayanan wrote:
> From: Abhishek Sahu <absahu@codeaurora.org>
>
> This patch adds support for the global clock controller found on
> the IPQ8074 based devices. This includes UART, I2C, SPI etc.
>
> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
> Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
> ---
> .../devicetree/bindings/clock/qcom,gcc.txt | 1 +
> drivers/clk/qcom/Kconfig | 9 +
> drivers/clk/qcom/Makefile | 1 +
> drivers/clk/qcom/gcc-ipq8074.c | 1009 ++++++++++++++++++++
> include/dt-bindings/clock/qcom,gcc-ipq8074.h | 152 +++
The new world order is to split these includes from the driver
changes. Then someone (clk or arm-soc related maintainers) can
merge that #define change somewhere stable and then apply the
driver code on top or the dts file on top.
So can you please split the header file off into it's own patch
before this one and resend?
> diff --git a/drivers/clk/qcom/gcc-ipq8074.c b/drivers/clk/qcom/gcc-ipq8074.c
> new file mode 100644
> index 0000000..b62db77
> --- /dev/null
> +++ b/drivers/clk/qcom/gcc-ipq8074.c
> +
> +static int gcc_ipq8074_probe(struct platform_device *pdev)
> +{
> + int ret, i;
> +
> + for (i = 0; i < ARRAY_SIZE(gcc_ipq8074_hws); i++) {
> + ret = devm_clk_hw_register(&pdev->dev, gcc_ipq8074_hws[i]);
> + if (ret)
> + return ret;
> + }
> +
> + ret = qcom_cc_probe(pdev, &gcc_ipq8074_desc);
> +
> + return ret;
Just return qcom_cc_probe() please.
> +}
> +
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-06-02 22:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-01 11:27 [PATCH v3 0/5] Add minimal boot support for IPQ8074 Varadarajan Narayanan
2017-06-01 11:27 ` [PATCH v3 1/5] pinctrl: qcom: Add ipq8074 pinctrl driver Varadarajan Narayanan
[not found] ` <1496316482-25468-2-git-send-email-varada-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-06-09 8:56 ` Linus Walleij
2017-06-09 9:47 ` Varadarajan Narayanan
2017-06-01 11:27 ` [PATCH v3 2/5] dt-bindings: qcom: Add IPQ8074 bindings Varadarajan Narayanan
2017-06-05 16:54 ` Rob Herring
2017-06-06 10:31 ` varada-sgV2jX0FEOL9JmXXK+q4OQ
2017-06-01 11:28 ` [PATCH v3 3/5] clk: qcom: ipq8074: Add Global Clock Controller support Varadarajan Narayanan
2017-06-02 22:52 ` Stephen Boyd [this message]
2017-06-05 16:55 ` Rob Herring
2017-06-01 11:28 ` [PATCH v3 4/5] arm64: dts: Add ipq8074 SoC and HK01 board support Varadarajan Narayanan
2017-06-01 11:28 ` [PATCH v3 5/5] arm64: defconfig: Enable QCOM IPQ8074 clock and pinctrl Varadarajan Narayanan
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=20170602225231.GD20170@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=absahu@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=catalin.marinas@arm.com \
--cc=david.brown@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mraghava@codeaurora.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sjaganat@codeaurora.org \
--cc=sricharan@codeaurora.org \
--cc=varada@codeaurora.org \
--cc=will.deacon@arm.com \
/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).