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 |
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
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 :-)
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
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
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 :)
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
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 ?
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
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.
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
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 --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> */