[v3,0/6] Add MSM8226 OCMEM support plus some extra OCMEM driver fixes

Message ID 20230506-msm8226-ocmem-v3-0-79da95a2581f@z3ntu.xyz
Headers
Series Add MSM8226 OCMEM support plus some extra OCMEM driver fixes |

Message

Luca Weiss June 14, 2023, 4:35 p.m. UTC
  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@z3ntu.xyz>
---
Changes in v3:
- Rebase on linux-next
- Add 'else' to clk/clk-names in dt-bindings limiting to 1
- Link to v2: https://lore.kernel.org/r/20230506-msm8226-ocmem-v2-0-177d697e43a9@z3ntu.xyz

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@z3ntu.xyz

---
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       | 26 ++++++++-
 arch/arm/boot/dts/qcom-msm8226.dtsi                | 17 ++++++
 drivers/soc/qcom/ocmem.c                           | 67 ++++++++++++----------
 3 files changed, 78 insertions(+), 32 deletions(-)
---
base-commit: bcbf7634663f705695e9faa80ef419c2b1589f8e
change-id: 20230506-msm8226-ocmem-bee17571e8eb

Best regards,
  

Comments

Bjorn Andersson July 10, 2023, 5:07 a.m. UTC | #1
On Wed, 14 Jun 2023 18:35:46 +0200, Luca Weiss wrote:
> 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.
> 
> [...]

Applied, thanks!

[6/6] ARM: dts: qcom: msm8226: Add ocmem
      commit: 4bad24d73abcc6adf70bc4c894c29cb1d0acda05

Best regards,