Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] interconnect: qcom: Add the Molokai interconnect providers
@ 2026-11-27 18:38 Venkat Yadlapati via B4 Relay
  2026-11-27 18:38 ` [PATCH 1/2] dt-bindings: interconnect: qcom: Add Molokai RPMh NoC Venkat Yadlapati via B4 Relay
  2026-11-27 18:38 ` [PATCH 2/2] interconnect: qcom: Add Molokai interconnect provider driver Venkat Yadlapati via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Venkat Yadlapati via B4 Relay @ 2026-11-27 18:38 UTC (permalink / raw)
  To: Georgi Djakov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bjorn Andersson, Konrad Dybcio
  Cc: Konrad Dybcio, Neil Armstrong, Abel Vesa, linux-arm-msm, linux-pm,
	devicetree, linux-kernel, phone-devel, Venkat Yadlapati

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 (next version of the Molokai SoC series [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@yahoo.com/
[2] https://lore.kernel.org/all/20261123-molokai-soc-v4-0-851e5a9f4878@yahoo.com/

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@yahoo.com>
---
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@yahoo.com>



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 18:38 [PATCH 0/2] interconnect: qcom: Add the Molokai interconnect providers Venkat Yadlapati via B4 Relay
2026-11-27 18:38 ` [PATCH 1/2] dt-bindings: interconnect: qcom: Add Molokai RPMh NoC Venkat Yadlapati via B4 Relay
2026-11-27 18:38 ` [PATCH 2/2] interconnect: qcom: Add Molokai interconnect provider driver Venkat Yadlapati via B4 Relay
2026-11-27 18:46   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox