From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org,
Hans Verkuil <hans.verkuil@cisco.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Subject: Re: [PATCH 3/3] soc-camera/sh_mobile_csi2: remove unused driver
Date: Mon, 01 Aug 2016 12:19:56 +0300 [thread overview]
Message-ID: <13133835.NIuMLuThPq@avalon> (raw)
In-Reply-To: <d71078e5-e99c-bf41-3c42-98eeed571606@xs4all.nl>
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@cisco.com>
> >>>>
> >>>> 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@cisco.com>
> >>>> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> >>>> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> >>>
> >>> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> >>>
> >>>> ---
> >>>>
> >>>> 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
prev parent reply other threads:[~2016-08-01 9:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-01 7:54 [PATCH 0/3] Remove tw686x-kh, soc-camera/rcar-vin and soc-camera/sh_mobile_csi2 Hans Verkuil
2016-08-01 7:54 ` [PATCH 1/3] tw686x-kh: remove obsolete driver Hans Verkuil
2016-08-01 7:54 ` [PATCH 2/3] soc-camera/rcar-vin: " Hans Verkuil
2016-08-01 8:31 ` Laurent Pinchart
2016-08-01 20:41 ` Niklas Söderlund
2016-08-02 7:35 ` Hans Verkuil
2016-08-15 8:17 ` Hans Verkuil
2016-08-01 7:54 ` [PATCH 3/3] soc-camera/sh_mobile_csi2: remove unused driver Hans Verkuil
2016-08-01 8:34 ` Laurent Pinchart
2016-08-01 8:56 ` Hans Verkuil
2016-08-01 9:01 ` Laurent Pinchart
2016-08-01 9:07 ` Hans Verkuil
2016-08-01 9:19 ` Laurent Pinchart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13133835.NIuMLuThPq@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=g.liakhovetski@gmx.de \
--cc=hans.verkuil@cisco.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.