]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: imx: Rename imx7-mipi-csis.c to imx-mipi-csis.c
authorJacopo Mondi <jacopo@jmondi.org>
Mon, 21 Feb 2022 17:47:22 +0000 (18:47 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 23 Feb 2022 07:53:07 +0000 (08:53 +0100)
Rename the imx7-mipi-csis.c driver to remove the reference to i.MX7.

The driver is for an IP core found on i.MX7 and i.MX8 SoC, so do not
specify a SoC version number in the driver name.

Remove the references to the i.MX7 SoC in the driver symbols and expand
the driver's header with more information about the IP core the driver
controls.

Also rename the associated bindings documentation.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/admin-guide/media/imx7.rst
Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml [moved from Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.yaml with 98% similarity]
MAINTAINERS
drivers/media/platform/imx/Makefile
drivers/media/platform/imx/imx-mipi-csis.c [moved from drivers/media/platform/imx/imx7-mipi-csis.c with 99% similarity]

index 4785ae8ac97864046ecd56faea82fb1710dd95b9..2fa27718f52aeeb87ae7e72a6fbb4e881280e44d 100644 (file)
@@ -33,7 +33,7 @@ reference manual [#f1]_.
 Entities
 --------
 
-imx7-mipi-csi2
+imx-mipi-csi2
 --------------
 
 This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel
similarity index 98%
rename from Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.yaml
rename to Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml
index e2e6e9aa0fe69e2277eeea38172a1bb98d9f5099..36b135bf9f2a3401e4edc4dc06f19544446029de 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/media/nxp,imx7-mipi-csi2.yaml#
+$id: http://devicetree.org/schemas/media/nxp,imx-mipi-csi2.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: NXP i.MX7 and i.MX8 MIPI CSI-2 receiver
index 5bdb8c881b0b02e9f276e5296aa80c08151134e7..d919ea3ed250a2e1a27ab57862d09c493962ee50 100644 (file)
@@ -11889,9 +11889,9 @@ L:      linux-media@vger.kernel.org
 S:     Maintained
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/admin-guide/media/imx7.rst
+F:     Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml
 F:     Documentation/devicetree/bindings/media/nxp,imx7-csi.yaml
-F:     Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.yaml
-F:     drivers/media/platform/imx/imx7-mipi-csis.c
+F:     drivers/media/platform/imx/imx-mipi-csis.c
 F:     drivers/staging/media/imx/imx7-media-csi.c
 
 MEDIA DRIVERS FOR HELENE
index ee272234c8d7d202772ce53607f257ccb7c153bf..f72bdbe8e6efd21f017eaaa0dd0673013e747e40 100644 (file)
@@ -1 +1 @@
-obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx7-mipi-csis.o
+obj-$(CONFIG_VIDEO_IMX_MIPI_CSIS) += imx-mipi-csis.o
similarity index 99%
rename from drivers/media/platform/imx/imx7-mipi-csis.c
rename to drivers/media/platform/imx/imx-mipi-csis.c
index 388cfd012212c81170389fb721cde0bdf40a3d00..100722b61c69c94ddf24d145725c74f5df8b2a07 100644 (file)
@@ -1,6 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Freescale i.MX7 SoC series MIPI-CSI V3.3 receiver driver
+ * Samsung CSIS MIPI CSI-2 receiver driver.
+ *
+ * The Samsung CSIS IP is a MIPI CSI-2 receiver found in various NXP i.MX7 and
+ * i.MX8 SoCs. The i.MX7 features version 3.3 of the IP, while i.MX8 features
+ * version 3.6.3.
  *
  * Copyright (C) 2019 Linaro Ltd
  * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. All Rights Reserved.
@@ -31,7 +35,7 @@
 #include <media/v4l2-mc.h>
 #include <media/v4l2-subdev.h>
 
-#define CSIS_DRIVER_NAME                       "imx7-mipi-csis"
+#define CSIS_DRIVER_NAME                       "imx-mipi-csis"
 
 #define CSIS_PAD_SINK                          0
 #define CSIS_PAD_SOURCE                                1
@@ -1519,4 +1523,4 @@ module_platform_driver(mipi_csis_driver);
 
 MODULE_DESCRIPTION("i.MX7 & i.MX8 MIPI CSI-2 receiver driver");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:imx7-mipi-csi2");
+MODULE_ALIAS("platform:imx-mipi-csi2");