]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: qcom: Add support for SMD-RPM Clocks
authorGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 14 Apr 2016 14:34:47 +0000 (17:34 +0300)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Thu, 23 Jun 2016 10:20:41 +0000 (12:20 +0200)
commit564b5c9fdcf3e7752d66a2aba0f813b9ca013262
tree59f23d0d196b84bcb550d3b1584c273a5814d22e
parenteef76e71f1e1737ee1025703cc3ce5b50e75b4c3
clk: qcom: Add support for SMD-RPM Clocks

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>
Documentation/devicetree/bindings/clock/qcom,rpmcc.txt [new file with mode: 0644]
drivers/clk/qcom/Kconfig
drivers/clk/qcom/Makefile
drivers/clk/qcom/clk-smd-rpm.c [new file with mode: 0644]
include/dt-bindings/clock/qcom,rpmcc.h [new file with mode: 0644]