mbox series

[0/8] Remove obsolete soc_camera drivers

Message ID 20190117161802.5740-1-hverkuil-cisco@xs4all.nl (mailing list archive)
Headers show
Series Remove obsolete soc_camera drivers | expand

Message

Hans Verkuil Jan. 17, 2019, 4:17 p.m. UTC
From: Hans Verkuil <hverkuil-cisco@xs4all.nl>

The soc_mt9t112, soc_ov772x and soc_tw9910 drivers now have
non-soc-camera replacements, so those three drivers can be
removed.

The soc_camera sh_mobile_ceu_camera platform driver also has
a non-soc-camera replacement, so remove this driver as well.

This driver was also the last driver that used soc_scale_crop,
so remove that too. Finally remove the test soc_camera_platform
driver. There will be no more soc_camera platform drivers, so this
platform template driver serves no purpose anymore.

Regards,

	Hans

Hans Verkuil (7):
  soc_mt9t112: remove obsolete sensor driver
  soc_ov772x: remove obsolete sensor driver
  tw9910.h: remove obsolete soc_camera.h include.
  soc_tw9910: remove obsolete sensor driver
  sh_mobile_ceu_camera: remove obsolete soc_camera driver
  soc_camera/soc_scale_crop: drop this unused code
  soc_camera_platform: remove obsolete soc_camera test driver

Jacopo Mondi (1):
  media: tw9910: Unregister subdevice with v4l2-async

 drivers/media/i2c/soc_camera/Kconfig          |   18 -
 drivers/media/i2c/soc_camera/Makefile         |    3 -
 drivers/media/i2c/soc_camera/soc_mt9t112.c    | 1157 -----------
 drivers/media/i2c/soc_camera/soc_ov772x.c     | 1123 ----------
 drivers/media/i2c/soc_camera/soc_tw9910.c     |  999 ---------
 drivers/media/i2c/tw9910.c                    |    2 +-
 drivers/media/platform/soc_camera/Kconfig     |   18 -
 drivers/media/platform/soc_camera/Makefile    |    8 -
 .../soc_camera/sh_mobile_ceu_camera.c         | 1810 -----------------
 .../platform/soc_camera/soc_camera_platform.c |  188 --
 .../platform/soc_camera/soc_scale_crop.c      |  426 ----
 .../platform/soc_camera/soc_scale_crop.h      |   47 -
 .../platform_data/media/soc_camera_platform.h |   83 -
 include/media/drv-intf/sh_mobile_ceu.h        |   29 -
 include/media/i2c/tw9910.h                    |    2 -
 15 files changed, 1 insertion(+), 5912 deletions(-)
 delete mode 100644 drivers/media/i2c/soc_camera/soc_mt9t112.c
 delete mode 100644 drivers/media/i2c/soc_camera/soc_ov772x.c
 delete mode 100644 drivers/media/i2c/soc_camera/soc_tw9910.c
 delete mode 100644 drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
 delete mode 100644 drivers/media/platform/soc_camera/soc_camera_platform.c
 delete mode 100644 drivers/media/platform/soc_camera/soc_scale_crop.c
 delete mode 100644 drivers/media/platform/soc_camera/soc_scale_crop.h
 delete mode 100644 include/linux/platform_data/media/soc_camera_platform.h
 delete mode 100644 include/media/drv-intf/sh_mobile_ceu.h

Comments

Sakari Ailus Jan. 18, 2019, 8:56 a.m. UTC | #1
On Thu, Jan 17, 2019 at 05:17:54PM +0100, hverkuil-cisco@xs4all.nl wrote:
> From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> 
> The soc_mt9t112, soc_ov772x and soc_tw9910 drivers now have
> non-soc-camera replacements, so those three drivers can be
> removed.
> 
> The soc_camera sh_mobile_ceu_camera platform driver also has
> a non-soc-camera replacement, so remove this driver as well.
> 
> This driver was also the last driver that used soc_scale_crop,
> so remove that too. Finally remove the test soc_camera_platform
> driver. There will be no more soc_camera platform drivers, so this
> platform template driver serves no purpose anymore.

For the set:

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Are you planning to move the rest of the drivers to staging and depend on
BROKEN, or should I do that?
Hans Verkuil Jan. 18, 2019, 8:58 a.m. UTC | #2
On 1/18/19 9:56 AM, Sakari Ailus wrote:
> On Thu, Jan 17, 2019 at 05:17:54PM +0100, hverkuil-cisco@xs4all.nl wrote:
>> From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
>>
>> The soc_mt9t112, soc_ov772x and soc_tw9910 drivers now have
>> non-soc-camera replacements, so those three drivers can be
>> removed.
>>
>> The soc_camera sh_mobile_ceu_camera platform driver also has
>> a non-soc-camera replacement, so remove this driver as well.
>>
>> This driver was also the last driver that used soc_scale_crop,
>> so remove that too. Finally remove the test soc_camera_platform
>> driver. There will be no more soc_camera platform drivers, so this
>> platform template driver serves no purpose anymore.
> 
> For the set:
> 
> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> 
> Are you planning to move the rest of the drivers to staging and depend on
> BROKEN, or should I do that?
> 

Can you do that?

Thanks,

	Hans
Sakari Ailus Jan. 18, 2019, 9:06 a.m. UTC | #3
On Fri, Jan 18, 2019 at 09:58:43AM +0100, Hans Verkuil wrote:
> On 1/18/19 9:56 AM, Sakari Ailus wrote:
> > On Thu, Jan 17, 2019 at 05:17:54PM +0100, hverkuil-cisco@xs4all.nl wrote:
> >> From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> >>
> >> The soc_mt9t112, soc_ov772x and soc_tw9910 drivers now have
> >> non-soc-camera replacements, so those three drivers can be
> >> removed.
> >>
> >> The soc_camera sh_mobile_ceu_camera platform driver also has
> >> a non-soc-camera replacement, so remove this driver as well.
> >>
> >> This driver was also the last driver that used soc_scale_crop,
> >> so remove that too. Finally remove the test soc_camera_platform
> >> driver. There will be no more soc_camera platform drivers, so this
> >> platform template driver serves no purpose anymore.
> > 
> > For the set:
> > 
> > Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> > 
> > Are you planning to move the rest of the drivers to staging and depend on
> > BROKEN, or should I do that?
> > 
> 
> Can you do that?

Certainly. I just want to make sure we don't both do it. :-)