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

From: Rob Herring
Date: Wed Nov 09 2016 - 13:26:55 EST


On Wed, Nov 02, 2016 at 05:56:56PM +0200, 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>
> ---
> .../devicetree/bindings/clock/qcom,rpmcc.txt | 36 ++

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/clk/qcom/Kconfig | 16 +
> drivers/clk/qcom/Makefile | 1 +
> drivers/clk/qcom/clk-smd-rpm.c | 571 +++++++++++++++++++++
> include/dt-bindings/clock/qcom,rpmcc.h | 45 ++
> 5 files changed, 669 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/qcom,rpmcc.txt
> create mode 100644 drivers/clk/qcom/clk-smd-rpm.c
> create mode 100644 include/dt-bindings/clock/qcom,rpmcc.h