Message ID | 20171110132612.1589-2-horms+renesas@verge.net.au (mailing list archive) |
---|---|
State | Accepted |
Commit | 389baa409617cda237ae8ae6dd4e897a2d072710 |
Delegated to: | Simon Horman |
Headers | show |
Hi Simon, On Fri, Nov 10, 2017 at 2:26 PM, Simon Horman <horms+renesas@verge.net.au> wrote: > From: Magnus Damm <damm+renesas@opensource.se> > > Add r8a7796 IPMMU nodes and keep all disabled by default. > > Signed-off-by: Magnus Damm <damm+renesas@opensource.se> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au> > --- > v2 [Simon Horman] > * Drop mostly redundant comments from nodes > * Add power domains Thanks for the update! With the below fixed: Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi [...] > + ipmmu_vc0: mmu@fe6b0000 { > + compatible = "renesas,ipmmu-r8a7796"; > + reg = <0 0xfe6b0000 0 0x1000>; > + renesas,ipmmu-main = <&ipmmu_mm 8>; > + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; R8A7796_PD_A3VC > + #iommu-cells = <1>; > + status = "disabled"; > + }; [...] > + ipmmu_ds0: mmu@e6740000 { > + compatible = "renesas,ipmmu-r8a7796"; > + reg = <0 0xe6740000 0 0x1000>; > + renesas,ipmmu-main = <&ipmmu_mm 0>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; > + #iommu-cells = <1>; > + status = "disabled"; > + }; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On Wed, Nov 15, 2017 at 03:41:14PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Fri, Nov 10, 2017 at 2:26 PM, Simon Horman > <horms+renesas@verge.net.au> wrote: > > From: Magnus Damm <damm+renesas@opensource.se> > > > > Add r8a7796 IPMMU nodes and keep all disabled by default. > > > > Signed-off-by: Magnus Damm <damm+renesas@opensource.se> > > Signed-off-by: Simon Horman <horms+renesas@verge.net.au> > > --- > > v2 [Simon Horman] > > * Drop mostly redundant comments from nodes > > * Add power domains > > Thanks for the update! > > With the below fixed: > Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, I have applied this patch with those fixes and your tag. > > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi > > [...] > > > + ipmmu_vc0: mmu@fe6b0000 { > > + compatible = "renesas,ipmmu-r8a7796"; > > + reg = <0 0xfe6b0000 0 0x1000>; > > + renesas,ipmmu-main = <&ipmmu_mm 8>; > > + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; > > R8A7796_PD_A3VC > > > + #iommu-cells = <1>; > > + status = "disabled"; > > + }; > > [...] > > > + ipmmu_ds0: mmu@e6740000 { > > + compatible = "renesas,ipmmu-r8a7796"; > > + reg = <0 0xe6740000 0 0x1000>; > > + renesas,ipmmu-main = <&ipmmu_mm 0>; > > power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; > > > + #iommu-cells = <1>; > > + status = "disabled"; > > + }; > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >
diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index 8c94a313d9e1..cb66b722ceb9 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -357,6 +357,105 @@ <&a53_3>; }; + ipmmu_vi0: mmu@febd0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfebd0000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 9>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_vc0: mmu@fe6b0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfe6b0000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 8>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_pv0: mmu@fd800000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfd800000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 5>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_pv1: mmu@fd950000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfd950000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 6>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ir: mmu@ff8b0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xff8b0000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 3>; + power-domains = <&sysc R8A7796_PD_A3IR>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_hc: mmu@e6570000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xe6570000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 2>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_rt: mmu@ffc80000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xffc80000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 7>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_mp: mmu@ec670000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xec670000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 4>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ds0: mmu@e6740000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xe6740000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ds1: mmu@e7740000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xe7740000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 1>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_mm: mmu@e67b0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xe67b0000 0 0x1000>; + interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + #iommu-cells = <1>; + status = "disabled"; + }; + cpg: clock-controller@e6150000 { compatible = "renesas,r8a7796-cpg-mssr"; reg = <0 0xe6150000 0 0x1000>;