From: Ryo Kodama <ryo.kodama...@renesas.com>
This patch adds to check the return value from pwm_apply_state()
used in enable_store(). The error of enable_store() doesn't work
if the return value doesn't received.
Signed-off-by: Ryo Kodama <ryo.kodama...@renesas.com>
Signed-off-b
usbhsf_fifo_unselect(), and then usbhs_pipe_to_fifo()
in xfer_work() will return NULL.
Fixes: e73a989 ("usb: renesas_usbhs: add DMAEngine support")
Cc: <sta...@vger.kernel.org> # v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/ren
This patch adds quirks in struct xhci_plat_priv to set xhci->quirks
for platform-specific.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/xhci-plat.h b/drivers/usb/
follow-up patch.
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.ny...@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.
.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.c | 12 +++-
drivers/usb/host/xhci-plat.h | 1 +
drivers/usb/host/xhci-rcar.c | 21 -
3 files changed, 12 insertions(+), 22 deletions(-)
diff --git a/drivers/usb
set in two stages.
>
> xhci pci drivers only use the get_quirk callback, platform drivers use both.
>
> Looks like the get_quirk() callback is a legacy thing from when the memory for
> the xhci struct was allocated in xhci_gen_setup, and xhci->quirks could only
> be
> set after that.
>
> Now xhci struct is part of the usb_hcd, so we could probably get rid of the
> get_quirk
> callback alltogether by setting the pci quirks in xhci_pci_setup
I understood it.
Best regards,
Yoshihiro Shimoda
> -Mathias
f struct xhci_plat_priv.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.c | 12 +++-
drivers/usb/host/xhci-plat.h | 1 +
drivers/usb/host/xhci-rcar.c | 21 -
3 files changed, 12 insertions(+), 22 deletions(-)
diff
follow-up patch.
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.ny...@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.
This patch adds quirks in struct xhci_plat_priv to set xhci->quirks
for platform-specific.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/xhci-plat.h b/drivers/usb/
> From: Yoshihiro Shimoda
> Sent: Wednesday, June 01, 2016 11:40 AM
>
> Since the commit b1c127ae (usb: host: xhci: plat: make use of new methods
> in xhci_plat_priv) changed the setting timing of xhci->quirks to
Oops, checkpatch.pl said this message should be revised.
So, I wi
Hi Felipe,
> From: Felipe Balbi
> Sent: Wednesday, June 01, 2016 4:01 PM
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
>
> > I'm afraid but I found a regression of xhci-rcar in v4.7-rc1.
> > This regression is caused by the
nly.
Fixes: 1114e2d (phy: rcar-gen3-usb2: change the mode to OTG on the combined
channel)
Cc: <sta...@vger.kernel.org> # v4.5+
Reported-by: Simon Horman <ho...@verge.net.au>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/phy-rcar-gen3-usb2.c
Hi Simon-san,
> From: Simon Horman
> Sent: Monday, May 30, 2016 10:23 AM
>
> On Thu, May 26, 2016 at 11:46:36AM +0900, Simon Horman wrote:
> > On Tue, May 24, 2016 at 07:34:14PM +0900, Yoshihiro Shimoda wrote:
> > > This patch is based on the renesas-drivers /
>
ssue.
(Perhaps, both the CKE and TE should be set in the serial_console_write(), but
I don't know how to set the CKE for now :) )
Best regards,
Yoshihiro Shimoda
---
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index afa25ec..b5b1b38 100644
--- a/drivers/tty/se
Hi Kishon,
Would you review this patch?
Best regards,
Yoshihiro Shimoda
> -Original Message-
> From: Yoshihiro Shimoda
> Sent: Tuesday, May 31, 2016 9:47 PM
> To: kis...@ti.com
> Cc: linux-ker...@vger.kernel.org; linux-renesas-soc@vger.kernel.org;
> sta...@vger.ker
Hi Felipe,
Would you review this patch set?
Best regards,
Yoshihiro Shimoda
> From: Yoshihiro Shimoda
> Sent: Wednesday, June 08, 2016 4:33 PM
> To: ba...@kernel.org
> Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-renesas-soc@vger.kernel.org; sta...@
' was
> not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.do...@codethink.co.uk>
Thank you for the patch.
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
Best regards,
Yoshihiro Shimoda
> ---
> Cc: Yoshihiro Shimoda <yoshihiro.sh
9.837162] [] generic_handle_irq+0x24/0x38
[9.842900] [] __handle_domain_irq+0x5c/0xb8
[9.848727] [] gic_handle_irq+0x58/0xb0
Reported-by: Simon Horman <ho...@verge.net.au>
Fixes: 2b38543c8db1 ("phy: rcar-gen3-usb2: add extcon support")
Signed-off-by: Yoshihiro Shimoda <yos
Since iommu_map() code added pgsize value to the paddr, trace_map()
used wrong paddr. So, this patch adds "orig_paddr" value in the
iommu_map() to use for the trace_map().
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/iommu/iommu.c | 3 ++-
1
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
This patch is based on the latest renesas.git / renesas-devel-20160129-v4.5-rc1
tag. (commit id = 0319e29efd838de5a7a4b589b8f07d9c1fd4abf6)
This patch needs r8a7795-cpg-mssr.c update for usb-dmac clocks.
arch/arm64/bo
Hi Geert-san,
> From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On
> Behalf Of Geert Uytterhoeven
> Sent: Monday, February 01, 2016 7:41 PM
>
> Hi Shimoda-san,
>
> On Mon, Feb 1, 2016 at 11:27 AM, Yoshihiro Shimoda
> <yoshihiro.shimoda...@ren
A.
I checked Porter specification and then I found 2 specifications exist...
Porter "B" : mini AB connecter and Max3355 is on the board.
Porter "C" : micro AB connect and Max3355 is not on the board. (Select
host/peripheral by a jumper.)
I guess that your current target is "B".
If so, I think this patch is acceptable.
Best regards,
Yoshihiro Shimoda
> > and IRQs do happen for me when I connect and
> > disconnect it (as it should be).
>
> >> Best regards,
> >> Yoshihiro Shimoda
>
> MBR, Sergei
Hi Geert-san,
> From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On
> Behalf Of Geert Uytterhoeven
> Sent: Monday, February 01, 2016 8:16 PM
>
> Hi Shimoda-san,
>
> On Mon, Feb 1, 2016 at 12:06 PM, Yoshihiro Shimoda
> <yoshihiro.shimoda...@re
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
This patch is based on the renesas-drivers.git /
renesas-devel-20160126-v4.5-rc1 tag.
(commit id = f834955ea55e4bed01d55339a4428eef219e8313)
Reference:
http://thread.gmane.org/gmane.linux.kernel.clk/3337/foc
Hi Rob,
> From: Rob Herring
> Sent: Thursday, February 04, 2016 5:45 AM
>
> On Tue, Feb 02, 2016 at 07:18:50PM +0900, Yoshihiro Shimoda wrote:
> > To handle the VBUS on/off by a regulator driver, this patch adds
> > description about phy-supply in the rcar-gen3-phy-usb2
Since this driver uses the struct rcar_gen3_data in struct rcar_gen3_chan
only, we can remove the rcar_gen3_data.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/phy-rcar-gen3-usb2.c | 33 ++---
1 file changed, 14 insertions(
This patch adds extcon support for otg related channel.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/Kconfig | 1 +
drivers/phy/phy-rcar-gen3-usb2.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drive
Hi Simon-san,
> From: Simon Horman [mailto:ho...@verge.net.au]
> Sent: Tuesday, February 02, 2016 7:30 PM
>
> On Tue, Feb 02, 2016 at 11:10:00AM +0100, Geert Uytterhoeven wrote:
> > On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda
> > <yoshihiro.shimoda...@renesas.c
To handle the VBUS on/off by a regulator driver, this patch adds
description about phy-supply in the rcar-gen3-phy-usb2.txt.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++
1 file changed, 2 inse
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 1
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 76800ba..1a47a06
We should set SW15 to pin 2-3 side on the board before we use CN9
as USB host or peripheral.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++
1 file changed, 24 insertions(+)
diff --git
-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 45 +-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
b/arch/arm64/boot/dts/renesas/r
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index c
Hi Geert-san, Simon-san,
> From: linux-renesas-soc-ow...@vger.kernel.org
> [mailto:linux-renesas-soc-ow...@vger.kernel.org] On Behalf Of Geert
> Uytterhoeven
> Sent: Tuesday, February 02, 2016 7:10 PM
>
> On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda
> <yoshihir
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 66
1 file changed, 66 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index b
and 2.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
b/arch/arm64/boot/dts/renesas/r
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 86581f7..eaf738a 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch
.
- included about defconfig for phy-rcar-gen3-usb2 driver.
Yoshihiro Shimoda (5):
arm64: dts: r8a7795: add usb2_phy device nodes
arm64: dts: r8a7795: add USB2.0 Host (EHCI/OHCI) device nodes
arm64: dts: salvator-x: enable usb2_phy of channel 1 and 2
arm64: dts: salvator-x: enable USB 2.0 Host
ip-usb: add handler for usb-uart functionality
Best regards,
Yoshihiro Shimoda
> -Original Message-
> From: Yoshihiro Shimoda
> Sent: Tuesday, February 02, 2016 5:29 PM
> To: kis...@ti.com
> Cc: pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk;
&
> From: Dirk Behme
> Sent: Friday, January 22, 2016 8:31 PM
>
> On 22.01.2016 11:32, Yoshihiro Shimoda wrote:
> > Hi Dirk-san, Wolfram-san,
> >
> >>> And third, from reading the r8a7795 manual I think the manual talks about
> >>>
> >>>
Hi Geert-san, Simon-san,
> -Original Message-
> From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On
> Behalf Of Geert Uytterhoeven
> Sent: Monday, January 25, 2016 5:25 PM
> To: Simon Horman <ho...@verge.net.au>
> Cc: Yoshihiro Sh
host patch because it contains the renesas-drivers.
- Change the patch order of the phy driver. (clean up code is in first.)
- Change the property of "phy-supply" to "vbus-supply".
Yoshihiro Shimoda (9):
phy: rcar-gen3-usb2: remove unnecesary struct rcar_gen3_data
phy: rcar
To handle the VBUS on/off by a regulator driver, this patch adds
regulator APIs calling in the driver and description about vbus-supply
in the rcar-gen3-phy-usb2.txt.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
.../devicetree/bindings/phy/rcar-gen3-phy-usb2.tx
This patch adds extcon support for otg related channel.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/Kconfig | 1 +
drivers/phy/phy-rcar-gen3-usb2.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drive
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 66
1 file changed, 66 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 2
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 75142f3..76ad097
Hi,
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
>
> > [ text/plain ]
> > This patch fixes an issue that cannot work if R-Car Gen2/3 run on
> > above 4GB physical memory environment to use a quirk XHCI_CLEAR_AC64.
> >
> > Signed-of
This patch fixes an issue that cannot work if R-Car Gen2/3 run on
above 4GB physical memory environment to use a quirk XHCI_NO_64BIT_SUPPORT.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.c | 13 +
1 file changed, 13 inse
controller will be died after a usb device is
connected if it runs on above 4GB physical memory environment.
So, this patch adds a new quirk XHCI_NO_64BIT_SUPPORT to resolve
such an issue.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci.
new quirk "XHCI_CLEAR_AC64" for using it on some PCIe card.
http://thread.gmane.org/gmane.linux.kernel.renesas-soc/858/focus=1694
Yoshihiro Shimoda (2):
usb: host: xhci: add a new quirk XHCI_NO_64BIT_SUPPORT
usb: host: xhci-plat: fix cannot work if R-Car Gen2/3 run on above 4GB
Hi Felipe,
> Hi Yoshihiro,
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> > [ text/plain ]
> > When unexpected situation happened (e.g. tx/rx irq happened while
> > DMAC is used), the usbhsf_pkt_handler() was possible to cause NULL
> >
Hi Mathias,
Would you review this patch?
This patch could be applied into the latest usb.git / usb-next branch.
Best regards,
Yoshihiro Shimoda
> -Original Message-
> From: Yoshihiro Shimoda
> Sent: Tuesday, February 16, 2016 12:26 PM
> To: mathias.ny...@in
v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/fifo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index 0c25c01..000f975 100644
--- a/drivers/usb/renesas_usbhs/fi
controller will be died after a usb device is
connected if it runs on above 4GB physical memory environment.
So, this patch adds a new quirk XHCI_CLEAR_AC64 to resolve such an issue.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci.
Hi,
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> >> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> >> > This patch adds a condition to avoid the dereference.
> >> >
> >> > Sig
Hello,
> Hello.
>
> On 3/8/2016 8:58 AM, Yoshihiro Shimoda wrote:
>
> > This patch adds a code to surely disable tx irq of the pipe before
>
> TX IRQ.
>
> > starting TX DMAC transfer. Otherwise, a lot of unnecessary tx irqs
>
> TX IRQs
h adds a condition to avoid the dereference.
Fixes: e73a989 ("usb: renesas_usbhs: add DMAEngine support")
Cc: <sta...@vger.kernel.org> # v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/fifo.c | 3 ++-
1 file changed,
-> IRQ
- typo: heppen -> happen
Yoshihiro Shimoda (2):
usb: renesas_usbhs: avoid NULL pointer derefernce in
usbhsf_pkt_handler()
usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer
drivers/usb/renesas_usbhs/fifo.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
1.9.1
This patch fixes an issue that cannot work if R-Car Gen2/3 run on
above 4GB physical memory environment to use a quirk XHCI_CLEAR_AC64.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 +++
1 file changed, 7 insertions(+)
diff
This patch set is based on the latest usb.git / usb-next branch.
(commit id = ace53bfc4374cada8b645765e2b4ad5831e760932)
Changes from v1:
- Add a new quirk "XHCI_CLEAR_AC64" for using it on some PCIe card.
http://thread.gmane.org/gmane.linux.kernel.renesas-soc/858/focus=1694
Hi,
> From: Kishon Vijay Abraham I
> Sent: Tuesday, April 05, 2016 7:54 PM
>
> Hi,
>
> On Thursday 03 March 2016 03:39 PM, Yoshihiro Shimoda wrote:
> > To handle the VBUS on/off by a regulator driver, this patch adds
> > regulator APIs calling in the driver and
Hi Felipe,
> From: Yoshihiro Shimoda
> Sent: Thursday, March 10, 2016 11:30 AM
>
> This patch set is based on the latest Felipe's usb.git / testing/next branch.
> (commit id = ac5706631325ae3695bfa1527101ab2b2f64859f)
Would you review the patch set?
I confirmed that the
Hi Felipe-san,
> From: Felipe Balbi [mailto:ba...@kernel.org]
> Sent: Tuesday, March 22, 2016 4:16 PM
>
> Yoshihiro-san,
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> >> From: Yoshihiro Shimoda
> >> Sent: Thursday, March 10, 2016
This patch adds a code to surely disable tx irq of the pipe before
starting TX DMAC transfer. Otherwise, a lot of unnecessary tx irqs
may heppen in rare cases when DMAC is used.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/fifo.c | 1 +
This patch set is based on the latest Felipe's usb.git / testing/next branch.
(commit id = ac5706631325ae3695bfa1527101ab2b2f64859f)
Yoshihiro Shimoda (2):
usb: renesas_usbhs: avoid NULL pointer derefernce in
usbhsf_pkt_handler()
usb: renesas_usbhs: disable tx irq before starting TX DMAC
Hi Felipe,
Oops, I completely forgot this patch.
Would you review this patch? Or should I resend it?
I confirmed that this patch could be applied on your latest testing/fixes
branch.
Best regards,
Yoshihiro Shimoda
> -Original Message-
> From: Yoshihiro Shimoda
> Sent: Friday,
upply to handle VBUS on/off" has
Rob's Acked-by as the followings:
http://thread.gmane.org/gmane.linux.kernel.renesas-soc/1087/focus=1153
Yoshihiro Shimoda (3):
phy: rcar-gen3-usb2: remove unnecesary struct rcar_gen3_data
phy: rcar-gen3-usb2: Add vbus-supply to handle VBUS on/off
phy: rcar
A udc driver should set the giveback status to -ESHUTDOWN in
usb_ep_disable(). Otherwise, a gadget driver (e.g. g_serial) might
request next data wrongly and it is possible to cause kernel panic.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas
To handle the VBUS on/off by a regulator driver, this patch adds
regulator APIs calling in the driver and description about vbus-supply
in the rcar-gen3-phy-usb2.txt.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
Acked-by: Rob Herring <r...@kernel.org>
---
..
This patch adds extcon support for otg related channel.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/Kconfig | 1 +
drivers/phy/phy-rcar-gen3-usb2.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drive
Since this driver uses the struct rcar_gen3_data in struct rcar_gen3_chan
only, we can remove the rcar_gen3_data.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/phy/phy-rcar-gen3-usb2.c | 33 ++---
1 file changed, 14 insertions(
ation for which being that RENESAS seems to be a more
> appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs.
>
> Signed-off-by: Simon Horman <horms+rene...@verge.net.au>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
Best regards,
Yoshihir
Hi Felipe,
> From: Felipe Balbi [mailto:ba...@kernel.org]
> Sent: Thursday, March 03, 2016 6:22 PM
>
> Hi Yoshihiro,
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> > [ text/plain ]
> > Hi Felipe,
> >
> > Oops, I completely fo
ger.kernel.org> # v3.1+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/mod_gadget.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c
b/drivers/usb/renesas_usbhs/mod_gadget.
In near the future, since usbhsf_dma_{un}map() will use the "fifo" data,
this patch changes function call orfer in usbhsf_dma_prepare_push().
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/fifo.c | 12 ++--
1 file chang
This patch set is based on the latest Felipe's usb.git / testing/next
branch. (commit id = eac6b9922641f88a7da87a145d6ad9bed706c9ec)
I'm not sure this is a right way for using IOMMU driver on udc driver.
So, I marked this patch set as RFC :)
Yoshihiro Shimoda (5):
usb: gadget: udc: core: Fix
In near the future, since usbhsg_dma_map_ctrl() needs DMA device
structure, this patch changes arguments of dma_map_ctrl() to give
such data. (This patch is only change the argument.)
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/renesas_usbhs/
Hi,
> From: linux-renesas-soc-ow...@vger.kernel.org
> [mailto:linux-renesas-soc-ow...@vger.kernel.org] On Behalf Of Yoshihiro
> Shimoda
> Sent: Thursday, April 21, 2016 7:28 PM
>
> Hi Felipe,
>
> > From: Felipe Balbi
> > Sent: Thursday, April 21, 2016
Car H2 and M2
xHCI controllers)
Cc: <sta...@vger.kernel.org> # v3.17+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
Changes from v1:
- Revise the commit log.
(http://www.spinics.net/lists/stable/msg130007.html)
drivers/usb/host/xhci-rcar.h | 6 +-
1
Hi Geert-san,
> From: Geert Uytterhoeven
> Sent: Monday, April 25, 2016 11:57 PM
>
> Hi Shimoda-san,
>
> On Thu, Apr 21, 2016 at 2:57 PM, Geert Uytterhoeven
> <ge...@linux-m68k.org> wrote:
> > On Thu, Apr 21, 2016 at 12:27 PM, Yoshihiro Shimoda
> > &
Hi,
> From: Felipe Balbi
> Sent: Friday, April 22, 2016 6:37 PM
>
> Hi,
>
> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
> > The firmware of R-Car USB 3.0 host controller will control the reset.
> > So, if the xhci driver doesn't
Hi,
> From: Rob Herring
> Sent: Friday, April 22, 2016 10:29 PM
>
> On Fri, Apr 22, 2016 at 4:36 AM, Felipe Balbi
> <felipe.ba...@linux.intel.com> wrote:
> >
> > Hi,
> >
> > Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com> writes:
We have to set SW15 to pin 2-3 side on the board before we use CN9
as USB host or peripheral.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/bo
This patch also adds a regulator node for USB2.0 to handle VBUS on/off
by the phy-rcar-gen3-usb2 driver.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++
1 file changed, 24 insertions(+)
This patch is based on the renesas-drivers / renesas-drivers-2016-05-17-v4.6
tag.
Yoshihiro Shimoda (4):
arm64: dts: r8a7795: Add HSUSB device node
arm64: dts: salvator-x: enable usb2_phy of channel 0
arm64: dts: salvator-x: enable USB 2.0 Host channel 0
arm64: dts: salvator-x: enable
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 26df300..3
Hi Geert-san,
> From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On
> Behalf Of Geert Uytterhoeven
> Sent: Tuesday, May 24, 2016 4:10 PM
>
> Hi Shimoda-san,
>
> On Tue, May 24, 2016 at 6:57 AM, Yoshihiro Shimoda
> <yoshihiro.shimoda...@renesas
Hi Geert-san,
> From: linux-renesas-soc-ow...@vger.kernel.org
> [mailto:linux-renesas-soc-ow...@vger.kernel.org] On Behalf Of Geert
> Uytterhoeven
> Sent: Tuesday, May 24, 2016 4:13 PM
>
> Hi Shimoda-san,
>
> On Tue, May 24, 2016 at 6:57 AM, Yoshihiro Shim
This patch is based on the renesas-drivers / renesas-drivers-2016-05-17-v4.6
tag.
Changes from v1:
- fix compatible string of hsusb in patch 1.
- fix patch 2 for "make dtbs W=1" warning.
Yoshihiro Shimoda (4):
arm64: dts: r8a7795: Add HSUSB device node
arm64: dts: salvator
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 26df300..a
This patch also adds a regulator node for USB2.0 to handle VBUS on/off
by the phy-rcar-gen3-usb2 driver.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++
1 file changed, 24 insertions(+)
ys/bus/platform/drivers/renesas_usbhs/bind
5) insmod/bind a gadget driver
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salva
We have to set SW15 to pin 2-3 side on the board before we use CN9
as USB host or peripheral.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/bo
+ }
> +
> +out:
> + kfree(data_buf);
> +err_data:
> + kfree(tap);
> +err_tap:
> + if (ret < 0 && host->hw_reset)
> + host->hw_reset(host);
We can use tmio_mmc_hw_reset() of this patch.
Then, we can remove the condition of "
H2 and M2
xHCI controllers)
Cc: <sta...@vger.kernel.org> # v3.17+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
Changes from v2:
- Modify the Kconfig instead of xhci-rcar.h
http://www.spinics.net/lists/linux-usb/msg139681.html
http://www.spinics.net/
be
10 seconds.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
arch/arm64/configs/defconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index a44ef99..a95751d 100644
--- a/arch/arm64/c
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
Changes from v1:
- Remove unrelated change (CONFIG_FHANDLE)
- Remove commit log because the xhci-plat driver is possible to fix
the long wait issue.
arch/arm64/configs/defconfig | 2 +-
1 file changed, 1 ins
Hi Simon-san,
> From: Simon Horman
> Sent: Thursday, April 21, 2016 12:15 PM
>
> Hi Shimoda-san,
>
> On Wed, Apr 20, 2016 at 05:47:14PM +0900, Yoshihiro Shimoda wrote:
> > If we doesn't enable this configuration and runs on R-Car Gen3,
> > xhci host driver wi
to set
a DMAC's device structure by a udc controller driver.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>
---
drivers/usb/gadget/udc/udc-core.c | 24 ++--
include/linux/usb/gadget.h| 4
2 files changed, 22 insertions(+), 6 del
1 - 100 of 766 matches
Mail list logo