/linux-6.12.1/drivers/media/pci/intel/ivsc/ |
D | mei_csi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Intel Visual Sensing Controller CSI Linux driver 8 * To set ownership of CSI-2 link and to configure CSI-2 link, there 29 #include <media/ipu-bridge.h> 30 #include <media/ipu6-pci-table.h> 31 #include <media/v4l2-async.h> 32 #include <media/v4l2-ctrls.h> 33 #include <media/v4l2-fwnode.h> 34 #include <media/v4l2-subdev.h> 36 #define MEI_CSI_ENTITY_NAME "Intel IVSC CSI" [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-rzv2m-csi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Renesas RZ/V2M Clocked Serial Interface (CSI) driver 22 #define CSI_MODE 0x00 /* CSI mode control */ 23 #define CSI_CLKSEL 0x04 /* CSI clock select */ 24 #define CSI_CNT 0x08 /* CSI control */ 25 #define CSI_INT 0x0C /* CSI interrupt status */ 26 #define CSI_IFIFOL 0x10 /* CSI receive FIFO level display */ 27 #define CSI_OFIFOL 0x14 /* CSI transmit FIFO level display */ 28 #define CSI_IFIFO 0x18 /* CSI receive window */ 29 #define CSI_OFIFO 0x1C /* CSI transmit window */ [all …]
|
/linux-6.12.1/Documentation/admin-guide/media/ |
D | imx7.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 14 - CMOS Sensor Interface (CSI) 15 - Video Multiplexer 16 - MIPI CSI-2 Receiver 18 .. code-block:: none 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 27 Parallel Camera Input ----------------> | / 34 -------- [all …]
|
D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and 27 packed <--> planar conversion. The IDMAC can also perform a simple [all …]
|
/linux-6.12.1/drivers/media/platform/nxp/ |
D | imx7-media-csi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * V4L2 Capture CSI Subdev for Freescale i.MX6UL/L / i.MX7 SOC 13 #include <linux/dma-mapping.h> 33 #include <media/media-device.h> 34 #include <media/media-entity.h> 35 #include <media/v4l2-async.h> 36 #include <media/v4l2-common.h> 37 #include <media/v4l2-dev.h> 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-fh.h> [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 tristate "NXP CSI Bridge driver" 17 Driver for the NXP Camera Sensor Interface (CSI) Bridge. This device 21 tristate "NXP i.MX8MQ MIPI CSI-2 receiver" 28 Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ 32 tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 39 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 42 source "drivers/media/platform/nxp/imx8-isi/Kconfig" 53 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling, 57 tristate "NXP MX2 eMMa-PrP support" [all …]
|
/linux-6.12.1/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012-2014 Mentor Graphics Inc. 4 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc. 15 #include <uapi/linux/v4l2-mediabus.h> 17 #include <linux/clk-provider.h> 20 #include "ipu-prv.h" 32 /* CSI Register Offsets */ 55 /* CSI Register Fields */ 60 #define CSI_SENS_CONF_DATA_FMT_YUV422_UYVY 2L 69 #define CSI_SENS_CONF_DATA_POL_SHIFT 2 [all …]
|
/linux-6.12.1/drivers/staging/media/tegra-video/ |
D | tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * VI and CSI SoC specific data, operations and registers accessors. 17 #include "csi.h" 40 /* Tegra210 VI CSI registers */ 64 /* Tegra210 CSI Pixel Parser registers: Starts from 0x838, offset 0x0 */ 86 #define CSI_PP_SINGLE_SHOT_ENABLE (0x1 << 2) 92 /* Tegra210 CSI PHY registers */ 117 #define PG_MODE_OFFSET 2 150 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() 155 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read() [all …]
|
D | csi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <media/media-entity.h> 10 #include <media/v4l2-async.h> 11 #include <media/v4l2-subdev.h> 14 * Each CSI brick supports max of 4 lanes that can be used as either 15 * one x4 port using both CILA and CILB partitions of a CSI brick or can 19 #define CSI_PORTS_PER_BRICK 2 22 /* Maximum 2 CSI x4 ports can be ganged up for streaming */ 23 #define GANG_PORTS_MAX 2 25 /* each CSI channel can have one sink and one source pads */ [all …]
|
D | csi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <media/v4l2-fwnode.h> 18 #include "csi.h" 35 * CSI is a separate subdevice which has 6 source pads to generate 36 * test pattern. CSI subdevice pad ops are used only for TPG and 70 return -ENOIOCTLCMD; in csi_enum_bus_code() 72 if (code->index >= ARRAY_SIZE(tegra_csi_tpg_fmts)) in csi_enum_bus_code() 73 return -EINVAL; in csi_enum_bus_code() 75 code->code = tegra_csi_tpg_fmts[code->index].code; in csi_enum_bus_code() 87 return -ENOIOCTLCMD; in csi_get_format() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/xilinx/ |
D | xlnx,csi2rxss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx MIPI CSI-2 Receiver Subsystem 10 - Vishal Sagar <vishal.sagar@amd.com> 13 The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2 16 The subsystem consists of a MIPI D-PHY in slave mode which captures the 17 data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the 20 For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem. 21 Please note that this bindings includes only the MIPI CSI-2 Rx controller [all …]
|
/linux-6.12.1/Documentation/driver-api/media/drivers/ |
D | ipu6.rst | 1 .. SPDX-License-Identifier: GPL-2.0 34 ------------------------ 51 --------- 61 ------------------------------------- 76 ----------------- 80 Buttress with a copy of the SoC time, this counter maintains the up-to-date time 90 32-bit virtual address space. The IPU6 has MMU address translation hardware to 94 IPU6 driver. The IPU6 driver sets the level-1 page table base address to MMU 101 .. code-block:: none 113 generic PCI DMA ops to ask IOMMU to do the additional mapping if VT-d [all …]
|
/linux-6.12.1/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-vin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Driver for Renesas R-Car VIN 6 * Copyright (C) 2011-2013 Renesas Solutions Corp. 10 * Based on the soc-camera rcar_vin driver 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/videobuf2-v4l2.h> [all …]
|
/linux-6.12.1/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2016-2019 Bootlin 12 #include <media/v4l2-ioctl.h> 13 #include <media/v4l2-mc.h> 14 #include <media/videobuf2-v4l2.h> 30 .hsub = 2, 31 .vsub = 2, 56 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in sun4i_csi_querycap() 57 strscpy(cap->card, "sun4i-csi", sizeof(cap->card)); in sun4i_csi_querycap() 65 if (inp->index != 0) in sun4i_csi_enum_input() [all …]
|
D | sun4i_dma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2016-2019 Bootlin 14 #include <media/videobuf2-dma-contig.h> 15 #include <media/videobuf2-v4l2.h> 36 static void sun4i_csi_capture_start(struct sun4i_csi *csi) in sun4i_csi_capture_start() argument 38 writel(CSI_CPT_CTRL_VIDEO_START, csi->regs + CSI_CPT_CTRL_REG); in sun4i_csi_capture_start() 41 static void sun4i_csi_capture_stop(struct sun4i_csi *csi) in sun4i_csi_capture_stop() argument 43 writel(0, csi->regs + CSI_CPT_CTRL_REG); in sun4i_csi_capture_stop() 52 struct sun4i_csi *csi = vb2_get_drv_priv(vq); in sun4i_csi_queue_setup() local 53 unsigned int num_planes = csi->fmt.num_planes; in sun4i_csi_queue_setup() [all …]
|
/linux-6.12.1/drivers/media/platform/ti/j721e-csi2rx/ |
D | j721e-csi2rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ 8 * Author: Jai Luthra <j-luthra@ti.com> 17 #include <media/mipi-csi2.h> 18 #include <media/v4l2-device.h> 19 #include <media/v4l2-ioctl.h> 20 #include <media/v4l2-mc.h> 21 #include <media/videobuf2-dma-contig.h> 23 #define TI_CSI2RX_MODULE_NAME "j721e-csi2rx" 36 #define SHIM_DMACNTX_SIZE_32 2 [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/misc/ |
D | ifm-csi.txt | 4 - compatible: "ifm,o2d-csi" 5 - reg: specifies sensor chip select number and associated address range 6 - interrupts: external interrupt line number and interrupt sense mode 8 - gpios: three gpio-specifiers for "capture", "reset" and "master enable" 10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor 12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25) 13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16) 14 - ifm,csi-wait-cycles: sensor bus wait cycles 17 - ifm,csi-byte-swap: if this property is present, the byte swapping on 22 csi@3,0 { [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/imx/ |
D | fsl,imx8mm-disp-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MM DISP blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to 14 the NoC and ensuring proper power sequencing of the display and MIPI CSI 20 - const: fsl,imx8mm-disp-blk-ctrl 21 - const: syscon [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/ |
D | nxp,imx7-csi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface) 10 - Rui Miguel Silva <rmfrfs@gmail.com> 13 This is device node for the CMOS Sensor Interface (CSI) which enables the 19 - enum: 20 - fsl,imx8mq-csi 21 - fsl,imx7-csi [all …]
|
D | ti,omap3isp.txt | 4 The DT definitions can be found in include/dt-bindings/media/omap3-isp.h. 9 compatible : must contain "ti,omap3-isp" 14 CSI PHYs and receivers registers. 17 syscon : the phandle and register offset to the Complex I/O or CSI-PHY 19 ti,phy-type : 0 -- OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. 3430) 20 1 -- OMAP3ISP_PHY_TYPE_CSIPHY (e.g. 3630) 21 #clock-cells : Must be 1 --- the ISP provides two external clocks, 24 clock bindings in ../clock/clock-bindings.txt. 27 --------------------- 30 video-interfaces.txt in the same directory. [all …]
|
D | renesas,rzg2l-csi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/renesas,rzg2l-csi2.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Renesas RZ/G2L (and alike SoC's) MIPI CSI-2 receiver 11 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 14 The CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas RZ/G2L 15 (and alike SoCs). MIPI CSI-2 is part of the CRU block which is used in conjunction 21 - enum: 22 - renesas,r9a07g043-csi2 # RZ/G2UL [all …]
|
D | allwinner,sun6i-a31-csi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-csi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A31 CMOS Sensor Interface (CSI) 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 - allwinner,sun6i-a31-csi 17 - allwinner,sun8i-a83t-csi 18 - allwinner,sun8i-h3-csi [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | metafmt-generic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 8 Generic line-based metadata formats 14 These generic line-based metadata formats define the memory layout of the data 17 .. _v4l2-meta-fmt-generic-8: 20 ----------------------- 22 The V4L2_META_FMT_GENERIC_8 format is a plain 8-bit metadata format. This format 23 is used on CSI-2 for 8 bits per :term:`Data Unit`. 26 packed into one 16-bit Data Unit. Otherwise the 16 bits per pixel dataformat is 27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`. 34 .. flat-table:: Sample 4x2 Metadata Frame [all …]
|
/linux-6.12.1/drivers/acpi/ |
D | mipi-disco-img.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Support MIPI DisCo for Imaging by parsing ACPI _CRS CSI-2 records defined in 8 * Section 6.4.3.8.2.4 "Camera Serial Interface (CSI-2) Connection Resource 12 * The implementation looks for the information in the ACPI namespace (CSI-2 14 * Documentation/firmware-guide/acpi/dsd/graph.rst to represent the CSI-2 16 * extracted from the _CRS CSI-2 resource descriptors and the MIPI DisCo 18 * with CSI-2 connections. 31 #include <media/v4l2-fwnode.h> 41 /* Connection data extracted from one _CRS CSI-2 resource descriptor. */ 49 /* Data extracted from _CRS CSI-2 resource descriptors for one device. */ [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | mediatek,mt8365-csi-rx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,mt8365-csi-rx.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Mediatek Sensor Interface MIPI CSI CD-PHY 11 - Julien Stephan <jstephan@baylibre.com> 12 - Andy Hsieh <andy.hsieh@mediatek.com> 15 The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2 17 Depending on the SoC model, each PHYs can be either CD-PHY or D-PHY only 23 - mediatek,mt8365-csi-rx [all …]
|