[PATCH v2 0/2] interconnect: qcom: Add the Molokai interconnect providers
From: Venkat Yadlapati via B4 Relay
Date: Fri Nov 27 2026 - 14:06:08 EST
Molokai (SM8845) is derived from Kaanapali, but its NoCs are not the
same: the aggregate NoC is split into aggre1 and aggre2, the MMSS NoC
config and service ports are split into HF and SF halves, many QoS
ports moved, and QUP4, SDCC4, SP, QPACE and a few config slaves are
gone. This series adds the binding and a Molokai driver.
It replaces "interconnect: qcom: Don't read back BCMs without an RPMh
address" [1], where Konrad asked to fix the driver instead. Molokai used
the Kaanapali driver, which votes on the QPC0 BCM that the Molokai
command DB does not have; the read back of that BCM hung RPMh. The
Molokai driver has no QPC0, and it programs the Molokai QoS offsets
instead of the Kaanapali ones.
The topology and QoS settings come from the Molokai driver in
Motorola's downstream kernel. The upstream Kaanapali driver matches the
downstream Kaanapali one node for node, so the driver is the Kaanapali
one with the downstream Kaanapali to Molokai differences applied.
The binding header includes the Kaanapali one and only adds the new
MMSS nodes: molokai.dtsi builds on kaanapali.dtsi and inherits its
interconnect paths, and a header with its own numbering would redefine
the same macros with other values. If a standalone header is preferred,
molokai.dtsi would have to override every inherited interconnect path,
or stop building on kaanapali.dtsi; I can rework it that way.
Tested on the Motorola Signature with molokai.dtsi switched to these
providers (Molokai SoC series v5 [2]) and the generic
read back fix reverted: all 14 providers probe, there are no RPMh
timeouts, and the display, GPU, touchscreen and audio work with QoS
programming enabled.
[1] https://lore.kernel.org/all/20261123-icc-bcm-readback-v2-1-bacee81398e5@xxxxxxxxx/
[2] https://lore.kernel.org/all/20261128-molokai-soc-v5-0-144801dfad7f@xxxxxxxxx/
I used an LLM (Claude) to help write these patches and their commit
messages. I reviewed all of them and tested the result on the device.
Signed-off-by: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
---
Changes in v2:
- Route the crypto engine through the A2NOC slave instead of A1NOC: it
sits on aggre2, the downstream A1NOC link was left over from Kaanapali
(Sashiko). Tested: the SCM crypto path now goes through
qnm_aggre2_noc.
- Cover: point to v5 of the Molokai SoC series.
- Link to v1: https://patch.msgid.link/20261128-molokai-icc-v1-0-a5e1754f086d@xxxxxxxxx
---
Venkat Yadlapati (2):
dt-bindings: interconnect: qcom: Add Molokai RPMh NoC
interconnect: qcom: Add Molokai interconnect provider driver
.../bindings/interconnect/qcom,molokai-rpmh.yaml | 144 ++
drivers/interconnect/qcom/Kconfig | 11 +
drivers/interconnect/qcom/Makefile | 2 +
drivers/interconnect/qcom/molokai.c | 1753 ++++++++++++++++++++
.../dt-bindings/interconnect/qcom,molokai-rpmh.h | 26 +
5 files changed, 1936 insertions(+)
---
base-commit: e5aad2bdbbee783611d32599f89cea3f12f9593d
change-id: 20261127-molokai-icc-1314acd09958
Best regards,
--
Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>