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

From: Georgi Djakov
Date: Mon Dec 07 2015 - 05:42:25 EST


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@xxxxxxxxxx>
> ---
[..]
> --- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/