[RFC PATCH 0/8] media: i2c: Drop unused drivers

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

 



Hello,

Quite a few drivers for I2C camera sensors and video encoders are
bit-rotting in drivers/media/i2c/. In particular, seven drivers have
been merged requiring platform data, never converted to DT, and have
either never had a user in the mainline kernel (ad9389b, mt9m032,
mt9t001 and sr030pc30) or have no user anymore after board files have
been dropped (m5mols, s5k6aa and vs6624).

Another driver, the noon010pc30, also falls in the same category, but
the device is listed in a device tree file in mainline. There is however
no DT binding, and no DT support in the driver.

Unless someone is interested in converting those drivers to DT (and
maintaining them !), these are more than 10k lines of dead code. This
RFC simply drops them.

Seven more drivers (ak881x, mt9t112, noon010pc30, rj45n1cb0c, ths7303,
tw9910 and wm8775) are used in arch/sh/ board files only, for boards
that will likely never be converted to DT. As arch/sh/ seems to be
headed for either a DT conversion or a complete drop, those drivers may
also be removed in the future.

Laurent Pinchart (8):
  media: i2c: Drop unused ad9389b video encoder driver
  media: i2c: Drop unused m5mols camera sensor driver
  media: i2c: Drop unused mt9m032 camera sensor driver
  media: i2c: Drop unused mt9t001 camera sensor driver
  media: i2c: Drop unused noon010pc30 camera sensor driver
  media: i2c: Drop unused s5k6aa camera sensor driver
  media: i2c: Drop unused sr030pc30 camera sensor driver
  media: i2c: Drop unused vs6624 camera sensor driver

 .../admin-guide/media/i2c-cardlist.rst        |    8 -
 MAINTAINERS                                   |   30 -
 drivers/media/i2c/Kconfig                     |   67 -
 drivers/media/i2c/Makefile                    |    8 -
 drivers/media/i2c/ad9389b.c                   | 1215 ------------
 drivers/media/i2c/m5mols/Kconfig              |    8 -
 drivers/media/i2c/m5mols/Makefile             |    4 -
 drivers/media/i2c/m5mols/m5mols.h             |  349 ----
 drivers/media/i2c/m5mols/m5mols_capture.c     |  158 --
 drivers/media/i2c/m5mols/m5mols_controls.c    |  625 -------
 drivers/media/i2c/m5mols/m5mols_core.c        | 1051 -----------
 drivers/media/i2c/m5mols/m5mols_reg.h         |  359 ----
 drivers/media/i2c/mt9m032.c                   |  891 ---------
 drivers/media/i2c/mt9t001.c                   |  992 ----------
 drivers/media/i2c/noon010pc30.c               |  821 --------
 drivers/media/i2c/s5k6aa.c                    | 1652 -----------------
 drivers/media/i2c/sr030pc30.c                 |  762 --------
 drivers/media/i2c/vs6624.c                    |  854 ---------
 drivers/media/i2c/vs6624_regs.h               |  325 ----
 include/media/i2c/ad9389b.h                   |   37 -
 include/media/i2c/m5mols.h                    |   25 -
 include/media/i2c/mt9m032.h                   |   22 -
 include/media/i2c/mt9t001.h                   |   10 -
 include/media/i2c/noon010pc30.h               |   21 -
 include/media/i2c/s5k6aa.h                    |   48 -
 include/media/i2c/sr030pc30.h                 |   17 -
 26 files changed, 10359 deletions(-)
 delete mode 100644 drivers/media/i2c/ad9389b.c
 delete mode 100644 drivers/media/i2c/m5mols/Kconfig
 delete mode 100644 drivers/media/i2c/m5mols/Makefile
 delete mode 100644 drivers/media/i2c/m5mols/m5mols.h
 delete mode 100644 drivers/media/i2c/m5mols/m5mols_capture.c
 delete mode 100644 drivers/media/i2c/m5mols/m5mols_controls.c
 delete mode 100644 drivers/media/i2c/m5mols/m5mols_core.c
 delete mode 100644 drivers/media/i2c/m5mols/m5mols_reg.h
 delete mode 100644 drivers/media/i2c/mt9m032.c
 delete mode 100644 drivers/media/i2c/mt9t001.c
 delete mode 100644 drivers/media/i2c/noon010pc30.c
 delete mode 100644 drivers/media/i2c/s5k6aa.c
 delete mode 100644 drivers/media/i2c/sr030pc30.c
 delete mode 100644 drivers/media/i2c/vs6624.c
 delete mode 100644 drivers/media/i2c/vs6624_regs.h
 delete mode 100644 include/media/i2c/ad9389b.h
 delete mode 100644 include/media/i2c/m5mols.h
 delete mode 100644 include/media/i2c/mt9m032.h
 delete mode 100644 include/media/i2c/mt9t001.h
 delete mode 100644 include/media/i2c/noon010pc30.h
 delete mode 100644 include/media/i2c/s5k6aa.h
 delete mode 100644 include/media/i2c/sr030pc30.h


base-commit: 7120d6bfd6d0b26b49958f429701996f2d3e2c2a
-- 
Regards,

Laurent Pinchart




[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