diff mbox series

dmaengine: rcar-dmac: Update copyright information

Message ID 20190410182657.23034-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series dmaengine: rcar-dmac: Update copyright information | expand

Commit Message

Niklas Söderlund April 10, 2019, 6:26 p.m. UTC
From: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>

Update copyright and string for Gen3.

Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 drivers/dma/sh/rcar-dmac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Horman April 11, 2019, 8:49 a.m. UTC | #1
On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> From: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
> 
> Update copyright and string for Gen3.
> 
> Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  drivers/dma/sh/rcar-dmac.c | 4 ++--

Not strictly related, but is it appropriate to:

1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/
2. Remove drivers/dma/sh/sudmac.c which appears unused
Niklas Söderlund April 11, 2019, 3:17 p.m. UTC | #2
On 2019-04-11 10:49:37 +0200, Simon Horman wrote:
> On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> > From: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
> > 
> > Update copyright and string for Gen3.
> > 
> > Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
> > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

Thanks.

> 
> > ---
> >  drivers/dma/sh/rcar-dmac.c | 4 ++--
> 
> Not strictly related, but is it appropriate to:
> 
> 1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/
> 2. Remove drivers/dma/sh/sudmac.c which appears unused

I let someone with a better grasp of history answer this one. From my 
side removing drivers which are unused seems like a good idea :-)
Geert Uytterhoeven April 24, 2019, 12:22 p.m. UTC | #3
Hi Niklas, Shimoda-san,

On Thu, Apr 11, 2019 at 5:18 PM Niklas Söderlund
<niklas.soderlund@ragnatech.se> wrote:
> On 2019-04-11 10:49:37 +0200, Simon Horman wrote:
> > On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> > Not strictly related, but is it appropriate to:
> >
> > 1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/

That may make sense...

> > 2. Remove drivers/dma/sh/sudmac.c which appears unused
>
> I let someone with a better grasp of history answer this one. From my
> side removing drivers which are unused seems like a good idea :-)

There seem to be some (half-baked?) interaction between sudmac.c and
drivers/usb/gadget/udc/r8a66597-udc.c and drivers/usb/renesas_usbhs/fifo.c.
These don't seem to be used at all on Renesas ARM platforms, but
CONFIG_USB_R8A66597_HCD is enabled in shmobile_defconfig and
multi_v7_defconfig?

Shimoda-san: can you please enlighten us?
Thanks!

Gr{oetje,eeting}s,

                        Geert
Yoshihiro Shimoda April 25, 2019, 3:52 a.m. UTC | #4
Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Wednesday, April 24, 2019 9:22 PM
> 
> Hi Niklas, Shimoda-san,
> 
> On Thu, Apr 11, 2019 at 5:18 PM Niklas Söderlund
> <niklas.soderlund@ragnatech.se> wrote:
> > On 2019-04-11 10:49:37 +0200, Simon Horman wrote:
> > > On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> > > Not strictly related, but is it appropriate to:
> > >
> > > 1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/
> 
> That may make sense...
> 
> > > 2. Remove drivers/dma/sh/sudmac.c which appears unused
> >
> > I let someone with a better grasp of history answer this one. From my
> > side removing drivers which are unused seems like a good idea :-)
> 
> There seem to be some (half-baked?) interaction between sudmac.c and
> drivers/usb/gadget/udc/r8a66597-udc.c and drivers/usb/renesas_usbhs/fifo.c.
> These don't seem to be used at all on Renesas ARM platforms, but
> CONFIG_USB_R8A66597_HCD is enabled in shmobile_defconfig and
> multi_v7_defconfig?
> 
> Shimoda-san: can you please enlighten us?
> Thanks!

Sure.

