Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285191

Re: [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks

From Georgi Djakov <georgi.djakov@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks
Date 2015-12-07 11:50 +0100
Message-ID <qD1wJ-3l4-7@gated-at.bofh.it> (permalink)
References <qBCK6-6bi-3@gated-at.bofh.it> <qBCK6-6bi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3.12.15 г. 16:02, Georgi Djakov wrote:
> This adds initial support for clocks controlled by the Resource
> Power Manager (RPM) processor on some Qualcomm SoCs, which use
> the qcom_smd_rpm driver to communicate with RPM.
> Such platforms are msm8916, apq8084 and msm8974.
> 
> 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 driver 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>
> ---
[..]
> --- a/drivers/clk/qcom/Kconfig
> +++ b/drivers/clk/qcom/Kconfig
> @@ -2,6 +2,9 @@ config QCOM_GDSC
>  	bool
>  	select PM_GENERIC_DOMAINS if PM
>  
> +config QCOM_RPMCC
> +	bool
> +
>  config COMMON_CLK_QCOM
>  	tristate "Support for Qualcomm's clock controllers"
>  	depends on OF
> @@ -9,6 +12,14 @@ config COMMON_CLK_QCOM
>  	select REGMAP_MMIO
>  	select RESET_CONTROLLER
>  
> +config QCOM_CLK_SMD_RPM
> +	tristate "RPM over SMD based Clock Controller"
> +	depends on COMMON_CLK_QCOM

This should be:
	depends on COMMON_CLK_QCOM && QCOM_SMD_RPM

And also for patch 3/6 it should be && MFD_QCOM_RPM
Will resend.

> +	select QCOM_RPMCC
> +	help
> +	  Support for the clocks exposed by the Resource Power Manager
> +	  processor on devices like apq8016, apq8084 and msm8974.
> +
>  config APQ_GCC_8084
>  	tristate "APQ8084 Global Clock Controller"
>  	select QCOM_GDSC


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks Georgi Djakov <georgi.djakov@linaro.org> - 2015-12-03 15:10 +0100
  Re: [PATCH v5 1/6] clk: qcom: Add support for SMD-RPM Clocks Georgi Djakov <georgi.djakov@linaro.org> - 2015-12-07 11:50 +0100

csiph-web