arm64: dts: r8a7795: IPMMU upstream integration V3

[PATCH v3 01/09] arm64: dts: r8a7795: Add IPMMU device nodes
[PATCH v3 02/09] arm64: dts: r8a7795: Tie Audio/SYS-DMAC to IPMMU-DS0/1 and MP1
[PATCH v3 03/09] arm64: dts: r8a7795: Point DU/VSPD via FCPVD to IPMMU-VI
[PATCH v3 04/09] arm64: dts: r8a7795: Point FDP1 via FCPF to IPMMU-VP
[PATCH v3 05/09] arm64: dts: r8a7795: Point VSPBC/VSPBD via FCPVB to IPMMU-VP
[PATCH v3 06/09] arm64: dts: r8a7795: Point VSPI via FCPVI to IPMMU-VP
[PATCH v3 07/09] arm64: dts: r8a7795: Connect Ethernet-AVB to IPMMU-DS0
[PATCH v3 08/09] arm64: dts: r8a7795: Connect SATA to IPMMU-HC
[PATCH v3 09/09] arm64: dts: r8a7795: Enable IPMMU-VI, VP, MP1, DS0, DS1 and MM

This series adds DT nodes for IPMMU instances on r8a7795 together with
connections to various r8a7795 on-chip devices such as Audio-DMAC, SYS-DMAC,
Ethernet-AVB, SATA and a bunch of multimedia devices that make use of FCP.

With these patches applied a white list enabled IPMMU driver may be used
to check silicon revision and then enable IPMMU in the known working cases.

The recommended IPMMU driver patch stack consists of the following series:
 [PATCH v7 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V7
 [PATCH v3 00/09] iommu/ipmmu-vmsa: r8a7795 support V3
 [PATCH v3 0/3] iommu/ipmmu-vmsa: r8a7796 support V3

The final patch in the series enable IPMMU support for all IPMMU instances
on r8a7795 that are used by IPMMU devices listed above with one exception.
The exception is the SATA device connected to IPMMU-HC which still is disabled
pending IPMMU USB integration support. I expect IPMMU USB integration to be
handled as a second step once this series is agreed on.

The DT binding for r8a7795 has since long been included in mainline
and this series implements support following such format:

d4e42e7 iommu/ipmmu-vmsa: Add r8a7795 DT binding

Changes since V2:
 - Added the iommus property before power domains - thanks Geert!
 - Added reviewed-by to patch 2 and 3 from Laurent - thanks!
 - Re-added Ethernet and FCPVD patches (They were present in V1 but not V2)
 - Added remaining FCP devices such as FCPF, FCPVB and FCPVI
 - Added SATA device
 - Added final patch to enable various IPMMU devices in the DTS file

Since the DT binding has been merged quite some time ago and the interface
seems stable enough I see no reason not to queue these up for upstream merge.

Signed-off-by: Magnus Damm <damm+rene...@opensource.se>
---

 Developed on top of renesas-devel-20170313-v4.11-rc2

 No special run time or compile time dependencies.

 arch/arm64/boot/dts/renesas/r8a7795.dtsi |  173 ++++++++++++++++++++++++++++--
 1 file changed, 167 insertions(+), 6 deletions(-)

Reply via email to