On Wed, Mar 21, 2018 at 09:51:33AM +0100, Simon Horman wrote:
> On Tue, Mar 20, 2018 at 04:51:07PM +0900, Magnus Damm wrote:
> > From: Magnus Damm <[email protected]>
> >
> > Judging by "R-Car-Gen3-rev0.80" IPMMU IMSSTR register documentation
> > for [R-Car V3M] the DS1 bit field should be bit 0.
> >
> > Update the ipmmu-main property to make it match the data sheet.
>
> Thanks, I have confirmed this. Apologies for this error.
>
> AFIK this IP block is currently unused, I wonder if it,
> ipmmu_mm and ipmmu_rt should have status = "disabled" added.
Sorry, I take that back, I now see the nodes used elsewhere in
the same DT file.
>
> For now I have applied this change to v4.18 with the following tag:
>
> Fixes: ce3b52a1595b ("arm64: dts: renesas: r8a77970: Add IPMMU device
> nodes")
>
> > Signed-off-by: Magnus Damm <[email protected]>
> > ---
> > Based on top of renesas-drivers-2018-03-13-v4.16-rc5
> >
> > arch/arm64/boot/dts/renesas/r8a77970.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- 0001/arch/arm64/boot/dts/renesas/r8a77970.dtsi
> > +++ work/arch/arm64/boot/dts/renesas/r8a77970.dtsi 2018-03-20
> > 15:26:18.250607110 +0900
> > @@ -160,7 +160,7 @@
> > ipmmu_ds1: mmu@e7740000 {
> > compatible = "renesas,ipmmu-r8a77970";
> > reg = <0 0xe7740000 0 0x1000>;
> > - renesas,ipmmu-main = <&ipmmu_mm 1>;
> > + renesas,ipmmu-main = <&ipmmu_mm 0>;
> > power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
> > #iommu-cells = <1>;
> > };
> >
>