linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
To: Simon Horman <horms@verge.net.au>
Cc: Rob Herring <robh+dt@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Mark Rutland <mark.rutland@arm.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	"linux-renesas-soc@vger.kernel.org" 
	<linux-renesas-soc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>
Subject: RE: [PATCH 11/17] arm64: dts: renesas: r8a774c0: Add USB-DMAC and HSUSB device nodes
Date: Mon, 17 Dec 2018 12:17:12 +0000	[thread overview]
Message-ID: <TY1PR01MB1770B4A08F1C04979B88C0FBC0BC0@TY1PR01MB1770.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20181217105437.u2lgri7iuomjn7wq@verge.net.au>

Hello Simon,

Thank you for your feedback!

> From: Simon Horman <horms@verge.net.au>
> Sent: 17 December 2018 10:55
> To: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Subject: Re: [PATCH 11/17] arm64: dts: renesas: r8a774c0: Add USB-DMAC and HSUSB device nodes
>
> On Fri, Dec 14, 2018 at 09:37:34AM +0000, Fabrizio Castro wrote:
> > Add usb dmac and hsusb device nodes on RZ/G2E SoC dtsi.
> >
> > Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> > ---
> >  arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 45 +++++++++++++++++++++++++++++++
> >  1 file changed, 45 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
> > index 0ab3aa6..79cdaac 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
> > @@ -514,6 +514,51 @@
> >  status = "disabled";
> >  };
> >
> > +hsusb: usb@e6590000 {
> > +compatible = "renesas,usbhs-r8a774c0",
> > +     "renesas,rcar-gen3-usbhs";
> > +reg = <0 0xe6590000 0 0x200>;
>
> The above looks good but while reviewing this patch I noticed
> that the size of the hsusb register range on in the DT for r8a774a1
> is 0x100, Is that correct?

That is a good catch! No, I don't think it's correct, I'll send a patch to fix that.

Thanks,
Fab

>
> As for this patch, it looks good to me but I will wait to see if there are
> other reviews before applying.
>
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
>
> > +interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
> > +clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
> > +dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
> > +       <&usb_dmac1 0>, <&usb_dmac1 1>;
> > +dma-names = "ch0", "ch1", "ch2", "ch3";
> > +renesas,buswait = <11>;
> > +phys = <&usb2_phy0>;
> > +phy-names = "usb";
> > +power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
> > +resets = <&cpg 704>, <&cpg 703>;
> > +status = "disabled";
> > +};
> > +
> > +usb_dmac0: dma-controller@e65a0000 {
> > +compatible = "renesas,r8a774c0-usb-dmac",
> > +     "renesas,usb-dmac";
> > +reg = <0 0xe65a0000 0 0x100>;
> > +interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
> > +      GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
> > +interrupt-names = "ch0", "ch1";
> > +clocks = <&cpg CPG_MOD 330>;
> > +power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
> > +resets = <&cpg 330>;
> > +#dma-cells = <1>;
> > +dma-channels = <2>;
> > +};
> > +
> > +usb_dmac1: dma-controller@e65b0000 {
> > +compatible = "renesas,r8a774c0-usb-dmac",
> > +     "renesas,usb-dmac";
> > +reg = <0 0xe65b0000 0 0x100>;
> > +interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
> > +      GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
> > +interrupt-names = "ch0", "ch1";
> > +clocks = <&cpg CPG_MOD 331>;
> > +power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
> > +resets = <&cpg 331>;
> > +#dma-cells = <1>;
> > +dma-channels = <2>;
> > +};
> > +
> >  dmac0: dma-controller@e6700000 {
> >  compatible = "renesas,dmac-r8a774c0",
> >       "renesas,rcar-dmac";
> > --
> > 2.7.4
> >


[https://www2.renesas.eu/media/email/unicef.jpg]

This Christmas, instead of sending out cards, Renesas Electronics Europe have decided to support Unicef with a donation. For further details click here<https://www.unicef.org/> to find out about the valuable work they do, helping children all over the world.
We would like to take this opportunity to wish you a Merry Christmas and a prosperous New Year.



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

  reply	other threads:[~2018-12-17 12:17 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-14  9:37 [PATCH 00/17] Add more support for the RZ/G2E Fabrizio Castro
2018-12-14  9:37 ` [PATCH 01/17] arm64: dts: renesas: r8a774c0: Add SDHI nodes Fabrizio Castro
2018-12-16 20:18   ` Simon Horman
2018-12-17 16:10   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 02/17] arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support Fabrizio Castro
2018-12-16 20:17   ` Simon Horman
2018-12-17 11:24     ` Fabrizio Castro
2018-12-17 11:50       ` Simon Horman
2018-12-17 12:19         ` Fabrizio Castro
2018-12-17 16:12   ` Geert Uytterhoeven
2018-12-17 16:17     ` Fabrizio Castro
2018-12-14  9:37 ` [PATCH 03/17] arm64: dts: renesas: r8a774c0: Add IPMMU device nodes Fabrizio Castro
2018-12-16 20:32   ` Simon Horman
2018-12-17 16:12   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 04/17] arm64: dts: renesas: r8a774c0: Add CAN nodes Fabrizio Castro
2018-12-16 20:39   ` Simon Horman
2018-12-17 16:13   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 05/17] arm64: dts: renesas: r8a774c0: Add thermal support Fabrizio Castro
2018-12-16 20:43   ` Simon Horman
2018-12-17 16:13   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 06/17] arm64: dts: renesas: r8a774c0: Add MSIOF nodes Fabrizio Castro
2018-12-16 20:51   ` Simon Horman
2018-12-17 16:14   ` Geert Uytterhoeven
2018-12-17 16:26   ` Sergei Shtylyov
2018-12-17 16:36     ` Fabrizio Castro
2018-12-17 16:46       ` Sergei Shtylyov
2018-12-14  9:37 ` [PATCH 07/17] arm64: dts: renesas: r8a774c0: Add audio support Fabrizio Castro
2018-12-17 10:21   ` Simon Horman
2018-12-17 11:38     ` Fabrizio Castro
2018-12-17 11:48       ` Simon Horman
2018-12-14  9:37 ` [PATCH 08/17] arm64: dts: renesas: r8a774c0: Add PWM support Fabrizio Castro
2018-12-17 10:25   ` Simon Horman
2018-12-17 16:14   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 09/17] arm64: dts: renesas: r8a774c0: Add display output support Fabrizio Castro
2018-12-17 10:44   ` Simon Horman
2018-12-14  9:37 ` [PATCH 10/17] arm64: dts: renesas: r8a774c0: Add USB2.0 phy and host device nodes Fabrizio Castro
2018-12-17 10:48   ` Simon Horman
2018-12-17 16:15   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 11/17] arm64: dts: renesas: r8a774c0: Add USB-DMAC and HSUSB " Fabrizio Castro
2018-12-17 10:54   ` Simon Horman
2018-12-17 12:17     ` Fabrizio Castro [this message]
2018-12-17 12:42       ` Simon Horman
2018-12-17 16:17   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 12/17] arm64: dts: renesas: r8a774c0: Add USB3.0 " Fabrizio Castro
2018-12-17 10:57   ` Simon Horman
2018-12-17 16:17   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 13/17] arm64: dts: renesas: r8a774c0: Connect RZ/G2E SYS-DMAC to IPMMU Fabrizio Castro
2018-12-17 11:03   ` Simon Horman
2018-12-17 16:18   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 14/17] arm64: dts: renesas: r8a774c0: Connect RZ/G2E AVB " Fabrizio Castro
2018-12-17 11:03   ` Simon Horman
2018-12-17 16:19   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 15/17] arm64: dts: renesas: r8a774c0: Connect RZ/G2E Audio-DMAC " Fabrizio Castro
2018-12-17 11:03   ` Simon Horman
2018-12-17 16:19   ` Geert Uytterhoeven
2018-12-14  9:37 ` [PATCH 16/17] arm64: dts: renesas: r8a774c0: Add PCIe device node Fabrizio Castro
2018-12-17 11:12   ` Simon Horman
2018-12-14  9:37 ` [PATCH 17/17] arm64: dts: renesas: r8a774c0: Add VIN and CSI-2 device nodes Fabrizio Castro
2018-12-17 11:18   ` Simon Horman
2018-12-18 10:55 ` [PATCH 00/17] Add more support for the RZ/G2E Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TY1PR01MB1770B4A08F1C04979B88C0FBC0BC0@TY1PR01MB1770.jpnprd01.prod.outlook.com \
    --to=fabrizio.castro@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).