* [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support
@ 2014-06-24 17:57 Sergei Shtylyov
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 17:57 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel, ben.dooks
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
for the R8A7790-based Lager board. As the 'pci-rcar-gen2' driver device tree
support has been merged for 3.16, this patchset can now be merged too...
[1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
[2/2] ARM: shmobile: lager: enable internal PCI
WBR, Sergei
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-24 17:57 [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Sergei Shtylyov
@ 2014-06-24 17:59 ` Sergei Shtylyov
2014-06-24 18:11 ` Arnd Bergmann
2014-06-26 2:47 ` Yoshihiro Shimoda
2014-06-24 18:02 ` [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI Sergei Shtylyov
2014-06-27 23:56 ` [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Simon Horman
2 siblings, 2 replies; 14+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 17:59 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel, ben.dooks
From: Ben Dooks <ben.dooks@codethink.co.uk>
Add device nodes for the R8A7790 internal PCI bridge devices.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
[Sergei: added several properties to the PCI bridge nodes]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 5:
- added "device_type" and "ranges" properties to the PCI bridge nodes;
- removed "0x" prefix from zero values in the "reg" properties.
Changes in version 4:
- refreshed the patch.
Changes in version 3:
- added interrupt-related properties to the PCI bridge nodes;
- refreshed the patch.
Changes in version 2:
- reworded summary (fixing typo) and changelog;
- removed extra spaces before {;
- refreshed the patch.
arch/arm/boot/dts/r8a7790.dtsi | 60 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi
+++ renesas/arch/arm/boot/dts/r8a7790.dtsi
@@ -930,6 +930,66 @@
status = "disabled";
};
+ pci0: pci@ee090000 {
+ compatible = "renesas,pci-r8a7790";
+ device_type = "pci";
+ clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
+ reg = <0 0xee090000 0 0xc00>,
+ <0 0xee080000 0 0x1100>;
+ interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+
+ bus-range = <0 0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ #interrupt-cells = <1>;
+ ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
+ interrupt-map-mask = <0xff00 0 0 0x7>;
+ interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
+ 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
+ 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ pci1: pci@ee0b0000 {
+ compatible = "renesas,pci-r8a7790";
+ device_type = "pci";
+ clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
+ reg = <0 0xee0b0000 0 0xc00>,
+ <0 0xee0a0000 0 0x1100>;
+ interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+
+ bus-range = <1 1>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ #interrupt-cells = <1>;
+ ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
+ interrupt-map-mask = <0xff00 0 0 0x7>;
+ interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
+ 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
+ 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ pci2: pci@ee0d0000 {
+ compatible = "renesas,pci-r8a7790";
+ device_type = "pci";
+ clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
+ reg = <0 0xee0d0000 0 0xc00>,
+ <0 0xee0c0000 0 0x1100>;
+ interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+
+ bus-range = <2 2>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ #interrupt-cells = <1>;
+ ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
+ interrupt-map-mask = <0xff00 0 0 0x7>;
+ interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
+ 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
+ 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
pciec: pcie@fe000000 {
compatible = "renesas,pcie-r8a7790";
reg = <0 0xfe000000 0 0x80000>;
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI
2014-06-24 17:57 [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Sergei Shtylyov
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
@ 2014-06-24 18:02 ` Sergei Shtylyov
2014-06-26 2:48 ` Yoshihiro Shimoda
2014-06-27 23:56 ` [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Simon Horman
2 siblings, 1 reply; 14+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:02 UTC (permalink / raw)
To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, devicetree
Cc: magnus.damm, linux, linux-arm-kernel, ben.dooks
From: Ben Dooks <ben.dooks@codethink.co.uk>
Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
[Sergei: enabled PCI0]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 4:
- refreshed the patch.
Changes in version 3:
- refreshed the patch.
Changes in version 2:
- enabled PCI0 device;
- reworded summary and changelog;
- refreshed the patch.
arch/arm/boot/dts/r8a7790-lager.dts | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts
+++ renesas/arch/arm/boot/dts/r8a7790-lager.dts
@@ -219,6 +219,21 @@
renesas,groups = "i2c3";
renesas,function = "i2c3";
};
+
+ usb0_pins: usb0 {
+ renesas,groups = "usb0";
+ renesas,function = "usb0";
+ };
+
+ usb1_pins: usb1 {
+ renesas,groups = "usb1";
+ renesas,function = "usb1";
+ };
+
+ usb2_pins: usb2 {
+ renesas,groups = "usb2";
+ renesas,function = "usb2";
+ };
};
ðer {
@@ -368,3 +383,21 @@
regulator-always-on;
};
};
+
+&pci0 {
+ status = "okay";
+ pinctrl-0 = <&usb0_pins>;
+ pinctrl-names = "default";
+};
+
+&pci1 {
+ status = "okay";
+ pinctrl-0 = <&usb1_pins>;
+ pinctrl-names = "default";
+};
+
+&pci2 {
+ status = "okay";
+ pinctrl-0 = <&usb2_pins>;
+ pinctrl-names = "default";
+};
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
@ 2014-06-24 18:11 ` Arnd Bergmann
2014-06-26 2:47 ` Yoshihiro Shimoda
1 sibling, 0 replies; 14+ messages in thread
From: Arnd Bergmann @ 2014-06-24 18:11 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Sergei Shtylyov, horms, linux-sh, robh+dt, pawel.moll,
mark.rutland, ijc+devicetree, galak, devicetree, linux, ben.dooks,
magnus.damm
On Tuesday 24 June 2014 21:59:54 Sergei Shtylyov wrote:
> From: Ben Dooks <ben.dooks@codethink.co.uk>
>
> Add device nodes for the R8A7790 internal PCI bridge devices.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
> [Sergei: added several properties to the PCI bridge nodes]
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Yes, looks better, thanks for the update.
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
2014-06-24 18:11 ` Arnd Bergmann
@ 2014-06-26 2:47 ` Yoshihiro Shimoda
2014-06-26 3:01 ` Magnus Damm
1 sibling, 1 reply; 14+ messages in thread
From: Yoshihiro Shimoda @ 2014-06-26 2:47 UTC (permalink / raw)
To: Sergei Shtylyov, horms@verge.net.au, linux-sh@vger.kernel.org,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org
Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hi Sergei,
(2014/06/25 2:59), Sergei Shtylyov wrote:
> From: Ben Dooks <ben.dooks@codethink.co.uk>
>
> Add device nodes for the R8A7790 internal PCI bridge devices.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
> [Sergei: added several properties to the PCI bridge nodes]
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thank you for the patch!
I tested this patch on my lager board and a usb memory, and it works.
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Best regards,
Yoshihiro Shimoda
> ---
> Changes in version 5:
> - added "device_type" and "ranges" properties to the PCI bridge nodes;
> - removed "0x" prefix from zero values in the "reg" properties.
>
> Changes in version 4:
> - refreshed the patch.
>
> Changes in version 3:
> - added interrupt-related properties to the PCI bridge nodes;
> - refreshed the patch.
>
> Changes in version 2:
> - reworded summary (fixing typo) and changelog;
> - removed extra spaces before {;
> - refreshed the patch.
>
> arch/arm/boot/dts/r8a7790.dtsi | 60 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7790.dtsi
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi
> +++ renesas/arch/arm/boot/dts/r8a7790.dtsi
> @@ -930,6 +930,66 @@
> status = "disabled";
> };
>
> + pci0: pci@ee090000 {
> + compatible = "renesas,pci-r8a7790";
> + device_type = "pci";
> + clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
> + reg = <0 0xee090000 0 0xc00>,
> + <0 0xee080000 0 0x1100>;
> + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> +
> + bus-range = <0 0>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + #interrupt-cells = <1>;
> + ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
> + interrupt-map-mask = <0xff00 0 0 0x7>;
> + interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
> + 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
> + 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pci1: pci@ee0b0000 {
> + compatible = "renesas,pci-r8a7790";
> + device_type = "pci";
> + clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
> + reg = <0 0xee0b0000 0 0xc00>,
> + <0 0xee0a0000 0 0x1100>;
> + interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> +
> + bus-range = <1 1>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + #interrupt-cells = <1>;
> + ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
> + interrupt-map-mask = <0xff00 0 0 0x7>;
> + interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
> + 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
> + 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + pci2: pci@ee0d0000 {
> + compatible = "renesas,pci-r8a7790";
> + device_type = "pci";
> + clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
> + reg = <0 0xee0d0000 0 0xc00>,
> + <0 0xee0c0000 0 0x1100>;
> + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
> + status = "disabled";
> +
> + bus-range = <2 2>;
> + #address-cells = <3>;
> + #size-cells = <2>;
> + #interrupt-cells = <1>;
> + ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
> + interrupt-map-mask = <0xff00 0 0 0x7>;
> + interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
> + 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
> + 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> pciec: pcie@fe000000 {
> compatible = "renesas,pcie-r8a7790";
> reg = <0 0xfe000000 0 0x80000>;
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI
2014-06-24 18:02 ` [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI Sergei Shtylyov
@ 2014-06-26 2:48 ` Yoshihiro Shimoda
0 siblings, 0 replies; 14+ messages in thread
From: Yoshihiro Shimoda @ 2014-06-26 2:48 UTC (permalink / raw)
To: Sergei Shtylyov, horms@verge.net.au, linux-sh@vger.kernel.org,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org
Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hi Sergei,
(2014/06/25 3:02), Sergei Shtylyov wrote:
> From: Ben Dooks <ben.dooks@codethink.co.uk>
>
> Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
> them.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
> [Sergei: enabled PCI0]
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
I also tested this patch, and it works.
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Best regards,
Yoshihiro shimoda
> ---
> Changes in version 4:
> - refreshed the patch.
>
> Changes in version 3:
> - refreshed the patch.
>
> Changes in version 2:
> - enabled PCI0 device;
> - reworded summary and changelog;
> - refreshed the patch.
>
> arch/arm/boot/dts/r8a7790-lager.dts | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts
> +++ renesas/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -219,6 +219,21 @@
> renesas,groups = "i2c3";
> renesas,function = "i2c3";
> };
> +
> + usb0_pins: usb0 {
> + renesas,groups = "usb0";
> + renesas,function = "usb0";
> + };
> +
> + usb1_pins: usb1 {
> + renesas,groups = "usb1";
> + renesas,function = "usb1";
> + };
> +
> + usb2_pins: usb2 {
> + renesas,groups = "usb2";
> + renesas,function = "usb2";
> + };
> };
>
> ðer {
> @@ -368,3 +383,21 @@
> regulator-always-on;
> };
> };
> +
> +&pci0 {
> + status = "okay";
> + pinctrl-0 = <&usb0_pins>;
> + pinctrl-names = "default";
> +};
> +
> +&pci1 {
> + status = "okay";
> + pinctrl-0 = <&usb1_pins>;
> + pinctrl-names = "default";
> +};
> +
> +&pci2 {
> + status = "okay";
> + pinctrl-0 = <&usb2_pins>;
> + pinctrl-names = "default";
> +};
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 2:47 ` Yoshihiro Shimoda
@ 2014-06-26 3:01 ` Magnus Damm
2014-06-26 3:37 ` Yoshihiro Shimoda
2014-06-26 12:28 ` Sergei Shtylyov
0 siblings, 2 replies; 14+ messages in thread
From: Magnus Damm @ 2014-06-26 3:01 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: Sergei Shtylyov, horms@verge.net.au, linux-sh@vger.kernel.org,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hi Shimoda-san,
On Thu, Jun 26, 2014 at 11:47 AM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Hi Sergei,
>
> (2014/06/25 2:59), Sergei Shtylyov wrote:
>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>>
>> Add device nodes for the R8A7790 internal PCI bridge devices.
>>
>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>> [Sergei: added several properties to the PCI bridge nodes]
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> Thank you for the patch!
> I tested this patch on my lager board and a usb memory, and it works.
>
> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thanks for testing. Just one quick question from my side: Which USB
port did you test?
I somehow assumed that at least the majority of the USB ports on R-Car
Gen2 require a USB PHY device driver to work?
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 3:01 ` Magnus Damm
@ 2014-06-26 3:37 ` Yoshihiro Shimoda
2014-06-26 3:53 ` Magnus Damm
2014-06-26 12:34 ` Sergei Shtylyov
2014-06-26 12:28 ` Sergei Shtylyov
1 sibling, 2 replies; 14+ messages in thread
From: Yoshihiro Shimoda @ 2014-06-26 3:37 UTC (permalink / raw)
To: Magnus Damm
Cc: Sergei Shtylyov, horms@verge.net.au, linux-sh@vger.kernel.org,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hi Magnus-san,
(2014/06/26 12:01), Magnus Damm wrote:
> Hi Shimoda-san,
>
> On Thu, Jun 26, 2014 at 11:47 AM, Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com> wrote:
>> Hi Sergei,
>>
>> (2014/06/25 2:59), Sergei Shtylyov wrote:
>>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>>>
>>> Add device nodes for the R8A7790 internal PCI bridge devices.
>>>
>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>>> [Sergei: added several properties to the PCI bridge nodes]
>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>
>> Thank you for the patch!
>> I tested this patch on my lager board and a usb memory, and it works.
>>
>> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>
> Thanks for testing. Just one quick question from my side: Which USB
> port did you test?
I tested usb ch1 only...
> I somehow assumed that at least the majority of the USB ports on R-Car
> Gen2 require a USB PHY device driver to work?
Thank you for the point.
About usb ch1, a USB PHY device driver doesn't need, I think.
But, about ch0 and ch2, I think that they should require a USB PHY device driver.
Best regards,
Yoshihiro Shimoda
> Cheers,
>
> / magnus
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 3:37 ` Yoshihiro Shimoda
@ 2014-06-26 3:53 ` Magnus Damm
2014-06-26 12:34 ` Sergei Shtylyov
1 sibling, 0 replies; 14+ messages in thread
From: Magnus Damm @ 2014-06-26 3:53 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: Sergei Shtylyov, horms@verge.net.au, linux-sh@vger.kernel.org,
robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hi Shimoda-san,
On Thu, Jun 26, 2014 at 12:37 PM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Hi Magnus-san,
>
> (2014/06/26 12:01), Magnus Damm wrote:
>> Hi Shimoda-san,
>>
>> On Thu, Jun 26, 2014 at 11:47 AM, Yoshihiro Shimoda
>> <yoshihiro.shimoda.uh@renesas.com> wrote:
>>> Hi Sergei,
>>>
>>> (2014/06/25 2:59), Sergei Shtylyov wrote:
>>>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>>>>
>>>> Add device nodes for the R8A7790 internal PCI bridge devices.
>>>>
>>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>>>> [Sergei: added several properties to the PCI bridge nodes]
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>>
>>> Thank you for the patch!
>>> I tested this patch on my lager board and a usb memory, and it works.
>>>
>>> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>>
>> Thanks for testing. Just one quick question from my side: Which USB
>> port did you test?
>
> I tested usb ch1 only...
>
>> I somehow assumed that at least the majority of the USB ports on R-Car
>> Gen2 require a USB PHY device driver to work?
>
> Thank you for the point.
> About usb ch1, a USB PHY device driver doesn't need, I think.
> But, about ch0 and ch2, I think that they should require a USB PHY device driver.
Thanks for your clarification. It all makes sense now!
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 3:01 ` Magnus Damm
2014-06-26 3:37 ` Yoshihiro Shimoda
@ 2014-06-26 12:28 ` Sergei Shtylyov
1 sibling, 0 replies; 14+ messages in thread
From: Sergei Shtylyov @ 2014-06-26 12:28 UTC (permalink / raw)
To: Magnus Damm, Yoshihiro Shimoda
Cc: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org,
pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hello.
On 06/26/2014 07:01 AM, Magnus Damm wrote:
>>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>>> Add device nodes for the R8A7790 internal PCI bridge devices.
>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>>> [Sergei: added several properties to the PCI bridge nodes]
>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>> Thank you for the patch!
>> I tested this patch on my lager board and a usb memory, and it works.
>> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Thanks for testing. Just one quick question from my side: Which USB
> port did you test?
> I somehow assumed that at least the majority of the USB ports on R-Car
> Gen2 require a USB PHY device driver to work?
In fact, channel #2 also works without the PHY driver as the default
UGCTRL2 setting route USB2 pins to OHCI/EHCI.
> Cheers,
> / magnus
WBR, Sergei
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 3:37 ` Yoshihiro Shimoda
2014-06-26 3:53 ` Magnus Damm
@ 2014-06-26 12:34 ` Sergei Shtylyov
2014-06-30 7:58 ` Yoshihiro Shimoda
1 sibling, 1 reply; 14+ messages in thread
From: Sergei Shtylyov @ 2014-06-26 12:34 UTC (permalink / raw)
To: Yoshihiro Shimoda, Magnus Damm
Cc: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org,
pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hello.
On 06/26/2014 07:37 AM, Yoshihiro Shimoda wrote:
>>>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>>>> Add device nodes for the R8A7790 internal PCI bridge devices.
>>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>>>> [Sergei: added several properties to the PCI bridge nodes]
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>> Thank you for the patch!
>>> I tested this patch on my lager board and a usb memory, and it works.
>>> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>> Thanks for testing. Just one quick question from my side: Which USB
>> port did you test?
> I tested usb ch1 only...
Note that channel #2 also should work.
>> I somehow assumed that at least the majority of the USB ports on R-Car
>> Gen2 require a USB PHY device driver to work?
>
> Thank you for the point.
> About usb ch1, a USB PHY device driver doesn't need, I think.
> But, about ch0 and ch2, I think that they should require a USB PHY device driver.
Only channel #0 requires the PHY driver as the default routing for USB0 is
to USBHS; channel #2 is routed to OHCI/EHCI by default.
> Best regards,
> Yoshihiro Shimoda
WBR, Sergei
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support
2014-06-24 17:57 [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Sergei Shtylyov
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
2014-06-24 18:02 ` [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI Sergei Shtylyov
@ 2014-06-27 23:56 ` Simon Horman
2014-06-27 23:56 ` Simon Horman
2 siblings, 1 reply; 14+ messages in thread
From: Simon Horman @ 2014-06-27 23:56 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-sh, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
galak, devicetree, magnus.damm, linux, linux-arm-kernel,
ben.dooks
On Tue, Jun 24, 2014 at 09:57:04PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> for the R8A7790-based Lager board. As the 'pci-rcar-gen2' driver device tree
> support has been merged for 3.16, this patchset can now be merged too...
>
> [1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
> [2/2] ARM: shmobile: lager: enable internal PCI
Thanks, I will queue these up with
Shimoda-san's Tested-by.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support
2014-06-27 23:56 ` [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Simon Horman
@ 2014-06-27 23:56 ` Simon Horman
0 siblings, 0 replies; 14+ messages in thread
From: Simon Horman @ 2014-06-27 23:56 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-sh, robh+dt, pawel.moll, mark.rutland, ijc+devicetree,
galak, devicetree, magnus.damm, linux, linux-arm-kernel,
ben.dooks
On Sat, Jun 28, 2014 at 08:56:22AM +0900, Simon Horman wrote:
> On Tue, Jun 24, 2014 at 09:57:04PM +0400, Sergei Shtylyov wrote:
> > Hello.
> >
> > Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
> > 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> > for the R8A7790-based Lager board. As the 'pci-rcar-gen2' driver device tree
> > support has been merged for 3.16, this patchset can now be merged too...
> >
> > [1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
> > [2/2] ARM: shmobile: lager: enable internal PCI
>
> Thanks, I will queue these up with
> Shimoda-san's Tested-by.
And Arnd's Ack
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes
2014-06-26 12:34 ` Sergei Shtylyov
@ 2014-06-30 7:58 ` Yoshihiro Shimoda
0 siblings, 0 replies; 14+ messages in thread
From: Yoshihiro Shimoda @ 2014-06-30 7:58 UTC (permalink / raw)
To: Sergei Shtylyov, Magnus Damm
Cc: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org,
pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
devicetree@vger.kernel.org, linux@arm.linux.org.uk,
linux-arm-kernel@lists.infradead.org, ben.dooks@codethink.co.uk
Hello,
(2014/06/26 21:34), Sergei Shtylyov wrote:
> Hello.
>
> On 06/26/2014 07:37 AM, Yoshihiro Shimoda wrote:
>
>>>>> From: Ben Dooks <ben.dooks@codethink.co.uk>
>
>>>>> Add device nodes for the R8A7790 internal PCI bridge devices.
>
>>>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
>>>>> Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
>>>>> [Sergei: added several properties to the PCI bridge nodes]
>>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
>>>> Thank you for the patch!
>
>>>> I tested this patch on my lager board and a usb memory, and it works.
>
>>>> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
>
>>> Thanks for testing. Just one quick question from my side: Which USB
>>> port did you test?
>
>> I tested usb ch1 only...
>
> Note that channel #2 also should work.
Thank you for the point.
I tried to test usb ch2, and then it worked on my environment.
>>> I somehow assumed that at least the majority of the USB ports on R-Car
>>> Gen2 require a USB PHY device driver to work?
>>
>> Thank you for the point.
>> About usb ch1, a USB PHY device driver doesn't need, I think.
>> But, about ch0 and ch2, I think that they should require a USB PHY device driver.
>
> Only channel #0 requires the PHY driver as the default routing for USB0 is
> to USBHS; channel #2 is routed to OHCI/EHCI by default.
I understood it.
Best regards,
Yoshihiro Shimoda
>> Best regards,
>> Yoshihiro Shimoda
>
> WBR, Sergei
>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-06-30 7:58 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 17:57 [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Sergei Shtylyov
2014-06-24 17:59 ` [PATCH v5 1/2] ARM: shmobile: r8a7790: add internal PCI bridge nodes Sergei Shtylyov
2014-06-24 18:11 ` Arnd Bergmann
2014-06-26 2:47 ` Yoshihiro Shimoda
2014-06-26 3:01 ` Magnus Damm
2014-06-26 3:37 ` Yoshihiro Shimoda
2014-06-26 3:53 ` Magnus Damm
2014-06-26 12:34 ` Sergei Shtylyov
2014-06-30 7:58 ` Yoshihiro Shimoda
2014-06-26 12:28 ` Sergei Shtylyov
2014-06-24 18:02 ` [PATCH v5 2/2] ARM: shmobile: lager: enable internal PCI Sergei Shtylyov
2014-06-26 2:48 ` Yoshihiro Shimoda
2014-06-27 23:56 ` [PATCH v5 0/2] Add R8A7790/Lager board PCI USB DT support Simon Horman
2014-06-27 23:56 ` Simon Horman
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).