public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan+linaro@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@linaro.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Mark Brown <broonie@kernel.org>,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Johan Hovold <johan+linaro@kernel.org>
Subject: [PATCH 0/5] clk: qcom: gpucc-sc8280xp: fix GX external supply lookup
Date: Tue, 26 Mar 2024 15:01:03 +0100	[thread overview]
Message-ID: <20240326140108.21307-1-johan+linaro@kernel.org> (raw)

The SA8540P platform is closely related to SC8280XP but differs in that
it uses an external supply for the GX power domain.
    
This series adds a new SA8540P GPU clock controller compatible which
can be used to determine whether to look up the external supply.
    
This specifically avoids warnings such as:
    
	gpu_cc-sc8280xp 3d90000.clock-controller: supply vdd-gfx not found, using dummy regulator
    
on SC8280XP, which were introduced in 6.9-rc1.

Note that this also avoids triggering a potential deadlock on SC8280XP
even if the underlying issue still remains for the derivative platforms
like SA8540P and SA8295P that actually use the supply. [1]

Also note that this is a better alternative to simply making the
external supply optional as that would suppress any warnings about
missing supplies on platforms that actually require it. This series
therefore supersedes [2].

Johan


[1] https://lore.kernel.org/lkml/Zf25Sv2x9WaCFuIH@hovoldconsulting.com/
[2] https://lore.kernel.org/lkml/20240325081957.10946-1-johan+linaro@kernel.org/


Johan Hovold (5):
  dt-bindings: clock: qcom: add SA8540P gpucc
  arm64: dts: qcom: sa8540p: use sa8540p gpucc compatible
  clk: qcom: gpucc-sc8280xp: make cc descriptor const
  clk: qcom: gpucc-sc8280xp: fix GX external supply lookup
  arm64: dts: qcom: sa8540p: drop fallback gpucc compatible

 .../devicetree/bindings/clock/qcom,gpucc.yaml |  1 +
 arch/arm64/boot/dts/qcom/sa8540p.dtsi         |  2 +
 drivers/clk/qcom/gpucc-sc8280xp.c             | 42 ++++++++++++++++---
 3 files changed, 39 insertions(+), 6 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-03-26 14:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 14:01 Johan Hovold [this message]
2024-03-26 14:01 ` [PATCH 1/5] dt-bindings: clock: qcom: add SA8540P gpucc Johan Hovold
2024-03-26 15:59   ` Krzysztof Kozlowski
2024-03-26 16:40     ` Johan Hovold
2024-03-27  8:54       ` Krzysztof Kozlowski
2024-03-28 15:43         ` Johan Hovold
2024-03-26 14:01 ` [PATCH 2/5] arm64: dts: qcom: sa8540p: use sa8540p gpucc compatible Johan Hovold
2024-03-26 16:02   ` Krzysztof Kozlowski
2024-03-26 16:48     ` Johan Hovold
2024-03-26 14:01 ` [PATCH 3/5] clk: qcom: gpucc-sc8280xp: make cc descriptor const Johan Hovold
2024-03-26 20:45   ` Konrad Dybcio
2024-03-26 14:01 ` [PATCH 4/5] clk: qcom: gpucc-sc8280xp: fix GX external supply lookup Johan Hovold
2024-03-26 14:01 ` [PATCH 5/5] arm64: dts: qcom: sa8540p: drop fallback gpucc compatible Johan Hovold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240326140108.21307-1-johan+linaro@kernel.org \
    --to=johan+linaro@kernel.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox