All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH  0/4] ARM: dts: Add USB function support
@ 2017-10-09 13:21 Biju Das
  2017-10-09 13:21 ` [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node Biju Das
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Biju Das @ 2017-10-09 13:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

Hello,

This series aims to add USB function support for iWave RZ/G1M (R8A7743) board.
This series has been tested against renesas-dev tag 201710109-v4.14-rc4.

This patch has documentation dependency on below patches

* [v2] usb: renesas_usbhs: Add compatible string for r8a7743/5
https://patchwork.kernel.org/patch/9990063/
* [v2] dmaengine: usb-dmac: Add compatible string for r8a7743/5
https://patchwork.kernel.org/patch/9990113/

Regards,

Biju Das (4):
  ARM: dts: r8a7743: Add HS-USB device node
  ARM: dts: iwg20d-q7: Enable HS-USB
  ARM: dts: r8a7743: Add USB-DMAC device nodes
  ARM: dts: r8a7743: Enable DMA for HSUSB

 arch/arm/boot/dts/iwg20d-q7-common.dtsi |  8 +++++-
 arch/arm/boot/dts/r8a7743.dtsi          | 45 +++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 1 deletion(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH  1/4] ARM: dts: r8a7743: Add HS-USB device node
  2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
@ 2017-10-09 13:21 ` Biju Das
       [not found]   ` <1507555281-57845-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
  2017-10-09 13:21 ` [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB Biju Das
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-09 13:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

Define the R8A7743 generic part of the HS-USB device node. It is up to the
board file to enable the device.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
This patch has documentation dependency on below patch

* [v2] usb: renesas_usbhs: Add compatible string for r8a7743/5
https://patchwork.kernel.org/patch/9990063/

 arch/arm/boot/dts/r8a7743.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index d541fd9..080eff9 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -945,6 +945,20 @@
 			status = "disabled";
 		};
 
+		hsusb: usb@e6590000 {
+			compatible = "renesas,usbhs-r8a7743",
+				     "renesas,rcar-gen2-usbhs";
+			reg = <0 0xe6590000 0 0x100>;
+			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 704>;
+			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
+			resets = <&cpg 704>;
+			renesas,buswait = <4>;
+			phys = <&usb0 1>;
+			phy-names = "usb";
+			status = "disabled";
+		};
+
 		usbphy: usb-phy@e6590100 {
 			compatible = "renesas,usb-phy-r8a7743",
 				     "renesas,rcar-gen2-usb-phy";
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH  2/4] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
  2017-10-09 13:21 ` [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node Biju Das
@ 2017-10-09 13:21 ` Biju Das
       [not found]   ` <1507555281-57845-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
  2017-10-09 13:21 ` [PATCH 3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes Biju Das
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-09 13:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

Enable HS-USB device for the iWave G20D-Q7 carrier board based on
RZ/G1M.
Also disable the host mode support on usb otg port by default to avoid
pin conflicts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
 arch/arm/boot/dts/iwg20d-q7-common.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 1c072c0..e6b50c6 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -58,6 +58,12 @@
 	};
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
 &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	pinctrl-names = "default";
