diff mbox

ARM: shmobile: r8a7794: link PCI USB devices to USB PHY

Message ID 10927620.1TFu7PRvi4@wasted.cogentembedded.com (mailing list archive)
State Accepted
Commit 45cb0bd77a85ee53234968109909654415479558
Delegated to: Simon Horman
Headers show

Commit Message

Sergei Shtylyov Sept. 12, 2015, 11 p.m. UTC
Describe the PCI USB devices that are behind the PCI bridges, adding necessary
links to the USB PHY device.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
just posted.

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


--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Simon Horman Sept. 29, 2015, 12:37 a.m. UTC | #1
Hi Sergei,

On Sun, Sep 13, 2015 at 02:00:19AM +0300, Sergei Shtylyov wrote:
> Describe the PCI USB devices that are behind the PCI bridges, adding necessary
> links to the USB PHY device.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> ---
> This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
> 'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
> just posted.

Does this series have any dependencies (e.g. bindings) other
than the aforementioned R8A7794/SILK PCI USB and USB PHY support patches?
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sergei Shtylyov Sept. 29, 2015, 12:52 p.m. UTC | #2
Hello.

On 9/29/2015 3:37 AM, Simon Horman wrote:

>> Describe the PCI USB devices that are behind the PCI bridges, adding necessary
>> links to the USB PHY device.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>
>> ---
>> This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
>> 'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
>> just posted.

> Does this series have any dependencies (e.g. bindings) other

    This patch, you mean?

> than the aforementioned R8A7794/SILK PCI USB and USB PHY support patches?

    No.

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman Oct. 2, 2015, 2 a.m. UTC | #3
Hi Sergei,

On Tue, Sep 29, 2015 at 03:52:39PM +0300, Sergei Shtylyov wrote:
> Hello.
> 
> On 9/29/2015 3:37 AM, Simon Horman wrote:
> 
> >>Describe the PCI USB devices that are behind the PCI bridges, adding necessary
> >>links to the USB PHY device.
> >>
> >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >>
> >>---
> >>This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
> >>'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
> >>just posted.
> 
> >Does this series have any dependencies (e.g. bindings) other
> 
>    This patch, you mean?
> 
> >than the aforementioned R8A7794/SILK PCI USB and USB PHY support patches?

Thanks, I have queued this up for v4.4.

I think I have got everything now but please let me know if you have any
shmobile DT patches outstanding which are ready to be queued-up.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sergei Shtylyov Oct. 2, 2015, 9:43 p.m. UTC | #4
Hello.

On 10/02/2015 05:00 AM, Simon Horman wrote:

>>>> Describe the PCI USB devices that are behind the PCI bridges, adding necessary
>>>> links to the USB PHY device.
>>>>
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>>>
>>>> ---
>>>> This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
>>>> 'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
>>>> just posted.
>>
>>> Does this series have any dependencies (e.g. bindings) other
>>
>>     This patch, you mean?
>>
>>> than the aforementioned R8A7794/SILK PCI USB and USB PHY support patches?

> Thanks, I have queued this up for v4.4.

    Thank you!

> I think I have got everything now but please let me know if you have any
> shmobile DT patches outstanding which are ready to be queued-up.

    Yes, the R8A7794 HS-USB patch.

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman Oct. 5, 2015, 3:02 a.m. UTC | #5
On Sat, Oct 03, 2015 at 12:43:08AM +0300, Sergei Shtylyov wrote:
> Hello.
> 
> On 10/02/2015 05:00 AM, Simon Horman wrote:
> 
> >>>>Describe the PCI USB devices that are behind the PCI bridges, adding necessary
> >>>>links to the USB PHY device.
> >>>>
> >>>>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >>>>
> >>>>---
> >>>>This patch is against 'renesas-devel-20150911v2-v4.2' tag of Simon Horman's
> >>>>'renesas.git' repo plus the R8A7794/SILK PCI USB and USB PHY support patches
> >>>>just posted.
> >>
> >>>Does this series have any dependencies (e.g. bindings) other
> >>
> >>    This patch, you mean?
> >>
> >>>than the aforementioned R8A7794/SILK PCI USB and USB PHY support patches?
> 
> >Thanks, I have queued this up for v4.4.
> 
>    Thank you!
> 
> >I think I have got everything now but please let me know if you have any
> >shmobile DT patches outstanding which are ready to be queued-up.
> 
>    Yes, the R8A7794 HS-USB patch.

Thanks, I have now queued up
"ARM: shmobile: r8a7794: add HS-USB DT support".
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -667,6 +667,20 @@ 
 		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>;
+
+		usb@0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
+
+		usb@0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pci1: pci@ee0d0000 {
@@ -688,6 +702,20 @@ 
 		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>;
+
+		usb@0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
+
+		usb@0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
 	};
 
 	usbphy: usb-phy@e6590100 {