[PATCH 0/3] media: De-stage imx7-mipi-csis.c

Jacopo Mondi
2022-02-11T18:01:25Z

The imx7-mipi-csis.c driver has no obvious problems and can be destaged.

Move it to a newly created drivers/media/platform/imx directory and plumb
the Kconfig and build system.

To make it more controversial, I'm annoyed by having the SoC identifier in the
driver file name, as the same IP the driver controls is found on i.MX7 as well
as i.MX8 SoCs.

I'm not sure how it will look like when more CSI-2 receiver drivers will be
de-staged. Currently the situation is a bit confusing, but I think, looking at
the compatibles for each driver that it might be doable to remove the SoC
identifiers from driver names (although I'm sure it has been attempted in the
past).

Anyway, I'm mostly interested in 1/3 to be able to move the driver out of
staging and start adding support for other i.MX8 SoC revisions on top.

Series based on the most recent media/master tree.

Thanks
j

Jacopo Mondi (3):
media: imx: De-stage imx7-mipi-csis
media: imx: Rename imx7-mipi-csis.c to imx-mipi-csis.c
media: imx: Remove reference to i.MX7 from driver

MAINTAINERS | 2 +-
drivers/media/platform/Kconfig | 1 +
drivers/media/platform/Makefile | 1 +
drivers/media/platform/imx/Kconfig | 23 +++++++++++++++++++
drivers/media/platform/imx/Makefile | 1 +
.../platform/imx/imx-mipi-csis.c} | 10 +++++---
drivers/staging/media/imx/Makefile | 1 -
7 files changed, 34 insertions(+), 5 deletions(-)
create mode 100644 drivers/media/platform/imx/Kconfig
create mode 100644 drivers/media/platform/imx/Makefile
rename drivers/{staging/media/imx/imx7-mipi-csis.c => media/platform/imx/imx-mipi-csis.c} (99%)

--
2.35.0