[PATCH v4 0/2] Enable smmu support on sdm845

From: Vivek Gautam
Date: Thu Oct 11 2018 - 05:49:44 EST


This series enables apps-smmu, the "arm,mmu-500" instance
on sdm845.
Series tested on SDM845 MTP device with related smmu patch series [1],
and necessary config change, besides one hack to keep LDO14 in LPM mode
to boot things up (see the commit in the test branch).
The tested branch is available at [2].

Changes since v3:
- Refined the dt binding documentation more to align with
Rob's comments for qcom,smmu-v2 binding documentation [3]
on SoC specific compatibles and state things similar
to qcom,smmu-v2 [4].

Changes since v2:
- Dropped patch for gpu-smmu [5] as the same has been pushed by
Jordan [6] after incorporating the dt binding update.
- Updated binding doc to include valid value for '<soc>'
in "qcom,<soc>-smmu-500" compatible string.

Changes since v1:
- Addressed Rob's review comments by adding a SoC specific compatible.
Have added a new dt-bindings patch for this.
- Updated node name to 'iommu'.
- Addressed Doug's review comment about removing status property from
smmu's nodes, as smmu is either present on the soc or not. Enabling
it is not a board-level decision.

[1] https://patchwork.kernel.org/cover/10581891/
[2] https://github.com/vivekgautam1/linux/commits/v4.19-rc7/sdm845-smmu-dt
[3] https://patchwork.kernel.org/patch/10576937/
[4] https://patchwork.kernel.org/patch/10581911/
[5] https://patchwork.kernel.org/patch/10565295/
[6] https://patchwork.kernel.org/patch/10577297/

Vivek Gautam (2):
dt-bindings: arm-smmu: Add binding doc for Qcom smmu-500
dts: arm64/sdm845: Add node for arm,mmu-500

.../devicetree/bindings/iommu/arm,smmu.txt | 4 ++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 72 ++++++++++++++++++++++
2 files changed, 76 insertions(+)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation