mbox series

[v2,0/2] clk: qcom: Support special behavior for SDM845 gpucc

Message ID 20181126172032.11567-1-jcrouse@codeaurora.org (mailing list archive)
Headers show
Series clk: qcom: Support special behavior for SDM845 gpucc | expand

Message

Jordan Crouse Nov. 26, 2018, 5:20 p.m. UTC
(Resend with a proper email subject)

The GPU GX domain on SDM845 is nominally managed by the GMU microcontroller
but there are certain circumstances when the CPU needs to be sure that the
GX headswitch is off.

This series modifies the GPU GX domain on SDM845 to use a dummy enable
function (leaving the GMU hardware to handle the power on) and the
default disable function to allow the CPU to ensure that the power is off.

With these changes we can attach the domain to the GMU device and control
it from the start up and shut down functions as implemented by [2].

This patchset is based on the core GPU clock support from [1].

[1] https://patchwork.kernel.org/patch/10696671/
[2] https://patchwork.freedesktop.org/patch/262765/

v2: Rebase on the latest from Taniya and remove the GPU functions to make
it easier to apply to the clock tree.

Jordan Crouse (2):
  clk: qcom: gdsc: Don't override existing gdsc pd functions
  clk: qcom: Add a dummy enable function for GX gdsc

 drivers/clk/qcom/gdsc.c         |  6 ++++--
 drivers/clk/qcom/gpucc-sdm845.c | 26 ++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 2 deletions(-)