- SH4A / sh7757 has SUDMAC. (any other Renesas ARM platforms don't have it).
 # sh7757 is not public product though...
- At first, I added this SUDMAC support into r8a66597-udc.
- But, our direction is changed by some reason. So, we use renesas_usbhs driver anyway.
- The renesas_usbhs supports dmaengine, so I added dma/sh/sudmac driver.
- However, for some reasons (maybe I'm busy for other projects?),
  I didn't add using the sudmac support into arch/sh/kernel/cpu/sh4a/setup-sh7757.c.
- So, no one uses both r8a66597-udc and sudmac now.

From 2013 (added the sudmac driver) to now, since no one integrated the sudmac for sh7757,
I think we can remove the driver.

Best regards,
Yoshihiro Shimoda
Vinod Koul April 26, 2019, 11:53 a.m. UTC | #5
On 25-04-19, 03:52, Yoshihiro Shimoda wrote:
> Hi Geert-san,
> 
> > From: Geert Uytterhoeven, Sent: Wednesday, April 24, 2019 9:22 PM
> > 
> > Hi Niklas, Shimoda-san,
> > 
> > On Thu, Apr 11, 2019 at 5:18 PM Niklas Söderlund
> > <niklas.soderlund@ragnatech.se> wrote:
> > > On 2019-04-11 10:49:37 +0200, Simon Horman wrote:
> > > > On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> > > > Not strictly related, but is it appropriate to:
> > > >
> > > > 1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/
> > 
> > That may make sense...
> > 
> > > > 2. Remove drivers/dma/sh/sudmac.c which appears unused
> > >
> > > I let someone with a better grasp of history answer this one. From my
> > > side removing drivers which are unused seems like a good idea :-)
> > 
> > There seem to be some (half-baked?) interaction between sudmac.c and
> > drivers/usb/gadget/udc/r8a66597-udc.c and drivers/usb/renesas_usbhs/fifo.c.
> > These don't seem to be used at all on Renesas ARM platforms, but
> > CONFIG_USB_R8A66597_HCD is enabled in shmobile_defconfig and
> > multi_v7_defconfig?
> > 
> > Shimoda-san: can you please enlighten us?
> > Thanks!
> 
> Sure.
> 
> - SH4A / sh7757 has SUDMAC. (any other Renesas ARM platforms don't have it).
>  # sh7757 is not public product though...
> - At first, I added this SUDMAC support into r8a66597-udc.
> - But, our direction is changed by some reason. So, we use renesas_usbhs driver anyway.
> - The renesas_usbhs supports dmaengine, so I added dma/sh/sudmac driver.
> - However, for some reasons (maybe I'm busy for other projects?),
>   I didn't add using the sudmac support into arch/sh/kernel/cpu/sh4a/setup-sh7757.c.
> - So, no one uses both r8a66597-udc and sudmac now.
> 
> From 2013 (added the sudmac driver) to now, since no one integrated the sudmac for sh7757,
> I think we can remove the driver.

And where is the removal patch :)
Vinod Koul April 26, 2019, 11:54 a.m. UTC | #6
On 10-04-19, 20:26, Niklas Söderlund wrote:
> From: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
> 
> Update copyright and string for Gen3.

Applied, thanks
Simon Horman May 9, 2019, 12:55 p.m. UTC | #7
On Fri, Apr 26, 2019 at 05:23:43PM +0530, Vinod Koul wrote:
> On 25-04-19, 03:52, Yoshihiro Shimoda wrote:
> > Hi Geert-san,
> > 
> > > From: Geert Uytterhoeven, Sent: Wednesday, April 24, 2019 9:22 PM
> > > 
> > > Hi Niklas, Shimoda-san,
> > > 
> > > On Thu, Apr 11, 2019 at 5:18 PM Niklas Söderlund
> > > <niklas.soderlund@ragnatech.se> wrote:
> > > > On 2019-04-11 10:49:37 +0200, Simon Horman wrote:
> > > > > On Wed, Apr 10, 2019 at 08:26:57PM +0200, Niklas Söderlund wrote:
> > > > > Not strictly related, but is it appropriate to:
> > > > >
> > > > > 1. Move this driver and drivers/dma/sh/usb-dmac.c to drivers/dma/renesas/
> > > 
> > > That may make sense...
> > > 
> > > > > 2. Remove drivers/dma/sh/sudmac.c which appears unused
> > > >
> > > > I let someone with a better grasp of history answer this one. From my
> > > > side removing drivers which are unused seems like a good idea :-)
> > > 
> > > There seem to be some (half-baked?) interaction between sudmac.c and
> > > drivers/usb/gadget/udc/r8a66597-udc.c and drivers/usb/renesas_usbhs/fifo.c.
> > > These don't seem to be used at all on Renesas ARM platforms, but
> > > CONFIG_USB_R8A66597_HCD is enabled in shmobile_defconfig and
> > > multi_v7_defconfig?
> > > 
> > > Shimoda-san: can you please enlighten us?
> > > Thanks!
> > 
> > Sure.
> > 
> > - SH4A / sh7757 has SUDMAC. (any other Renesas ARM platforms don't have it).
> >  # sh7757 is not public product though...
> > - At first, I added this SUDMAC support into r8a66597-udc.
> > - But, our direction is changed by some reason. So, we use renesas_usbhs driver anyway.
> > - The renesas_usbhs supports dmaengine, so I added dma/sh/sudmac driver.
> > - However, for some reasons (maybe I'm busy for other projects?),
> >   I didn't add using the sudmac support into arch/sh/kernel/cpu/sh4a/setup-sh7757.c.
> > - So, no one uses both r8a66597-udc and sudmac now.
> > 
> > From 2013 (added the sudmac driver) to now, since no one integrated the sudmac for sh7757,
> > I think we can remove the driver.
> 
> And where is the removal patch :)

Sorry for the delay, I have just posted

[PATCH] dmaengine: sudmac: remove unused driver


Shimoda-san, can we go further and also:

1. Remove the r8a66597-udc driver, which also seems unused
2. Remove (minimal) sudmac integration from usbhs ?
Yoshihiro Shimoda May 10, 2019, 11:03 a.m. UTC | #8
Hi Simon-san,

> From: Simon Horman, Sent: Thursday, May 9, 2019 9:55 PM
> 
<snip>
> Shimoda-san, can we go further and also:
> 
> 1. Remove the r8a66597-udc driver, which also seems unused
> 2. Remove (minimal) sudmac integration from usbhs ?

I think so. I'll do both.
About the 2, I'll do it when adding RZ/A2 support from Chris-san is applied.

Best regards,
Yoshihiro Shimoda
Simon Horman May 13, 2019, 12:20 p.m. UTC | #9
On Fri, May 10, 2019 at 11:03:48AM +0000, Yoshihiro Shimoda wrote:
> Hi Simon-san,
> 
> > From: Simon Horman, Sent: Thursday, May 9, 2019 9:55 PM
> > 
> <snip>
> > Shimoda-san, can we go further and also:
> > 
> > 1. Remove the r8a66597-udc driver, which also seems unused
> > 2. Remove (minimal) sudmac integration from usbhs ?
> 
> I think so. I'll do both.
> About the 2, I'll do it when adding RZ/A2 support from Chris-san is applied.

Thanks Shimoda-san,

much appreciated.
Yoshihiro Shimoda June 4, 2019, 4:20 a.m. UTC | #10
Hi Simon-san again,
(clean up on CC)

This is just a record.

> From: Simon Horman, Sent: Monday, May 13, 2019 9:20 PM
<snip>
> > > Shimoda-san, can we go further and also:
> > >
> > > 1. Remove the r8a66597-udc driver, which also seems unused

I overlooked that some SuperH platforms used this driver like below.
So, I will not submit removing this driver patch at this time.

$ git grep -l r8a66597_udc
arch/sh/boards/mach-ecovec24/setup.c
arch/sh/boards/mach-kfr2r09/setup.c
arch/sh/boards/mach-se/7724/setup.c

> > > 2. Remove (minimal) sudmac integration from usbhs ?

I have submitted a patch like below:
https://patchwork.kernel.org/patch/10974161/

Best regards,
Yoshihiro Shimoda
Simon Horman June 4, 2019, 9:38 a.m. UTC | #11
On Tue, Jun 04, 2019 at 04:20:52AM +0000, Yoshihiro Shimoda wrote:
> Hi Simon-san again,
> (clean up on CC)
> 
> This is just a record.
> 
> > From: Simon Horman, Sent: Monday, May 13, 2019 9:20 PM
> <snip>
> > > > Shimoda-san, can we go further and also:
> > > >
> > > > 1. Remove the r8a66597-udc driver, which also seems unused
> 
> I overlooked that some SuperH platforms used this driver like below.
> So, I will not submit removing this driver patch at this time.
> 
> $ git grep -l r8a66597_udc
> arch/sh/boards/mach-ecovec24/setup.c
> arch/sh/boards/mach-kfr2r09/setup.c
> arch/sh/boards/mach-se/7724/setup.c

Thanks for looking into this.
I agree we should keep the r8a66597-udc driver for now.

> > > > 2. Remove (minimal) sudmac integration from usbhs ?
> 
> I have submitted a patch like below:
> https://patchwork.kernel.org/patch/10974161/

Thanks!
diff mbox series

Patch

diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
index 2b4f256981695662..580ca1454fe8cf27 100644
--- a/drivers/dma/sh/rcar-dmac.c
+++ b/drivers/dma/sh/rcar-dmac.c
@@ -1,8 +1,8 @@ 
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Renesas R-Car Gen2 DMA Controller Driver
+ * Renesas R-Car Gen2/Gen3 DMA Controller Driver
  *
- * Copyright (C) 2014 Renesas Electronics Inc.
+ * Copyright (C) 2014-2019 Renesas Electronics Inc.
  *
  * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  */