[PATCH] isp1760-if: Change to use irq_of_parse_and_map

2012-10-21 Thread Nobuhiro Iwamatsu
This uses irq_of_parse_and_map instead of of_irq_map_one and irq_create_of_mapping. Signed-off-by: Nobuhiro Iwamatsu --- drivers/usb/host/isp1760-if.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c

Re: [PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-03-24 Thread Nobuhiro Iwamatsu
OHCI_OFFSET, OHCI_BASEAD); >> >> >> + AHB_WRITE(hci, hci->phys_base + EHCI_OFFSET, EHCI_BASEAD); >> >> >> + >> >> >> + data = SERREN | PERREN | MASTEREN | MEMEN; >> >> >> + AHB_WRITE(hci, data, OHCI_CMND_STS); >

[PATCH] usb: ehci-sh: Fix build error due to comma has been deleted

2013-03-26 Thread Nobuhiro Iwamatsu
By commit 39d35681d5380b403855202dcd75575a8d5b0ec1, comma followed by ehci_hcd_sh_remove has been deleted. This fixes the error by the correction. Signed-off-by: Nobuhiro Iwamatsu CC: Dmitry Torokhov --- drivers/usb/host/ehci-sh.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] usb: echi-sh: Remove driver variable which is not used

2013-03-26 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- drivers/usb/host/ehci-sh.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/host/ehci-sh.c b/drivers/usb/host/ehci-sh.c index b0f2268..b44d716 100644 --- a/drivers/usb/host/ehci-sh.c +++ b/drivers/usb/host/ehci-sh.c @@ -77,7 +77,6 @@ static

Re: [PATCH] usb: ehci-sh: Fix build error due to comma has been deleted

2013-03-26 Thread Nobuhiro Iwamatsu
Hi, Thank you for your review. On Tue, Mar 26, 2013 at 10:37 PM, Sergei Shtylyov wrote: > On 26-03-2013 12:26, Nobuhiro Iwamatsu wrote: > >> By commit 39d35681d5380b403855202dcd75575a8d5b0ec1, comma followed by > > >Also, you probably wanted to say "followin

[PATCH v2] usb: ehci-sh: Fix build error due to comma has been deleted

2013-03-26 Thread Nobuhiro Iwamatsu
By commit 39d3568 (USB: remove incorrect __exit markups), comma following ehci_hcd_sh_remove has been deleted. This fixes the error by the correction. Signed-off-by: Nobuhiro Iwamatsu CC: Dmitry Torokhov --- v2: Added commit's summary and fixed sentence. drivers/usb/host/ehci-sh.c |

Re: [PATCH 5/6] arm: mvebu: Enable USB controllers on Armada XP OpenBlocks AX3-4 board

2013-01-15 Thread Nobuhiro Iwamatsu
}; > + usb@d0051000 { > + status = "okay"; > + }; > + usb@d0052000 { > + status = "okay"; > + }; USB2 of openblocks-ax3-4 is used as Mini-PCIE. I think this is unnecessary. >

Re: [PATCH 5/6] arm: mvebu: Enable USB controllers on Armada XP OpenBlocks AX3-4 board

2013-01-18 Thread Nobuhiro Iwamatsu
of the two physical ports is a > combined USB / eSATA port, but I don't think this makes any difference > at the software level. > > I don't have the OpenBlocks AX3-4 with me right now, but I could > probably make a test on Friday. > > Best regards, > > Thomas &g

Re: [PATCH 5/6] arm: mvebu: Enable USB controllers on Armada XP OpenBlocks AX3-4 board

2013-01-18 Thread Nobuhiro Iwamatsu
Hi, On Sat, Jan 19, 2013 at 9:11 AM, Gregory CLEMENT wrote: > On 01/19/2013 01:07 AM, Nobuhiro Iwamatsu wrote: >> Hi, >> >> Thomas, Thank you for the detailed explanation. >> >> Ezequiel, I checked your patch on OpenBlocks AX3, work fine. >> >> But I

Re: [PATCH v2 1/3] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-01-30 Thread Nobuhiro Iwamatsu
ort for this controller in Armada 370 >>> > and Armada XP SoC common device tree files. >>> > >>> > Cc: Lior Amsalem >>> > Cc: Thomas Petazzoni >>> > Tested-by: Nobuhiro Iwamatsu >>> > Tested-by: Florian Fainelli >

[PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-02-13 Thread Nobuhiro Iwamatsu
@@ -0,0 +1,384 @@ +/* + * Driver for EHCI on Renesas ARM SoC (rmobile) + * + * Copyright (C) 2013 Renesas Electronics Corporation + * Copyright (C) 2013 Nobuhiro Iwamatsu + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in t

Re: [PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-02-13 Thread Nobuhiro Iwamatsu
ta, EHCI_CMND_STS); >> + >> + /* enable pci interrupt */ >> + data = __raw_readl(hci->base + PCI_INT_ENABLE); >> + data |= USBH_PMEEN | USBH_INTBEN | USBH_INTAEN; >> + AHB_WRITE(hci, data, PCI_INT_ENABLE); > > Are these setting Renesas mobile

Re: [PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-02-14 Thread Nobuhiro Iwamatsu
t; Should we switch to ehci-r8a7740 and other? > > Now, latest Renesas chip which has ehci/ohci is using > ehci/ohci-platform.c driver. > Your driver will be used only from r8a7740 chip. > (Since, Renesas don't create "Mobile" chip in the future) > > I don't know detail, > but can you re-use ehci/ohci-sh.c somehow instead of creating new > ehci/ohci-rmobile.c ? > I don't like this kind of "series-name" driver which is > useless/pointless/flexibilityless > > ohci-rmobile.c -> ohci->sh.c > ohci-common.c -> ohci-r8a7740.c > Thanks for your comment. OK, I will rename and update patches. Regards, Nobubuhiro -- Nobuhiro Iwamatsu -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register

2015-03-05 Thread Nobuhiro Iwamatsu
ping? (2015/01/16 19:10), yoshihiro shimoda wrote: Hi Iwamatsu-san, INTSTS1 and INTENB1 register of renesas_usbhs can access only Host mode. This adds process of accessing INTSTS1 and INTENB1 only when renesas_usbhs is Host mode. Signed-off-by: Nobuhiro Iwamatsu Thank you for the patch

[PATCH] usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register

2015-01-08 Thread Nobuhiro Iwamatsu
INTSTS1 and INTENB1 register of renesas_usbhs can access only Host mode. This adds process of accessing INTSTS1 and INTENB1 only when renesas_usbhs is Host mode. Signed-off-by: Nobuhiro Iwamatsu --- drivers/usb/renesas_usbhs/mod.c | 61 +++-- 1 file changed