[PATCH v5 0/4] arm64: dts: qcom: sm6125: Enable APPS SMMU

From: Marijn Suijten
Date: Thu Dec 22 2022 - 14:33:35 EST


Add APPS SMMU to SM6125 dtsi and use it in SDHCI/USB nodes.

Changes since v4:

- Use hexadecimal 0x0 for iommu mask;
- Add sm6125 to the dt-bindings list without clocks, now depending on:
https://lore.kernel.org/linux-arm-kernel/20221222092355.74586-1-krzysztof.kozlowski@xxxxxxxxxx/

v4: https://lore.kernel.org/linux-arm-msm/20221216215819.1164973-1-marijn.suijten@xxxxxxxxxxxxxx/T/#u


Changes since v3:

- Drop driver patch in favour of using generic qcom,smmu-500 compatible;
- Add patches that use apps_smmu in USB and SDHCI nodes, reconfiguring
their streamID which otherwise gets lost (from the bootloader) as soon
as SMMU probes, breaking their functionality;
- Rebased on next-20221216 to solve dt-bindings conflict.

v3: https://lore.kernel.org/linux-iommu/20210612094606.89576-2-martin.botka@xxxxxxxxxxxxxx/T/#u

AngeloGioacchino Del Regno (1):
arm64: dts: qcom: sm6125: Add IOMMU context to DWC3

Marijn Suijten (1):
arm64: dts: qcom: sm6125: Add apps_smmu with streamID to SDHCI 1/2
nodes

Martin Botka (2):
dt-bindings: arm-smmu: Document smmu-500 binding for SM6125
arm64: dts: qcom: sm6125: Configure APPS SMMU

.../devicetree/bindings/iommu/arm,smmu.yaml | 2 +
arch/arm64/boot/dts/qcom/sm6125.dtsi | 76 +++++++++++++++++++
2 files changed, 78 insertions(+)

--
2.39.0