[PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances

2017-06-21 Thread Laurent Pinchart
The r8a7796 has 5 VSP instances.

Signed-off-by: Laurent Pinchart 
Reviewed-by: Geert Uytterhoeven 
---
 arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 
 1 file changed, 50 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi 
b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index 28b0e2127021..ad9cd1c3199f 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -1447,6 +1447,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
 
+   vspb: vsp@fe96 {
+   compatible = "renesas,vsp2";
+   reg = <0 0xfe96 0 0x8000>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 626>;
+   power-domains = <&sysc R8A7796_PD_A3VC>;
+
+   renesas,fcp = <&fcpvb0>;
+   };
+
fcpvb0: fcp@fe96f000 {
compatible = "renesas,fcpv";
reg = <0 0xfe96f000 0 0x200>;
@@ -1454,6 +1464,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
 
+   vspi0: vsp@fe9a {
+   compatible = "renesas,vsp2";
+   reg = <0 0xfe9a 0 0x8000>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 631>;
+   power-domains = <&sysc R8A7796_PD_A3VC>;
+
+   renesas,fcp = <&fcpvi0>;
+   };
+
fcpvi0: fcp@fe9af000 {
compatible = "renesas,fcpv";
reg = <0 0xfe9af000 0 0x200>;
@@ -1461,6 +1481,16 @@
power-domains = <&sysc R8A7796_PD_A3VC>;
};
 
+   vspd0: vsp@fea2 {
+   compatible = "renesas,vsp2";
+   reg = <0 0xfea2 0 0x4000>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 623>;
+   power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+   renesas,fcp = <&fcpvd0>;
+   };
+
fcpvd0: fcp@fea27000 {
compatible = "renesas,fcpv";
reg = <0 0xfea27000 0 0x200>;
@@ -1468,6 +1498,16 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
 
+   vspd1: vsp@fea28000 {
+   compatible = "renesas,vsp2";
+   reg = <0 0xfea28000 0 0x4000>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 622>;
+   power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+   renesas,fcp = <&fcpvd1>;
+   };
+
fcpvd1: fcp@fea2f000 {
compatible = "renesas,fcpv";
reg = <0 0xfea2f000 0 0x200>;
@@ -1475,6 +1515,16 @@
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
};
 
+   vspd2: vsp@fea3 {
+   compatible = "renesas,vsp2";
+   reg = <0 0xfea3 0 0x4000>;
+   interrupts = ;
+   clocks = <&cpg CPG_MOD 621>;
+   power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+
+   renesas,fcp = <&fcpvd2>;
+   };
+
fcpvd2: fcp@fea37000 {
compatible = "renesas,fcpv";
reg = <0 0xfea37000 0 0x200>;
-- 
Regards,

Laurent Pinchart



Re: [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances

2017-07-12 Thread Geert Uytterhoeven
Hi Laurent, Simon,

On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
 wrote:
> The r8a7796 has 5 VSP instances.
>
> Signed-off-by: Laurent Pinchart 
> Reviewed-by: Geert Uytterhoeven 

Ah, the pitfalls of reposting patches 8 months later...

> ---
>  arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 
> 
>  1 file changed, 50 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi 
> b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> index 28b0e2127021..ad9cd1c3199f 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> @@ -1447,6 +1447,16 @@
> power-domains = <&sysc R8A7796_PD_A3VC>;
> };
>
> +   vspb: vsp@fe96 {
> +   compatible = "renesas,vsp2";
> +   reg = <0 0xfe96 0 0x8000>;
> +   interrupts = ;
> +   clocks = <&cpg CPG_MOD 626>;
> +   power-domains = <&sysc R8A7796_PD_A3VC>;

... missing resets properties.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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


Re: [PATCH v2 3/7] arm64: dts: renesas: r8a7796: Add VSP instances

2017-07-13 Thread Simon Horman
On Wed, Jul 12, 2017 at 09:24:22AM +0200, Geert Uytterhoeven wrote:
> Hi Laurent, Simon,
> 
> On Wed, Jun 21, 2017 at 11:31 AM, Laurent Pinchart
>  wrote:
> > The r8a7796 has 5 VSP instances.
> >
> > Signed-off-by: Laurent Pinchart 
> > Reviewed-by: Geert Uytterhoeven 
> 
> Ah, the pitfalls of reposting patches 8 months later...
> 
> > ---
> >  arch/arm64/boot/dts/renesas/r8a7796.dtsi | 50 
> > 
> >  1 file changed, 50 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi 
> > b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > index 28b0e2127021..ad9cd1c3199f 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
> > @@ -1447,6 +1447,16 @@
> > power-domains = <&sysc R8A7796_PD_A3VC>;
> > };
> >
> > +   vspb: vsp@fe96 {
> > +   compatible = "renesas,vsp2";
> > +   reg = <0 0xfe96 0 0x8000>;
> > +   interrupts = ;
> > +   clocks = <&cpg CPG_MOD 626>;
> > +   power-domains = <&sysc R8A7796_PD_A3VC>;
> 
> ... missing resets properties.

Sorry for letting that slip through.
Laurent, please send an incremental patch.