* [PATCH/RFC] ARM: dts: r8a7790: IPMMU-MX DU prototype
@ 2016-09-20 12:06 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2016-09-20 12:06 UTC (permalink / raw)
To: linux-renesas-soc; +Cc: Magnus Damm
From: Magnus Damm <damm+renesas@opensource.se>
These two hunks of code enable the r8a7790 IPMMU-MX instance together with
the DU device on r8a7790. Depending on kernel version LPAE may need to
be enabled before the IPMMU driver becomes available.
Useful to test the IPMMU with the DU via the VGA port on r8a7790 Lager.
# modetest -M rcar-du -s 60:800x600
Not-Yet-Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---
Tested with renesas-drivers-2016-09-13-v4.8-rc6
arch/arm/boot/dts/r8a7790.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- 0001/arch/arm/boot/dts/r8a7790.dtsi
+++ work/arch/arm/boot/dts/r8a7790.dtsi 2016-09-20 20:17:26.000000000 +0900
@@ -985,6 +985,7 @@
<&mstp7_clks R8A7790_CLK_LVDS0>,
<&mstp7_clks R8A7790_CLK_LVDS1>;
clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
+ iommus = <&ipmmu_mx 15>, <&ipmmu_mx 16>;
status = "disabled";
ports {
@@ -1893,7 +1894,7 @@
interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
#iommu-cells = <1>;
- status = "disabled";
+ status = "okay";
};
ipmmu_rt: mmu@ffc80000 {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-20 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 12:06 [PATCH/RFC] ARM: dts: r8a7790: IPMMU-MX DU prototype Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).