Skip to content

clk: qcom: Support special behavior for SDM845 gpucc

Jordan Crouse linux-clk 2 versions Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2clk: qcom: gdsc: Don't override existing gdsc pd functionsdrivers/clk/qcom/gdsc.c+4 -21 reply
2/2clk: qcom: Add a dummy enable function for GX gdscdrivers/clk/qcom/gpucc-sdm845.c+26 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRajendra Nayak
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] clk: qcom: Support special behavior for SDM845 gpucc

(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(-)
Signature · 1 line
2.18.0