Re: [PATCH v2] usb: gadget: renesas_usb3: add support for Renesas USB3.0 peripheral controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 16, 2015 at 11:51:59AM +0900, Yoshihiro Shimoda wrote:
> R-Car H3 has USB3.0 peripheral controllers. This controller's has the
> following features:
>  - Supports super, high and full speed
>  - Contains 30 pipes for bulk or interrupt transfer
>  - Contains dedicated DMA controller
> 
> This driver doesn't support the dedicated DMAC for now.
> 
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
> ---
>  This patch is based on the latest Felipe's usb.git / testing/next branch.
>  (commit id = e9284de9fae69f1d5e57a4817bfc36dc5f3adf71)
> 
>  Changes from v1:
>   - fix build error in i386 environment if COMPILE_TEST=y
>   - merge the header file code into the .c file
>   - revise the device tree document about "clocks"
>   - remove prototype declarations
>   - use udelay(1) instead of ndelay(1) in usb3_wait()
>   - remove empty function "usb3_init_phy()"
>   - use module_platform_driver()
>   - remove bit fields member in some structures
> 
>  .../devicetree/bindings/usb/renesas_usb3.txt       |   23 +
>  drivers/usb/gadget/udc/Kconfig                     |   11 +
>  drivers/usb/gadget/udc/Makefile                    |    1 +
>  drivers/usb/gadget/udc/renesas_usb3.c              | 1975 ++++++++++++++++++++
>  4 files changed, 2010 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/usb/renesas_usb3.txt
>  create mode 100644 drivers/usb/gadget/udc/renesas_usb3.c
> 
> diff --git a/Documentation/devicetree/bindings/usb/renesas_usb3.txt b/Documentation/devicetree/bindings/usb/renesas_usb3.txt
> new file mode 100644
> index 0000000..71bee11
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/renesas_usb3.txt
> @@ -0,0 +1,23 @@
> +Renesas Electronics USB3.0 Peripheral driver
> +
> +Required properties:
> +  - compatible: Must contain one of the following:
> +	- "renesas,usb3-peri-r8a7795"

Aren't you all doing <chip>-<peripheral> order for new bindings?

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux