All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Georgi Djakov <georgi.djakov@linaro.org>, sboyd@codeaurora.org
Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/2] clk: qcom: Add support for RPM Clocks
Date: Thu, 09 Jul 2015 13:27:21 +0100	[thread overview]
Message-ID: <559E68A9.2020809@linaro.org> (raw)
In-Reply-To: <1436444310-15108-2-git-send-email-georgi.djakov@linaro.org>



On 09/07/15 13:18, Georgi Djakov wrote:
> This patch adds initial support for clocks controlled by the RPM
> (Resource Power Manager) processor found on some Qualcomm SoCs.
>
> The RPM is a dedicated hardware engine for managing the shared
> SoC resources in order to keep the lowest power profile. It
> communicates with other hardware subsystems via shared memory
> and accepts clock requests, aggregates the requests and turns
> the clocks on/off or scales them on demand.
>
> This work is based on the codeaurora.org driver:
> https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
>
> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
> ---
>   drivers/clk/qcom/Makefile  |    1 +
>   drivers/clk/qcom/clk-rpm.c |  164 ++++++++++++++++++++++++++++++++++++++++++++
>   drivers/clk/qcom/clk-rpm.h |  137 ++++++++++++++++++++++++++++++++++++
>   3 files changed, 302 insertions(+)
>   create mode 100644 drivers/clk/qcom/clk-rpm.c
>   create mode 100644 drivers/clk/qcom/clk-rpm.h
>
> diff --git a/drivers/clk/qcom/Makefile b/drivers/clk/qcom/Makefile
> index 50b337a24a87..4d14a73ee4ed 100644
> --- a/drivers/clk/qcom/Makefile
> +++ b/drivers/clk/qcom/Makefile
> @@ -8,6 +8,7 @@ clk-qcom-y += clk-rcg2.o
>   clk-qcom-y += clk-branch.o
>   clk-qcom-y += clk-regmap-divider.o
>   clk-qcom-y += clk-regmap-mux.o
> +clk-qcom-y += clk-rpm.o

Is this generic enough to be built by default. It will break builds on A 
family whose rpm clocks are not based on SMD.

IMO, this should be either renamed to clk-rpm-smd.* or only built with 
SOC's which support rpm-clks based on SMD.


>   clk-qcom-y += reset.o
>

  reply	other threads:[~2015-07-09 12:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 12:18 [PATCH 0/2] Add initial support for RPM clocks Georgi Djakov
2015-07-09 12:18 ` [PATCH 1/2] clk: qcom: Add support for RPM Clocks Georgi Djakov
2015-07-09 12:27   ` Srinivas Kandagatla [this message]
2015-07-09 15:22     ` Georgi Djakov
2015-07-13 22:36       ` Bjorn Andersson
2015-07-13 22:36         ` Bjorn Andersson
2015-07-09 12:18 ` [PATCH 2/2] clk: qcom: Add MSM8916 RPM clock driver Georgi Djakov

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=559E68A9.2020809@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=georgi.djakov@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@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 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.