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.dja...@linaro.org> > --- > .../devicetree/bindings/clock/qcom,rpmcc.txt | 36 ++
Acked-by: Rob Herring <r...@kernel.org> > 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