lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250828085911.81266-1-inbaraj.e@samsung.com>
Date: Thu, 28 Aug 2025 14:29:04 +0530
From: Inbaraj E <inbaraj.e@...sung.com>
To: rmfrfs@...il.com, laurent.pinchart@...asonboard.com, martink@...teo.de,
	kernel@...i.sm, mchehab@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
	conor+dt@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de
Cc: kernel@...gutronix.de, festevam@...il.com, linux-media@...r.kernel.org,
	devicetree@...r.kernel.org, imx@...ts.linux.dev,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	linux-samsung-soc@...r.kernel.org, pankaj.dubey@...sung.com,
	ravi.patel@...sung.com, shradha.t@...sung.com, Inbaraj E
	<inbaraj.e@...sung.com>
Subject: [PATCH v3 0/7] Add FSD CSIS support

The Tesla FSD SoC includes a MIPI CSI-2 receiver IP core named CSIS
(Camera Serial Interface Slave) IP, which is compatible with the CSIS
IP present in NXP i.MX7 and i.MX8 SoC.

The Tesla FSD SoC CSIS IP version is 4.3. This version of the CSIS IP
bundles MIPI CSI-2 link controller and video capture interface. The MIPI
CSI-2 link operation are integrated into the imx-mipi-csis driver, while 
the video capture interface is implemented in the fsd-csis driver.

The Tesla FSD SoC contains 12 instances of CSIS IP and 3 D-PHYs, with 4
CSIS instances sharing a single D-PHY.

The D-PHY interface exposes only the reset through Samsung SYSREG
controller.

This patch series does the following:
1) Add the necessary DT-binding documents.
2) Refactor the imx-mipi-csis driver to support platform specific
clock names and interrupt handlers through device specific data
(struct mipi_csis_info).
3) Add support to dynamically select the VC from the subdevice.
4) Add Telsa FSD CSIS link controller support in imx-mipi-csis driver.
5) Introduce a new media driver(fsd-csis) for the Telsa FSD video
capture interface to capture frames.

These patches were tested on the FSD platform using the
capture_raw_frames application.

Changes since v1:
1. Addressed review comments from Laurent Pinchart to integrate the
with imx-mipi-csis.c to handle the CSIS and expose it as a subdev.

Here is the link to v1 patch for reference:
https://lore.kernel.org/linux-media/7e7832c16925386b771ddb7e00e08661115aa0ea.1668963790.git.sathya@samsung.com/ 

Changes since v2:
1. Improved commit description across all the patches.
2. Changed syscon prefix from samsung to tesla.
3. Changed config from VIDEO_FSD_CSIS to VIDEO_TESLA_FSD_CSIS.
4. Fixed pll clock leak in probe.
5. Rebased the patches on top of laurent pinchart patchset.

Here is the link to v2 patch for reference.
https://lore.kernel.org/linux-media/20250814140943.22531-1-inbaraj.e@samsung.com/

This patchset is dependent on following laurent pinchart patchset.
https://lore.kernel.org/linux-media/20250822002734.23516-1-laurent.pinchart@ideasonboard.com/

Inbaraj E (7):
  dt-bindings: media: nxp: Add support for FSD SoC
  dt-bindings: media: fsd: Add CSIS video capture interface
  media: imx-mipi-csis: Move clk to mipi_csis_info structure
  media: imx-mipi-csis: Move irq flag and handler to mipi_csis_info
    structure
  media: imx-mipi-csis: Add support for dynamic VC selection
  media: imx-mipi-csis: Add support for Telsa FSD CSIS.
  media: fsd-csis: Add FSD CSIS video capture interface support

 .../bindings/media/nxp,imx-mipi-csi2.yaml     |   91 +-
 .../bindings/media/tesla,fsd-csis-media.yaml  |   76 +
 MAINTAINERS                                   |    8 +
 drivers/media/platform/nxp/imx-mipi-csis.c    |  330 +++-
 drivers/media/platform/samsung/Kconfig        |    1 +
 drivers/media/platform/samsung/Makefile       |    1 +
 .../media/platform/samsung/fsd-csis/Kconfig   |   18 +
 .../media/platform/samsung/fsd-csis/Makefile  |    3 +
 .../platform/samsung/fsd-csis/fsd-csis.c      | 1693 +++++++++++++++++
 9 files changed, 2161 insertions(+), 60 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
 create mode 100644 drivers/media/platform/samsung/fsd-csis/Kconfig
 create mode 100644 drivers/media/platform/samsung/fsd-csis/Makefile
 create mode 100644 drivers/media/platform/samsung/fsd-csis/fsd-csis.c
-- 
2.49.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