]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: qcom: Add support for SMD-RPM Clocks
authorGeorgi Djakov <georgi.djakov@linaro.org>
Mon, 3 Aug 2015 13:30:30 +0000 (16:30 +0300)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:49 +0000 (09:54 +0000)
commit8f369b2a856d1d26b9bc59c907c992d36f29e0ae
tree19006fe465de5db779bd24c07403494ab1e1c36e
parent7ca36cafe10f882bf2a87f8933d1e5ff3b223fd3
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]
drivers/clk/qcom/clk-smd-rpm.h [new file with mode: 0644]
include/dt-bindings/clock/qcom,rpmcc.h [new file with mode: 0644]