Like MSM8974 the MSM8226 SoC also contains some OCMEM but it has just one region for graphics compared to 8974. While adding support I found a bug in the existing driver that is being fixed in this series also and the rest of the matches are mostly preparations for MSM8226 support. Signed-off-by: Luca Weiss <luca@xxxxxxxxx> --- Luca Weiss (6): soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros soc: qcom: ocmem: Use dev_err_probe where appropriate soc: qcom: ocmem: make iface clock optional dt-bindings: sram: qcom,ocmem: Add msm8226 support soc: qcom: ocmem: Add support for msm8226 ARM: dts: qcom: msm8226: Add ocmem .../devicetree/bindings/sram/qcom,ocmem.yaml | 6 +- arch/arm/boot/dts/qcom-msm8226.dtsi | 17 ++++++ drivers/soc/qcom/ocmem.c | 67 ++++++++++++---------- 3 files changed, 58 insertions(+), 32 deletions(-) --- base-commit: 2e210278b67c67e76aeefc1a16d18a692d15c847 change-id: 20230506-msm8226-ocmem-bee17571e8eb Best regards, -- Luca Weiss <luca@xxxxxxxxx>