[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1531991975-23665-1-git-send-email-rplsssn@codeaurora.org>
Date: Thu, 19 Jul 2018 14:49:29 +0530
From: Raju P L S S S N <rplsssn@...eaurora.org>
To: andy.gross@...aro.org, david.brown@...aro.org,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org
Cc: rnayak@...eaurora.org, bjorn.andersson@...aro.org,
linux-kernel@...r.kernel.org, sboyd@...nel.org,
evgreen@...omium.org, dianders@...omium.org, mka@...omium.org,
ilina@...eaurora.org, "Raju P.L.S.S.S.N" <rplsssn@...eaurora.org>
Subject: [PATCH 0/6] drivers/qcom: add additional functionality to RPMH
From: "Raju P.L.S.S.S.N" <rplsssn@...eaurora.org>
This set of patches add additional functionality to RPMH drivers[1].
PM drivers can choose to disallow idle modes when RSC controller is busy sending
or processing requests. The patches add necesary functions to query the
controller status.
The controllers may be in 'solver' state, where they could be in autonomous
mode executing low power modes for their hardware and as such are not available
for sending active votes. Functionality to get notified about such state and
disallow requests for state change in that case is added in these patches.
The Power Domain Controller can be programmed to wakeup the RSC and
setup the resources back in the active state, before the processor is
woken up by a timer interrupt. The wakeup value from the timer hardware
can be copied to the PDC which has its own timer and is in an always-on
power domain. Programming the wakeup value is done through a separate
register on the RSC. Fuctions necessary to program wakeup is added in
the patches.
Please consider reviewing this patchset.
[1] https://lkml.org/lkml/2018/6/20/519
Lina Iyer (5):
drivers: qcom: rpmh-rsc: return if the controller is idle
drivers: qcom: rpmh: export controller idle status
drivers: qcom: rpmh: disallow active requests in solver mode
drivers: qcom: rpmh-rsc: write PDC data
drivers: qcom: rpmh: write PDC data
Raju P.L.S.S.S.N (1):
drivers: qcom: rpmh-rsc: clear active mode configuration for waketcs
drivers/soc/qcom/rpmh-internal.h | 6 ++
drivers/soc/qcom/rpmh-rsc.c | 134 ++++++++++++++++++++++++++++++---------
drivers/soc/qcom/rpmh.c | 100 +++++++++++++++++++++++++++++
include/soc/qcom/rpmh.h | 16 +++++
4 files changed, 227 insertions(+), 29 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project
Powered by blists - more mailing lists