devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] arm64: dts: qcom: sa8295p: Enable GPU
@ 2023-12-22  4:39 Bjorn Andersson
  2023-12-22  4:39 ` [PATCH v2 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Bjorn Andersson
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Bjorn Andersson @ 2023-12-22  4:39 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Michael Turquette, Stephen Boyd,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Taniya Das,
	Ulf Hansson, Johan Hovold, Catalin Marinas, Will Deacon
  Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, linux-pm,
	linux-arm-kernel, Bjorn Andersson, Dmitry Baryshkov,
	Bjorn Andersson

Due to the different PMIC configuration found in the SA8295P platform,
compared to SC8280XP, the VDD_GFX pads are supplied by an dedicated
MAX20411 LDO.

Support for expressing the regulator supply is added to the binding, the
support for enabling the parent supply for GX is added, the missing
gfx.lvl power-domain is dropped, and the DeviceTree is wired up to
enable the GPU in this configuration.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
Changes in v2:
- Made gpucc binding accept either power-domain or vdd-gfx-supply
- Updated comment in gdsc_gx_do_nothing_enable()
- Added a comment for the /delete-property/ power-domains
- Fixed node and property sort order in dts
- Switched zap firmware to use mbn file
- Link to v1: https://lore.kernel.org/r/20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com

---
Bjorn Andersson (8):
      dt-bindings: clock: qcom: Allow VDD_GFX supply to GX
      clk: qcom: gdsc: Enable supply reglator in GPU GX handler
      clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc
      soc: qcom: rpmhpd: Drop SA8540P gfx.lvl
      arm64: dts: qcom: sa8540p: Drop gfx.lvl as power-domain for gpucc
      arm64: dts: qcom: sa8295p-adp: add max20411
      arm64: dts: qcom: sa8295p-adp: Enable GPU
      arm64: defconfig: Enable MAX20411 regulator driver

 .../devicetree/bindings/clock/qcom,gpucc.yaml      | 16 +++++
 arch/arm64/boot/dts/qcom/sa8295p-adp.dts           | 69 ++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sa8540p.dtsi              |  3 +
 arch/arm64/configs/defconfig                       |  1 +
 drivers/clk/qcom/gdsc.c                            | 12 +++-
 drivers/clk/qcom/gpucc-sc8280xp.c                  |  1 +
 drivers/pmdomain/qcom/rpmhpd.c                     |  1 -
 7 files changed, 100 insertions(+), 3 deletions(-)
---
base-commit: 20d857259d7d10cd0d5e8b60608455986167cfad
change-id: 20231220-sa8295p-gpu-51c5f343e3ec

Best regards,
-- 
Bjorn Andersson <quic_bjorande@quicinc.com>


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-01-08 18:23 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-22  4:39 [PATCH v2 0/8] arm64: dts: qcom: sa8295p: Enable GPU Bjorn Andersson
2023-12-22  4:39 ` [PATCH v2 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Bjorn Andersson
2023-12-22  8:12   ` Krzysztof Kozlowski
2023-12-22 12:07     ` Konrad Dybcio
2023-12-27 20:30     ` Bjorn Andersson
2023-12-29 23:51       ` Konrad Dybcio
2023-12-22  4:39 ` [PATCH v2 2/8] clk: qcom: gdsc: Enable supply reglator in GPU GX handler Bjorn Andersson
2023-12-27  1:07   ` Konrad Dybcio
2023-12-22  4:39 ` [PATCH v2 3/8] clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc Bjorn Andersson
2023-12-27  1:07   ` Konrad Dybcio
2024-01-08 18:23     ` Bjorn Andersson
2023-12-22  4:39 ` [PATCH v2 4/8] soc: qcom: rpmhpd: Drop SA8540P gfx.lvl Bjorn Andersson
2023-12-27  1:08   ` Konrad Dybcio
2024-01-03 12:54   ` Ulf Hansson
2023-12-22  4:39 ` [PATCH v2 5/8] arm64: dts: qcom: sa8540p: Drop gfx.lvl as power-domain for gpucc Bjorn Andersson
2023-12-27  1:10   ` Konrad Dybcio
2023-12-22  4:39 ` [PATCH v2 6/8] arm64: dts: qcom: sa8295p-adp: add max20411 Bjorn Andersson
2023-12-27  1:08   ` Konrad Dybcio
2023-12-22  4:39 ` [PATCH v2 7/8] arm64: dts: qcom: sa8295p-adp: Enable GPU Bjorn Andersson
2023-12-22  6:31   ` Dmitry Baryshkov
2023-12-27  1:09   ` Konrad Dybcio
2023-12-27 20:21     ` Bjorn Andersson
2023-12-30 12:22       ` Konrad Dybcio
2023-12-22  4:39 ` [PATCH v2 8/8] arm64: defconfig: Enable MAX20411 regulator driver Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).