@@ -72,7 +78,7 @@
 };
 
 &pci0 {
-	status = "okay";
+	status = "disabled";
 	pinctrl-0 = <&usb0_pins>;
 	pinctrl-names = "default";
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH  3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes
  2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
  2017-10-09 13:21 ` [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node Biju Das
  2017-10-09 13:21 ` [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB Biju Das
@ 2017-10-09 13:21 ` Biju Das
  2017-10-11 12:55   ` Geert Uytterhoeven
  2017-10-09 13:21 ` [PATCH 4/4] ARM: dts: r8a7743: Enable DMA for HSUSB Biju Das
  2017-10-12 11:47 ` [PATCH 0/4] ARM: dts: Add USB function support Simon Horman
  4 siblings, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-09 13:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
This patch has documentation dependency on below patch

* [v2] dmaengine: usb-dmac: Add compatible string for r8a7743/5
https://patchwork.kernel.org/patch/9990113/


 arch/arm/boot/dts/r8a7743.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 080eff9..de89295 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -355,6 +355,34 @@
 			dma-channels = <15>;
 		};
 
+		usb_dmac0: dma-controller@e65a0000 {
+			compatible = "renesas,r8a7743-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 R8A7743_PD_ALWAYS_ON>;
+			resets = <&cpg 330>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller@e65b0000 {
+			compatible = "renesas,r8a7743-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 R8A7743_PD_ALWAYS_ON>;
+			resets = <&cpg 331>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
 		/* The memory map in the User's Manual maps the cores to bus
 		 *  numbers
 		 */
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH  4/4] ARM: dts: r8a7743: Enable DMA for HSUSB
  2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
                   ` (2 preceding siblings ...)
  2017-10-09 13:21 ` [PATCH 3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes Biju Das
@ 2017-10-09 13:21 ` Biju Das
  2017-10-11 12:56   ` Geert Uytterhoeven
  2017-10-12 11:47 ` [PATCH 0/4] ARM: dts: Add USB function support Simon Horman
  4 siblings, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-09 13:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

This patch adds DMA properties to the HSUSB node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
 arch/arm/boot/dts/r8a7743.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index de89295..699c040 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -979,6 +979,9 @@
 			reg = <0 0xe6590000 0 0x100>;
 			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 704>;
+			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
+			       <&usb_dmac1 0>, <&usb_dmac1 1>;
+			dma-names = "ch0", "ch1", "ch2", "ch3";
 			power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
 			resets = <&cpg 704>;
 			renesas,buswait = <4>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-09 13:21 ` [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB Biju Das
@ 2017-10-09 16:18       ` Sergei Shtylyov
  0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2017-10-09 16:18 UTC (permalink / raw)
  To: Biju Das, Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA

Hello!

On 10/09/2017 04:21 PM, Biju Das wrote:

> Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> RZ/G1M.
> Also disable the host mode support on usb otg port by default to avoid
> pin conflicts.
> 
> Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
> Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> ---
>   arch/arm/boot/dts/iwg20d-q7-common.dtsi | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> index 1c072c0..e6b50c6 100644
> --- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> +++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
[...]
> @@ -72,7 +78,7 @@
>   };
>   
>   &pci0 {
> -	status = "okay";
> +	status = "disabled";

    I think you may just omit this prop -- you most prolly have it "disabloed" 
in the R8A7743's DT.

>   	pinctrl-0 = <&usb0_pins>;
>   	pinctrl-names = "default";
>   };

MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB
@ 2017-10-09 16:18       ` Sergei Shtylyov
  0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2017-10-09 16:18 UTC (permalink / raw)
  To: Biju Das, Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc

Hello!

On 10/09/2017 04:21 PM, Biju Das wrote:

> Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> RZ/G1M.
> Also disable the host mode support on usb otg port by default to avoid
> pin conflicts.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> ---
>   arch/arm/boot/dts/iwg20d-q7-common.dtsi | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> index 1c072c0..e6b50c6 100644
> --- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> +++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
[...]
> @@ -72,7 +78,7 @@
>   };
>   
>   &pci0 {
> -	status = "okay";
> +	status = "disabled";

    I think you may just omit this prop -- you most prolly have it "disabloed" 
in the R8A7743's DT.

>   	pinctrl-0 = <&usb0_pins>;
>   	pinctrl-names = "default";
>   };

MBR, Sergei

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-09 16:18       ` Sergei Shtylyov
  (?)
@ 2017-10-10  7:30       ` Simon Horman
  2017-10-10  8:30         ` Biju Das
  2017-10-11  9:04         ` [PATCH v2] " Biju Das
  -1 siblings, 2 replies; 19+ messages in thread
From: Simon Horman @ 2017-10-10  7:30 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Biju Das, Rob Herring, Mark Rutland, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree,
	linux-renesas-soc

On Mon, Oct 09, 2017 at 07:18:24PM +0300, Sergei Shtylyov wrote:
> Hello!
> 
> On 10/09/2017 04:21 PM, Biju Das wrote:
> 
> >Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> >RZ/G1M.
> >Also disable the host mode support on usb otg port by default to avoid
> >pin conflicts.
> >
> >Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> >Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> >---
> >  arch/arm/boot/dts/iwg20d-q7-common.dtsi | 8 +++++++-
> >  1 file changed, 7 insertions(+), 1 deletion(-)
> >
> >diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> >index 1c072c0..e6b50c6 100644
> >--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> >+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> [...]
> >@@ -72,7 +78,7 @@
> >  };
> >  &pci0 {
> >-	status = "okay";
> >+	status = "disabled";
> 
>    I think you may just omit this prop -- you most prolly have it
> "disabloed" in the R8A7743's DT.

Yes, I expect so too.

> >  	pinctrl-0 = <&usb0_pins>;
> >  	pinctrl-names = "default";
> >  };
> 
> MBR, Sergei
> 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* RE: [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-10  7:30       ` Simon Horman
@ 2017-10-10  8:30         ` Biju Das
  2017-10-11  9:04         ` [PATCH v2] " Biju Das
  1 sibling, 0 replies; 19+ messages in thread
From: Biju Das @ 2017-10-10  8:30 UTC (permalink / raw)
  To: Simon Horman, Sergei Shtylyov
  Cc: Rob Herring, Mark Rutland, Yoshihiro Shimoda, Magnus Damm,
	Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc



> -----Original Message-----
> From: Simon Horman [mailto:horms@verge.net.au]
> Sent: 10 October 2017 08:31
> To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Cc: Biju Das <biju.das@bp.renesas.com>; Rob Herring <robh+dt@kernel.org>;
> Mark Rutland <mark.rutland@arm.com>; Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com>; Magnus Damm
> <magnus.damm@gmail.com>; Chris Paterson <Chris.Paterson2@renesas.com>;
> Fabrizio Castro <fabrizio.castro@bp.renesas.com>;
> devicetree@vger.kernel.org; linux-renesas-soc@vger.kernel.org
> Subject: Re: [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB
>
> On Mon, Oct 09, 2017 at 07:18:24PM +0300, Sergei Shtylyov wrote:
> > Hello!
> >
> > On 10/09/2017 04:21 PM, Biju Das wrote:
> >
> > >Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> > >RZ/G1M.
> > >Also disable the host mode support on usb otg port by default to
> > >avoid pin conflicts.
> > >
> > >Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> > >Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> > >---
> > >  arch/arm/boot/dts/iwg20d-q7-common.dtsi | 8 +++++++-
> > >  1 file changed, 7 insertions(+), 1 deletion(-)
> > >
> > >diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> > >b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> > >index 1c072c0..e6b50c6 100644
> > >--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> > >+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> > [...]
> > >@@ -72,7 +78,7 @@
> > >  };
> > >  &pci0 {
> > >-status = "okay";
> > >+status = "disabled";
> >
> >    I think you may just omit this prop -- you most prolly have it
> > "disabloed" in the R8A7743's DT.
>
> Yes, I expect so too.

Thanks for the comments. I will send v2 with dropping "status" property .

> > >  pinctrl-0 = <&usb0_pins>;
> > >  pinctrl-names = "default";
> > >  };
> >



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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH v2] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-10  7:30       ` Simon Horman
  2017-10-10  8:30         ` Biju Das
@ 2017-10-11  9:04         ` Biju Das
       [not found]           ` <1507712673-57370-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
  1 sibling, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-11  9:04 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Simon Horman, Yoshihiro Shimoda, Magnus Damm, Chris Paterson,
	Fabrizio Castro, devicetree, linux-renesas-soc, Biju Das

Enable HS-USB device for the iWave G20D-Q7 carrier board based on
RZ/G1M.
Also disable the host mode support on usb otg port by default to avoid
pin conflicts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
v1-->v2 
    * Dropped "status" property,to disable host mode support on USB otg 
      port by default.

This patch has been tested against renesas-dev tag 20171011-v4.14-rc4.

 arch/arm/boot/dts/iwg20d-q7-common.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 1c072c0..efd8af9 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -58,6 +58,12 @@
 	};
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
 &i2c2 {
 	pinctrl-0 = <&i2c2_pins>;
 	pinctrl-names = "default";
@@ -72,7 +78,6 @@
 };
 
 &pci0 {
-	status = "okay";
 	pinctrl-0 = <&usb0_pins>;
 	pinctrl-names = "default";
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node
  2017-10-09 13:21 ` [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node Biju Das
@ 2017-10-11 12:48       ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:48 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas

On Mon, Oct 9, 2017 at 3:21 PM, Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote:
> Define the R8A7743 generic part of the HS-USB device node. It is up to the
> board file to enable the device.
>
> Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
> Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node
@ 2017-10-11 12:48       ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:48 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree,
	Linux-Renesas

On Mon, Oct 9, 2017 at 3:21 PM, Biju Das <biju.das@bp.renesas.com> wrote:
> Define the R8A7743 generic part of the HS-USB device node. It is up to the
> board file to enable the device.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v2] ARM: dts: iwg20d-q7: Enable HS-USB
  2017-10-11  9:04         ` [PATCH v2] " Biju Das
@ 2017-10-11 12:52               ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:52 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Linux-Renesas

On Wed, Oct 11, 2017 at 11:04 AM, Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> wrote:
> Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> RZ/G1M.
> Also disable the host mode support on usb otg port by default to avoid
> pin conflicts.
>
> Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
> Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v2] ARM: dts: iwg20d-q7: Enable HS-USB
@ 2017-10-11 12:52               ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:52 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree,
	Linux-Renesas

On Wed, Oct 11, 2017 at 11:04 AM, Biju Das <biju.das@bp.renesas.com> wrote:
> Enable HS-USB device for the iWave G20D-Q7 carrier board based on
> RZ/G1M.
> Also disable the host mode support on usb otg port by default to avoid
> pin conflicts.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes
  2017-10-09 13:21 ` [PATCH 3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes Biju Das
@ 2017-10-11 12:55   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:55 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree,
	Linux-Renesas

On Mon, Oct 9, 2017 at 3:21 PM, Biju Das <biju.das@bp.renesas.com> wrote:
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/4] ARM: dts: r8a7743: Enable DMA for HSUSB
  2017-10-09 13:21 ` [PATCH 4/4] ARM: dts: r8a7743: Enable DMA for HSUSB Biju Das
@ 2017-10-11 12:56   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2017-10-11 12:56 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Yoshihiro Shimoda,
	Magnus Damm, Chris Paterson, Fabrizio Castro, devicetree,
	Linux-Renesas

On Mon, Oct 9, 2017 at 3:21 PM, Biju Das <biju.das@bp.renesas.com> wrote:
> This patch adds DMA properties to the HSUSB node.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH  0/4] ARM: dts: Add USB function support
  2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
                   ` (3 preceding siblings ...)
  2017-10-09 13:21 ` [PATCH 4/4] ARM: dts: r8a7743: Enable DMA for HSUSB Biju Das
@ 2017-10-12 11:47 ` Simon Horman
  2017-10-12 12:01   ` Biju Das
  4 siblings, 1 reply; 19+ messages in thread
From: Simon Horman @ 2017-10-12 11:47 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Yoshihiro Shimoda, Magnus Damm,
	Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc

On Mon, Oct 09, 2017 at 02:21:17PM +0100, Biju Das wrote:
> Hello,
> 
> This series aims to add USB function support for iWave RZ/G1M (R8A7743) board.
> This series has been tested against renesas-dev tag 201710109-v4.14-rc4.
> 
> This patch has documentation dependency on below patches
> 
> * [v2] usb: renesas_usbhs: Add compatible string for r8a7743/5
> https://patchwork.kernel.org/patch/9990063/
> * [v2] dmaengine: usb-dmac: Add compatible string for r8a7743/5
> https://patchwork.kernel.org/patch/9990113/
> 
> Regards,
> 
> Biju Das (4):
>   ARM: dts: r8a7743: Add HS-USB device node
>   ARM: dts: iwg20d-q7: Enable HS-USB
>   ARM: dts: r8a7743: Add USB-DMAC device nodes
>   ARM: dts: r8a7743: Enable DMA for HSUSB

Thanks, applied v1 of patches 1, 3 and 4, and v2 of patch 2.

In future when reposting a patch of a series please repost the
entire series anew, in this case it would have been v2 for the whole
series.

Thanks!

^ permalink raw reply	[flat|nested] 19+ messages in thread

* RE: [PATCH  0/4] ARM: dts: Add USB function support
  2017-10-12 11:47 ` [PATCH 0/4] ARM: dts: Add USB function support Simon Horman
@ 2017-10-12 12:01   ` Biju Das
  2017-10-13  8:04     ` Simon Horman
  0 siblings, 1 reply; 19+ messages in thread
From: Biju Das @ 2017-10-12 12:01 UTC (permalink / raw)
  To: Simon Horman
  Cc: Rob Herring, Mark Rutland, Yoshihiro Shimoda, Magnus Damm,
	Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc

> > Biju Das (4):
> >   ARM: dts: r8a7743: Add HS-USB device node
> >   ARM: dts: iwg20d-q7: Enable HS-USB
> >   ARM: dts: r8a7743: Add USB-DMAC device nodes
> >   ARM: dts: r8a7743: Enable DMA for HSUSB
>
> Thanks, applied v1 of patches 1, 3 and 4, and v2 of patch 2.
>
> In future when reposting a patch of a series please repost the entire series anew,
> in this case it would have been v2 for the whole series.

Thanks. I will take care this in future.

Regards,
Biju



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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH  0/4] ARM: dts: Add USB function support
  2017-10-12 12:01   ` Biju Das
@ 2017-10-13  8:04     ` Simon Horman
  0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2017-10-13  8:04 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Yoshihiro Shimoda, Magnus Damm,
	Chris Paterson, Fabrizio Castro, devicetree, linux-renesas-soc

On Thu, Oct 12, 2017 at 12:01:10PM +0000, Biju Das wrote:
> > > Biju Das (4):
> > >   ARM: dts: r8a7743: Add HS-USB device node
> > >   ARM: dts: iwg20d-q7: Enable HS-USB
> > >   ARM: dts: r8a7743: Add USB-DMAC device nodes
> > >   ARM: dts: r8a7743: Enable DMA for HSUSB
> >
> > Thanks, applied v1 of patches 1, 3 and 4, and v2 of patch 2.
> >
> > In future when reposting a patch of a series please repost the entire series anew,
> > in this case it would have been v2 for the whole series.
> 
> Thanks. I will take care this in future.

Thanks, much appreciated.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-10-13  8:04 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-09 13:21 [PATCH 0/4] ARM: dts: Add USB function support Biju Das
2017-10-09 13:21 ` [PATCH 1/4] ARM: dts: r8a7743: Add HS-USB device node Biju Das
     [not found]   ` <1507555281-57845-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-11 12:48     ` Geert Uytterhoeven
2017-10-11 12:48       ` Geert Uytterhoeven
2017-10-09 13:21 ` [PATCH 2/4] ARM: dts: iwg20d-q7: Enable HS-USB Biju Das
     [not found]   ` <1507555281-57845-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-09 16:18     ` Sergei Shtylyov
2017-10-09 16:18       ` Sergei Shtylyov
2017-10-10  7:30       ` Simon Horman
2017-10-10  8:30         ` Biju Das
2017-10-11  9:04         ` [PATCH v2] " Biju Das
     [not found]           ` <1507712673-57370-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-10-11 12:52             ` Geert Uytterhoeven
2017-10-11 12:52               ` Geert Uytterhoeven
2017-10-09 13:21 ` [PATCH 3/4] ARM: dts: r8a7743: Add USB-DMAC device nodes Biju Das
2017-10-11 12:55   ` Geert Uytterhoeven
2017-10-09 13:21 ` [PATCH 4/4] ARM: dts: r8a7743: Enable DMA for HSUSB Biju Das
2017-10-11 12:56   ` Geert Uytterhoeven
2017-10-12 11:47 ` [PATCH 0/4] ARM: dts: Add USB function support Simon Horman
2017-10-12 12:01   ` Biju Das
2017-10-13  8:04     ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.