linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] arm64: dts: qcom: sa8295p: Enable GPU
@ 2024-01-24  4:25 Bjorn Andersson
  2024-01-24  4:25 ` [PATCH v3 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Bjorn Andersson
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Bjorn Andersson @ 2024-01-24  4:25 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Michael Turquette, Stephen Boyd,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Taniya Das,
	Johan Hovold
  Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, linux-pm,
	linux-arm-kernel, Bjorn Andersson, Dmitry Baryshkov, Ulf Hansson,
	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 v3:
- Removed one unnecessary empty line in DT node
- Rebased series to v6.8-rc1
- Link to v2: https://lore.kernel.org/r/20231220-sa8295p-gpu-v2-0-4763246b72c0@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           | 68 ++++++++++++++++++++++
 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, 99 insertions(+), 3 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20231220-sa8295p-gpu-51c5f343e3ec

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


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

end of thread, other threads:[~2024-01-25 21:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24  4:25 [PATCH v3 0/8] arm64: dts: qcom: sa8295p: Enable GPU Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX Bjorn Andersson
2024-01-24  6:31   ` Krzysztof Kozlowski
2024-01-24 21:21     ` Bjorn Andersson
2024-01-25  7:39       ` Krzysztof Kozlowski
2024-01-25 21:00         ` Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 2/8] clk: qcom: gdsc: Enable supply reglator in GPU GX handler Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 3/8] clk: qcom: gpucc-sc8280xp: Add external supply for GX gdsc Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 4/8] soc: qcom: rpmhpd: Drop SA8540P gfx.lvl Bjorn Andersson
2024-01-24  9:36   ` Ulf Hansson
2024-01-24 21:23     ` Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 5/8] arm64: dts: qcom: sa8540p: Drop gfx.lvl as power-domain for gpucc Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 6/8] arm64: dts: qcom: sa8295p-adp: add max20411 Bjorn Andersson
2024-01-24 12:35   ` Konrad Dybcio
2024-01-24  4:25 ` [PATCH v3 7/8] arm64: dts: qcom: sa8295p-adp: Enable GPU Bjorn Andersson
2024-01-24  4:25 ` [PATCH v3 8/8] arm64: defconfig: Enable MAX20411 regulator driver Bjorn Andersson
2024-01-24 12:35   ` Konrad Dybcio

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).