[PATCH 20/20] arm64: dts: renesas: r8a774e1: Add VIN and CSI-2 nodes

Lad, Prabhakar prabhakar.csengg at gmail.com
Thu Aug 6 13:16:55 CEST 2020


Hi Geert,

Thank you for the review.

On Wed, Aug 5, 2020 at 12:19 PM Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Thu, Jul 16, 2020 at 7:20 PM Lad Prabhakar
> <prabhakar.mahadev-lad.rj at bp.renesas.com> wrote:
> > Add VIN and CSI-2 nodes to RZ/G2H (R8A774E1) SoC dtsi.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> > Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb at bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
>
> However, before I queue this in renesas-devel for v5.10, I'd like to
> have some clarification about the issue below.
>
> > --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi
>
> > +               vin4: video at e6ef4000 {
> > +                       compatible = "renesas,vin-r8a774e1";
> > +                       reg = <0 0xe6ef4000 0 0x1000>;
> > +                       interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
> > +                       clocks = <&cpg CPG_MOD 807>;
> > +                       power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>;
> > +                       resets = <&cpg 807>;
> > +                       renesas,id = <4>;
> > +                       status = "disabled";
> > +
> > +                       ports {
> > +                               #address-cells = <1>;
> > +                               #size-cells = <0>;
> > +
> > +                               port at 1 {
> > +                                       #address-cells = <1>;
> > +                                       #size-cells = <0>;
>
> "make dtbs W=1" says:
>
>     arch/arm64/boot/dts/renesas/r8a774e1.dtsi:1562.12-1572.7: Warning
> (graph_child_address): /soc/video at e6ef4000/ports/port at 1: graph node
> has single child node 'endpoint at 0', #address-cells/#size-cells are not
> necessary
>
> (same for vin5-7 below)
>
Referring to commit 5e53dbf4edb4d ("arm64: dts: renesas: r8a77990: Fix
VIN endpoint numbering") we definitely need endpoint numbering.
Probably the driver needs to be fixed to handle such cases.

Cheers,
Prabhakar

> > +
> > +                                       reg = <1>;
> > +
> > +                                       vin4csi20: endpoint at 0 {
> > +                                               reg = <0>;
> > +                                               remote-endpoint = <&csi20vin4>;
> > +                                       };
>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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


More information about the Alsa-devel mailing list