[PATCH v2 0/2] Add Milos CPU OPP table for DDR & L3 bandwidth scaling

From: Luca Weiss

Date: Fri Jul 17 2026 - 09:37:14 EST


Add a node for the OSM L3 on the Milos SoC and define the CPU OPP tables
to scale DDR & L3 bandwidths when CPU cores change frequency.

Tested with 7zip benchmark ("7z b") and membw [0] showing very close
results compared to disabling .sync_state and thus keeping all
interconnect bandwidths on maximum vote.

[0] https://github.com/doug65536/membw

Unfortunately there's no support upstream yet to have different
opp-peak-kBps values depending on whether the device is running on DDR4
or DDR5 RAM, which is where Milos should use different DDR votes. For
now the DDR5 values are used which are (usually) higher, but should
hopefully not cause any issues on devices with DDR4. TODO comments are
placed where they differ.

Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
---
Changes in v2:
- Squash the three dts patches into one, some patches along would result
in performance degradation.
- Pick up tags
- Link to v1: https://patch.msgid.link/20260710-milos-cpu-opp-v1-0-ae7f4b09bc77@xxxxxxxxxxxxx

---
Luca Weiss (2):
dt-bindings: interconnect: OSM L3: Document Milos OSM L3 compatible
arm64: dts: qcom: milos: add CPU OPP table with DDR & L3 bandwidths

.../bindings/interconnect/qcom,osm-l3.yaml | 1 +
arch/arm64/boot/dts/qcom/milos.dtsi | 344 +++++++++++++++++++++
2 files changed, 345 insertions(+)
---
base-commit: 4c45e14df2f4e77982ad70d6d8e3fe750edd4c37
change-id: 20260710-milos-cpu-opp-26fb6c36be60

Best regards,
--
Luca Weiss <luca.weiss@xxxxxxxxxxxxx>