diff mbox series

usb: gadget: udc: renesas_usb3: add support for r8a774c0

Message ID 1544732635-7367-1-git-send-email-fabrizio.castro@bp.renesas.com (mailing list archive)
State New, archived
Headers show
Series usb: gadget: udc: renesas_usb3: add support for r8a774c0 | expand

Commit Message

Fabrizio Castro Dec. 13, 2018, 8:23 p.m. UTC
RZ/G2E USB 3.0 implementation is like the one found on R-Car E3,
therefore add the same quirk.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/usb/gadget/udc/renesas_usb3.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Yoshihiro Shimoda Dec. 14, 2018, 9:06 a.m. UTC | #1
Hi Fabrizio,

> From: Fabrizio Castro, Sent: Friday, December 14, 2018 5:24 AM
> 
> RZ/G2E USB 3.0 implementation is like the one found on R-Car E3,
> therefore add the same quirk.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> ---
>  drivers/usb/gadget/udc/renesas_usb3.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c
> index cdffbd1..18444a8 100644
> --- a/drivers/usb/gadget/udc/renesas_usb3.c
> +++ b/drivers/usb/gadget/udc/renesas_usb3.c
> @@ -2625,6 +2625,10 @@ MODULE_DEVICE_TABLE(of, usb3_of_match);
> 
>  static const struct soc_device_attribute renesas_usb3_quirks_match[] = {
>  	{
> +		.soc_id = "r8a774c0",
> +		.data = &renesas_usb3_priv_r8a77990,
> +	},
> +	{
>  		.soc_id = "r8a7795", .revision = "ES1.*",
>  		.data = &renesas_usb3_priv_r8a7795_es1,
>  	},
> --
> 2.7.4
Simon Horman Dec. 16, 2018, 7:50 p.m. UTC | #2
On Thu, Dec 13, 2018 at 08:23:55PM +0000, Fabrizio Castro wrote:
> RZ/G2E USB 3.0 implementation is like the one found on R-Car E3,
> therefore add the same quirk.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Fabrizio Castro Feb. 14, 2019, 4:09 p.m. UTC | #3
Hello Felipe,

Who is the best person for taking patches for renesas_usb3.c?

Thanks,
Fab

> From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Sent: 13 December 2018 20:24
> Subject: [PATCH] usb: gadget: udc: renesas_usb3: add support for r8a774c0
>
> RZ/G2E USB 3.0 implementation is like the one found on R-Car E3,
> therefore add the same quirk.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> ---
>  drivers/usb/gadget/udc/renesas_usb3.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c
> index cdffbd1..18444a8 100644
> --- a/drivers/usb/gadget/udc/renesas_usb3.c
> +++ b/drivers/usb/gadget/udc/renesas_usb3.c
> @@ -2625,6 +2625,10 @@ MODULE_DEVICE_TABLE(of, usb3_of_match);
>
>  static const struct soc_device_attribute renesas_usb3_quirks_match[] = {
>  {
> +.soc_id = "r8a774c0",
> +.data = &renesas_usb3_priv_r8a77990,
> +},
> +{
>  .soc_id = "r8a7795", .revision = "ES1.*",
>  .data = &renesas_usb3_priv_r8a7795_es1,
>  },
> --
> 2.7.4



Renesas Electronics Europe GmbH,Geschaeftsfuehrer/President : Michael Hannawald, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany,Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647
Felipe Balbi Feb. 15, 2019, 6:34 a.m. UTC | #4
Hi,

(no top-posting, please)

Fabrizio Castro <fabrizio.castro@bp.renesas.com> writes:

> Hello Felipe,
>
> Who is the best person for taking patches for renesas_usb3.c?

they're already in my 'next' branch. I'll send pull request to Greg shortly
diff mbox series

Patch

diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c
index cdffbd1..18444a8 100644
--- a/drivers/usb/gadget/udc/renesas_usb3.c
+++ b/drivers/usb/gadget/udc/renesas_usb3.c
@@ -2625,6 +2625,10 @@  MODULE_DEVICE_TABLE(of, usb3_of_match);
 
 static const struct soc_device_attribute renesas_usb3_quirks_match[] = {
 	{
+		.soc_id = "r8a774c0",
+		.data = &renesas_usb3_priv_r8a77990,
+	},
+	{
 		.soc_id = "r8a7795", .revision = "ES1.*",
 		.data = &renesas_usb3_priv_r8a7795_es1,
 	},