[PATCH v4 1/3] usb: renesas_usbhs: Add support for RZ/A1

2018-01-08 Thread Chris Brandt
This patch adds the capability to support RZ/A1 SoCs. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- v2: * Removed "renesas,usbhs-r7s72100" * Changed license of rza.c --- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 13 +++

[PATCH v4 0/3] usb: renesas_usbhs: Add RZ/A1 support

2018-01-08 Thread Chris Brandt
* Node name is now generic 'usb@' * GIC_SPI (73-32) is now just GIC_SPI 41 * All hex number are lower case * Added Reviewed-by Chris Brandt (3): usb: renesas_usbhs: Add support for RZ/A1 dt-bindings: usb: renesas_usbhs: Add support for RZ/A1 ARM: dts: r7s72100: add USB device to device tr

[PATCH v4 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-08 Thread Chris Brandt
Add USB device support. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v4: * Changed to "renesas,usbhs-r7s72100", "renesas,rza1-usbhs" v3: * Changed from "renesas,usbhs-r7s72100"

[PATCH v4 2/3] dt-bindings: usb: renesas_usbhs: Add support for RZ/A1

2018-01-08 Thread Chris Brandt
Document support for RZ/A1 SoCs Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v4: * Re-added "renesas,usbhs-r7s72100" v3: * Removed "renesas,usbhs-r7s72100" v2: * Added Reviewed-by --- Docum

RE: [PATCH v3 0/3] usb: renesas_usbhs: Add RZ/A1 support

2018-01-08 Thread Chris Brandt
Hi Geert and Simon, On Monday, January 08, 2018, Geert Uytterhoeven wrote: > Thanks for the update, but I think there has been a misunderstanding. > I didn't mean to drop "renesas,usbhs-r7s72100" everywhere, only from > the matching in the driver. Opps, I was all kinds of confused then. So,

[PATCH v3 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-05 Thread Chris Brandt
Add USB device support. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v3: * Changed from "renesas,usbhs-r7s72100" to "renesas,rza1-usbhs" v2: * Node name is now generic 'usb@' * GIC_SPI (73-3

[PATCH v3 2/3] dt-bindings: usb: renesas_usbhs: Add support for RZ/A1

2018-01-05 Thread Chris Brandt
Document support for RZ/A1 SoCs Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v3: * Removed "renesas,usbhs-r7s72100" v2: * Added Reviewed-by --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt

[PATCH v3 0/3] usb: renesas_usbhs: Add RZ/A1 support

2018-01-05 Thread Chris Brandt
from "renesas,usbhs-r7s72100" to "renesas,rza1-usbhs" * Removed "renesas,usbhs-r7s72100" * Changed License of rza.c v2: * Node name is now generic 'usb@' * GIC_SPI (73-32) is now just GIC_SPI 41 * All hex number are lower case * Added Reviewed-by Chris Brandt

[PATCH v3 1/3] usb: renesas_usbhs: Add support for RZ/A1

2018-01-05 Thread Chris Brandt
This patch adds the capability to support RZ/A1 SoCs. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- v2: * Removed "renesas,usbhs-r7s72100" * Changed license of rza.c --- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 13 +++

RE: [PATCH v2 1/3] usb: renesas_usbhs: Add support for RZ/A1

2018-01-05 Thread Chris Brandt
Hi Geert, On Friday, January 05, 2018, Geert Uytterhoeven wrote: > > + { > > + .compatible = "renesas,usbhs-r7s72100", > > + .data = (void *)USBHS_TYPE_RZA1, > > + }, > > I think it suffices to drop the part above... > > > { > >

[PATCH v2 2/3] dt-bindings: usb: renesas_usbhs: Add support for RZ/A1

2018-01-05 Thread Chris Brandt
Document support for RZ/A1 SoCs Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v2: * Added Reviewed-by --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 0/3] usb: renesas_usbhs: Add RZ/A1 support

2018-01-05 Thread Chris Brandt
is now generic 'usb@' * GIC_SPI (73-32) is now just GIC_SPI 41 * All hex number are lower case * Added Reviewed-by Chris Brandt (3): usb: renesas_usbhs: Add support for RZ/A1 dt-bindings: usb: renesas_usbhs: Add support for RZ/A1 ARM: dts: r7s72100: add USB device to device tree

[PATCH v2 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-05 Thread Chris Brandt
Add USB device support. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v2: * Node name is now generic 'usb@' * GIC_SPI (73-32) is now just GIC_SPI 41 * All hex number are lower case * Added Reviewed-by --- a

[PATCH v2 1/3] usb: renesas_usbhs: Add support for RZ/A1

2018-01-05 Thread Chris Brandt
This patch adds the capability to support RZ/A1 SoCs. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 17 + drivers/usb/renesas_usbhs/common.h | 6 + drivers/usb/renesas_usbhs

RE: [PATCH 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-05 Thread Chris Brandt
Hi Geert, On Friday, January 05, 2018, Geert Uytterhoeven wrote: > > But then...the number goes back to '73' when you look at it in > > /proc/interrupts. > > Having an identical number in /proc/interrupts is a coincidence. > These numbers are virtual, and may change even across reboots. I'm not

RE: [PATCH 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-05 Thread Chris Brandt
Hi Geert, Thanks for the review. On Friday, January 05, 2018, Geert Uytterhoeven wrote: > > + interrupts = ; > > "41", all other interrupt properties already have the SPI offset > subtracted? The actual HW vector number in the hardware manual is '73'. As you know, you need to

RE: [PATCH 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-05 Thread Chris Brandt
On Friday, January 05, 2018, Sergei Shtylyov wrote: > > + usbhs0: usbhs@e801 { > > The node names should be generic, i.e "usb@e801". > > > + compatible = "renesas,usbhs-r7s72100"; > > + reg = <0xe801 0x1A0>; > > Lowercase in the hex values, please be

[PATCH 0/3] usb: renesas_usbhs: Add RZ/A1 support

2018-01-04 Thread Chris Brandt
This series adds RZ/A1 gadget support to the renesas_usbhs driver. Basically, it's almost the same HW as the R-Car (and SH) parts. The only real difference is the some extra registers for the PHY. This was tested on an RSK board by connecting to a PC as an Ethernet CDC gadget. Chris Brandt (3

[PATCH 1/3] usb: renesas_usbhs: Add support for RZ/A1

2018-01-04 Thread Chris Brandt
This patch adds the capability to support RZ/A1 SoCs. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 17 + drivers/usb/renesas_usbhs/common.h | 6 + drivers/usb/renesas_usbhs

[PATCH 2/3] dt-bindings: usb: renesas_usbhs: Add support for RZ/A1

2018-01-04 Thread Chris Brandt
Document support for RZ/A1 SoCs Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bi

[PATCH 3/3] ARM: dts: r7s72100: add USB device to device tree

2018-01-04 Thread Chris Brandt
Add USB device support. Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- arch/arm/boot/dts/r7s72100.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi index ab9645a42eca..eb414e735185

[PATCH] usb: r8a66597-hcd: select a different endpoint on timeout

2017-04-27 Thread Chris Brandt
. This leads to endpoints never getting serviced if one endpoint is using NAK as a flow control method. Fixes: 5d3043586db4 ("usb: r8a66597-hcd: host controller driver for R8A6659") Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- drivers/usb/host/r8a66597-hcd.c | 4 +++-

[PATCH] usb: r8a66597-hcd: decrease timeout

2017-04-27 Thread Chris Brandt
Signed-off-by: Chris Brandt <chris.bra...@renesas.com> --- drivers/usb/host/r8a66597-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 9c3413d550bb..7bf78be1fd32 100644 --- a/drivers/usb/host/r8a6