All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] qcom: RPM power domains over GLINK
@ 2026-11-26 14:31 Igor Opaniuk
  2026-11-26 14:31 ` [PATCH v2 1/4] mailbox: add the Qualcomm APCS IPC driver Igor Opaniuk
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Igor Opaniuk @ 2026-11-26 14:31 UTC (permalink / raw)
  To: Sumit Garg, u-boot-qcom, u-boot
  Cc: Casey Connolly, Neil Armstrong, Tom Rini, Lukasz Majewski,
	Jaehoon Chung, Peng Fan, Biswapriyo Nath, Igor Opaniuk

RPM-based Qualcomm SoCs (QCM2290, SM6115, SM6125, SDM630, MSM8998)
vote for their rails through the RPM, which U-Boot only stubs today.
On QCM2290 the eMMC therefore probes with "power-domain driver not
found".

This series adds the APCS IPC mailbox, RPM requests over the GLINK RPM
transport and the rpmpd power domain driver, and enables them in
qcom_defconfig. The link is brought up only when a consumer needs it
and is handed back to the RPM before the OS boots.

Testing, on the Arduino UNO Q (QRB2210) with Linux next-20261112:
- the RPM acknowledges the requests and the eMMC no longer reports
  "power-domain driver not found";
- Linux then binds rpm_requests, rpmpd and the RPM regulators, 10/10
  power-cycle boots without "Invalid open ack packet";
- with the link forced unusable at probe, the eMMC probes with the old
  warning and Linux boots as before.

v2, same board, with the GLINK RPM nodes dropped from the clock stub:

                                    RPM nodes     eMMC          Linux
  v1 (stub entries behind #if)      RPM drivers   HS400         boots
  v2 (stub entries dropped)         RPM drivers   HS400         boots
  v2, RPM drivers disabled          unbound       probe fails   no boot

v1 and v2 give the same driver model tree, and Linux logs no "Invalid
open ack packet" with either. The last line is why patch 4 also enables
the transport in qcom_dragonboard820c_defconfig: a clock stub user with
a GLINK RPM node in its DT needs the transport driver from now on.

Biswapriyo Nath tested v1 on a Xiaomi Redmi Note 8 (SM6125), including
a regulator driver of his own on top of the transport.

Not tested: the other glink-rpm SoCs (SM6115, SDM630, MSM8998) and
Shikra. DragonBoard 820c (MSM8996) is build-tested only; a boot test
there would be welcome.

---
Changes in v2:
- Patch 2: no #if around the GLINK RPM nodes in the clock stub (Sumit).
- Patch 4: drops those nodes from the clock stub in the same patch that
  enables the drivers, and enables the transport in
  qcom_dragonboard820c_defconfig; retitled. Tested-by not carried on
  this patch.
- Collected Tested-by from Biswapriyo on patches 1-3.
- Link to v1: https://lore.kernel.org/r/20261115-qcom-rpm-glink-v1-0-6255beacc93b@oss.qualcomm.com

---
Igor Opaniuk (4):
      mailbox: add the Qualcomm APCS IPC driver
      soc: qcom: add RPM requests over the GLINK RPM transport
      power: domain: add the Qualcomm RPM power domain driver
      qcom: bind the RPM nodes to the RPM drivers

 configs/qcom_defconfig                  |   3 +
 configs/qcom_dragonboard820c_defconfig  |   2 +
 drivers/clk/clk-stub.c                  |   2 -
 drivers/mailbox/Kconfig                 |   8 +
 drivers/mailbox/Makefile                |   1 +
 drivers/mailbox/qcom-apcs-ipc-mailbox.c |  68 +++
 drivers/power/domain/Kconfig            |   7 +
 drivers/power/domain/Makefile           |   1 +
 drivers/power/domain/qcom-rpmpd.c       | 169 +++++++
 drivers/soc/qcom/Kconfig                |  11 +
 drivers/soc/qcom/Makefile               |   1 +
 drivers/soc/qcom/smd-rpm.c              | 772 ++++++++++++++++++++++++++++++++
 include/soc/qcom/smd-rpm.h              |  41 ++
 13 files changed, 1084 insertions(+), 2 deletions(-)
---
base-commit: 36d2b7b46c77b44021f0a6f36684a123e5560492
change-id: 20261115-qcom-rpm-glink-5140b9a9a0ad

Best regards,
-- 
Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>


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

end of thread, other threads:[~2026-11-27 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 14:31 [PATCH v2 0/4] qcom: RPM power domains over GLINK Igor Opaniuk
2026-11-26 14:31 ` [PATCH v2 1/4] mailbox: add the Qualcomm APCS IPC driver Igor Opaniuk
2026-11-26 14:31 ` [PATCH v2 2/4] soc: qcom: add RPM requests over the GLINK RPM transport Igor Opaniuk
2026-11-27 13:05   ` Stephan Gerhold
2026-11-26 14:31 ` [PATCH v2 3/4] power: domain: add the Qualcomm RPM power domain driver Igor Opaniuk
2026-11-26 14:31 ` [PATCH v2 4/4] qcom: bind the RPM nodes to the RPM drivers Igor Opaniuk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.