Re: [PATCH 3/3] soc-camera/sh_mobile_csi2: remove unused driver

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

 



Hi Hans,

On Monday 01 Aug 2016 11:07:03 Hans Verkuil wrote:
> On 08/01/2016 11:01 AM, Laurent Pinchart wrote:
> > On Monday 01 Aug 2016 10:56:21 Hans Verkuil wrote:
> >> On 08/01/2016 10:34 AM, Laurent Pinchart wrote:
> >>> On Monday 01 Aug 2016 09:54:25 Hans Verkuil wrote:
> >>>> From: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> >>>> 
> >>>> The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
> >>>> Especially since the soc-camera framework is being deprecated.
> >>>> 
> >>>> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> >>>> Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> >>>> Cc: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> >>> 
> >>> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> >>> 
> >>>> ---
> >>>> 
> >>>>  drivers/media/platform/soc_camera/Kconfig          |   7 -
> >>>>  drivers/media/platform/soc_camera/Makefile         |   1 -
> >>>>  .../platform/soc_camera/sh_mobile_ceu_camera.c     | 229 +-----------
> >>>>  drivers/media/platform/soc_camera/sh_mobile_csi2.c | 400 -------------
> >>>>  include/media/drv-intf/sh_mobile_ceu.h             |   1 -
> >>>>  include/media/drv-intf/sh_mobile_csi2.h            |  48 ---
> >>>>  6 files changed, 10 insertions(+), 676 deletions(-)
> >>>>  delete mode 100644 drivers/media/platform/soc_camera/sh_mobile_csi2.c
> >>>>  delete mode 100644 include/media/drv-intf/sh_mobile_c
> >>> 
> >>> Any plan for the sh_mobile_ceu_camera driver by the way ?
> >> 
> >> Yes.
> >> 
> >> The idea is to replace the remaining soc-camera drivers by 'proper'
> >> drivers (Robert Jarzmik is working on that for the pxa_camera driver, and
> >> I am working on the atmel-isi driver).
> >> 
> >> Once that's done the only soc-camera driver left is the
> >> sh_mobile_ceu_camera driver.
> >> 
> >> At that moment the soc-camera framework will be folded into the
> >> sh_mobile_ceu_camera driver and it will cease to exist as a framework.
> >> It's just a very complex driver. I plan on refactoring it further,
> >> removing dead code etc.
> >> 
> >> My original plan was to replace the sh_mobile_ceu_camera driver by a
> >> 'proper' driver as well, but it was next to impossible to do that. The
> >> fact that it didn't use the device tree and the complexity with scaling
> >> and cropping and the close dependency on soc-camera just made this a no
> >> go (at least not something I was willing to spend more time on).
> >> 
> >> I think this alternative approach has the best chance of succeeding.
> > 
> > Are there really users of the CEU driver ? There are a few ARM-based
> > Renesas platforms that include the CEU, but they're pretty old now and
> > don't support the CEU in mainline. As far as I know only arch/sh still
> > makes use of the CEU driver.
> 
> Well, I can still test it. And it is still in the arch/sh code. It's not
> really my decision since I just don't know enough whether or not it can be
> removed.
> 
> You are probably better placed to figure that out.

Since arch/sh got taken over by the J-Core developers, not really ;-) What I 
know is that there's very very little interest at Renesas for SuperH support.

> >> I'm not sure yet what we'll do with the soc-camera sensors. I
> >> experimented a bit with extracting them from soc-camera, but for most
> >> it's not easy to do so. Something to look at later.
> > 
> > It would be a shame to remove them all, but it also depends on whether we
> > can find hardware for testing.
> 
> Well, they always remain in git, but I know what you mean. Anyway, that's
> for later.

-- 
Regards,

Laurent Pinchart

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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux