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> --- Changes in v2: - dt-bindings: add hw version hint to msm8974 & msm8226 variant (Konrad) - dt-bindings: add constraints for clock (Konrad) - Pick up tags - Link to v1: https://lore.kernel.org/r/20230506-msm8226-ocmem-v1-0-3e24e2724f01@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 | 20 ++++++- arch/arm/boot/dts/qcom-msm8226.dtsi | 17 ++++++ drivers/soc/qcom/ocmem.c | 67 ++++++++++++---------- 3 files changed, 72 insertions(+), 32 deletions(-) --- base-commit: 8a80314554f679bc440e2affd842ece2048031ea change-id: 20230506-msm8226-ocmem-bee17571e8eb Best regards, -- Luca Weiss <luca@xxxxxxxxx>