| /kernel/linux/linux-6.6/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 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-fwnode.h> 27 #include <media/v4l2-ioctl.h> 28 #include <media/v4l2-mc.h> 29 #include <media/v4l2-subdev.h> 30 #include <media/videobuf2-dma-contig.h> 36 /* csi control reg 1 */ 91 /* csi status reg */ [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/ |
| 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 …]
|
| D | sun4i_csi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2016-2019 Bootlin 10 #include <linux/dma-mapping.h> 22 #include <media/v4l2-dev.h> 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-fwnode.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/v4l2-mediabus.h> 28 #include <media/videobuf2-core.h> 29 #include <media/videobuf2-dma-contig.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun4i-csi/ |
| 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 …]
|
| /kernel/linux/linux-6.6/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 21 #define CSI_MODE 0x00 /* CSI mode control */ 22 #define CSI_CLKSEL 0x04 /* CSI clock select */ 23 #define CSI_CNT 0x08 /* CSI control */ 24 #define CSI_INT 0x0C /* CSI interrupt status */ 25 #define CSI_IFIFOL 0x10 /* CSI receive FIFO level display */ 26 #define CSI_OFIFOL 0x14 /* CSI transmit FIFO level display */ 27 #define CSI_IFIFO 0x18 /* CSI receive window */ 28 #define CSI_OFIFO 0x1C /* CSI transmit window */ [all …]
|
| /kernel/linux/linux-5.10/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@xilinx.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
| D | csi_rx_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * This program is distributed in the hope it will be useful, but WITHOUT 26 * @brief Get the csi rx frontend state. 27 * Get the state of the csi rx frontend regiester-set. 29 * @param[in] id The global unique ID of the csi rx fe controller. 30 * @param[out] state Point to the register-state. 36 * @brief Dump the csi rx frontend state. 37 * Dump the state of the csi rx frontend regiester-set. 39 * @param[in] id The global unique ID of the csi rx fe controller. 40 * @param[in] state Point to the register-state. [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
| D | csi_rx_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * This program is distributed in the hope it will be useful, but WITHOUT 26 * @brief Get the csi rx frontend state. 27 * Get the state of the csi rx frontend regiester-set. 29 * @param[in] id The global unique ID of the csi rx fe controller. 30 * @param[out] state Point to the register-state. 36 * @brief Dump the csi rx frontend state. 37 * Dump the state of the csi rx frontend regiester-set. 39 * @param[in] id The global unique ID of the csi rx fe controller. 40 * @param[in] state Point to the register-state. [all …]
|
| /kernel/linux/linux-5.10/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" 9 GPIOs (strictly in this order). 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 [all …]
|
| /kernel/linux/linux-6.6/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" 9 GPIOs (strictly in this order). 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 [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/tegra-video/ |
| 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 …]
|
| 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 */ 92 /* Tegra210 CSI PHY registers */ 150 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() 155 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read() 164 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_write() 174 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(portno); in vi_csi_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 22 /* Maximum 2 CSI x4 ports can be ganged up for streaming */ 25 /* each CSI channel can have one sink and one source pads */ 42 * struct tegra_csi_channel - Tegra CSI channel 48 * @csi: Tegra CSI device structure [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/media/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/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 …]
|
| /kernel/linux/linux-5.10/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" 33 /* Tegra210 VI CSI registers */ 57 /* Tegra210 CSI Pixel Parser registers: Starts from 0x838, offset 0x0 */ 85 /* Tegra210 CSI PHY registers */ 143 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() 148 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read() 157 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(chan->portno); in vi_csi_write() 166 vi_csi_base = chan->vi->iomem + TEGRA210_VI_CSI_BASE(chan->portno); in vi_csi_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 21 /* each CSI channel can have one sink and one source pads */ 38 * struct tegra_csi_channel - Tegra CSI channel 44 * @csi: Tegra CSI device structure 45 * @of_node: csi device tree node [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/ |
| D | sun6i_csi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2011-2018 Magewell Electronics Co., Ltd. (Nanjing) 10 #include <linux/dma-mapping.h> 30 #define MODULE_NAME "sun6i-csi" 33 struct sun6i_csi csi; member 44 static inline struct sun6i_csi_dev *sun6i_csi_to_dev(struct sun6i_csi *csi) in sun6i_csi_to_dev() argument 46 return container_of(csi, struct sun6i_csi_dev, csi); in sun6i_csi_to_dev() 50 bool sun6i_csi_is_format_supported(struct sun6i_csi *csi, in sun6i_csi_is_format_supported() argument 53 struct sun6i_csi_dev *sdev = sun6i_csi_to_dev(csi); in sun6i_csi_is_format_supported() 60 if ((sdev->csi.v4l2_ep.bus_type == V4L2_MBUS_PARALLEL in sun6i_csi_is_format_supported() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/ |
| D | rkisp1-csi.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Rockchip ISP1 Driver - CSI-2 Receiver 16 #include <linux/phy/phy-mipi-dphy.h> 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-fwnode.h> 21 #include "rkisp1-common.h" 22 #include "rkisp1-csi.h" 34 rkisp1_csi_get_pad_fmt(struct rkisp1_csi *csi, in rkisp1_csi_get_pad_fmt() argument 39 .pads = csi->pad_cfg in rkisp1_csi_get_pad_fmt() 42 lockdep_assert_held(&csi->lock); in rkisp1_csi_get_pad_fmt() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | imx7-csi.txt | 4 csi node 5 -------- 7 This is device node for the CMOS Sensor Interface (CSI) which enables the chip 12 - compatible : "fsl,imx7-csi" or "fsl,imx6ul-csi"; 13 - reg : base address and length of the register set for the device; 14 - interrupts : should contain CSI interrupt; 15 - clocks : list of clock specifiers, see 16 Documentation/devicetree/bindings/clock/clock-bindings.txt for details; 17 - clock-names : must contain "mclk"; 20 node, according to the bindings defined in: [all …]
|
| /kernel/linux/linux-6.6/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 …]
|