Home
last modified time | relevance | path

Searched +full:csi +full:- +full:2 (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/linux-5.10/drivers/media/platform/rcar-vin/
Drcar-core.c1 // 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
22 #include <media/v4l2-async.h>
23 #include <media/v4l2-fwnode.h>
24 #include <media/v4l2-mc.h>
26 #include "rcar-vin.h"
29 * The companion CSI-2 receiver driver (rcar-csi2) is known
31 * pads (pad 1-4). So to translate a pad on the remote
[all …]
Drcar-vin.h1 /* 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-5.10/Documentation/admin-guide/media/
Dimx7.rst1 .. 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 …]
Dimx.rst1 .. 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-5.10/drivers/staging/media/imx/
Dimx7-media-csi.c1 // SPDX-License-Identifier: GPL-2.0
3 * V4L2 Capture CSI Subdev for Freescale i.MX6UL/L / i.MX7 SOC
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-event.h>
24 #include <media/v4l2-fwnode.h>
25 #include <media/v4l2-mc.h>
26 #include <media/v4l2-subdev.h>
27 #include <media/videobuf2-dma-contig.h>
30 #include "imx-media.h"
[all …]
Dimx-media-csi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * V4L2 Capture CSI Subdev for Freescale i.MX5/6 SOC
5 * Copyright (c) 2014-2017 Mentor Graphics Inc.
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-device.h>
17 #include <media/v4l2-event.h>
18 #include <media/v4l2-fwnode.h>
19 #include <media/v4l2-mc.h>
20 #include <media/v4l2-subdev.h>
21 #include <media/videobuf2-dma-contig.h>
[all …]
/linux-5.10/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c1 // 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 …]
/linux-5.10/drivers/staging/media/tegra-video/
Dtegra210.c1 // 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 */
79 #define CSI_PP_SINGLE_SHOT_ENABLE (0x1 << 2)
85 /* Tegra210 CSI PHY registers */
110 #define PG_MODE_OFFSET 2
143 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write()
148 return readl_relaxed(chan->vi->iomem + addr); in tegra_vi_read()
[all …]
Dcsi.h1 /* 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
21 /* each CSI channel can have one sink and one source pads */
22 #define TEGRA_CSI_PADS_NUM 2
38 * struct tegra_csi_channel - Tegra CSI channel
[all …]
Dcsi.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <media/v4l2-fwnode.h>
19 #include "csi.h"
36 * CSI is a separate subdevice which has 6 source pads to generate
37 * test pattern. CSI subdevice pad ops are used only for TPG and
71 return -ENOIOCTLCMD; in csi_enum_bus_code()
73 if (code->index >= ARRAY_SIZE(tegra_csi_tpg_fmts)) in csi_enum_bus_code()
74 return -EINVAL; in csi_enum_bus_code()
76 code->code = tegra_csi_tpg_fmts[code->index].code; in csi_enum_bus_code()
88 return -ENOIOCTLCMD; in csi_get_format()
[all …]
/linux-5.10/drivers/gpu/ipu-v3/
Dipu-csi.c1 // 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-5.10/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,csi2rxss.yaml1 # 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 …]
/linux-5.10/Documentation/driver-api/media/
Dcsi2.rst1 .. SPDX-License-Identifier: GPL-2.0
5 MIPI CSI-2
8 CSI-2 is a data bus intended for transferring images from cameras to
14 -----------------
16 See :ref:`v4l2-mbus-pixelcode` for details on which media bus formats should
17 be used for CSI-2 interfaces.
20 -------------------
22 CSI-2 transmitter, such as a sensor or a TV tuner, drivers need to
23 provide the CSI-2 receiver with information on the CSI-2 bus
26 (:c:type:`v4l2_subdev_video_ops`->s_stream() callback). These
[all …]
/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c1 // 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 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_querycap() local
58 strscpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in sun4i_csi_querycap()
59 strscpy(cap->card, "sun4i-csi", sizeof(cap->card)); in sun4i_csi_querycap()
[all …]
Dsun4i_dma.c1 // 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-5.10/Documentation/devicetree/bindings/media/i2c/
Dst,st-mipid02.txt1 STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge
3 MIPID02 has two CSI-2 input ports, only one of those ports can be active at a
4 time. Active port input stream will be de-serialized and its content outputted
6 CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2 second
11 YUV420 8-bit, YUV422 8-bit and YUV420 10-bit.
14 - compatible: shall be "st,st-mipid02"
15 - clocks: reference to the xclk input clock.
16 - clock-names: shall be "xclk".
17 - VDDE-supply: sensor digital IO supply. Must be 1.8 volts.
18 - VDDIN-supply: sensor internal regulator supply. Must be 1.8 volts.
[all …]
/linux-5.10/Documentation/devicetree/bindings/misc/
Difm-csi.txt4 - 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-5.10/Documentation/devicetree/bindings/media/
Dti,omap3isp.txt4 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 …]
Dimx.txt5 ---------------------------
12 - compatible : "fsl,imx-capture-subsystem";
13 - ports : Should contain a list of phandles pointing to camera
18 capture-subsystem {
19 compatible = "fsl,imx-capture-subsystem";
25 --------------
27 This is the device node for the MIPI CSI-2 Receiver core in the i.MX
28 SoC. This is a Synopsys Designware MIPI CSI-2 host controller core
29 combined with a D-PHY core mixed into the same register block. In
30 addition this device consists of an i.MX-specific "CSI2IPU gasket"
[all …]
/linux-5.10/include/video/
Dimx-ipu-v3.h2 * Copyright 2005-2009 Freescale Semiconductor, Inc.
8 * http://www.opensource.org/licenses/lgpl-license.html
20 #include <media/v4l2-mediabus.h>
55 * Enumeration of CSI destinations
68 #define IPU_ROT_BIT_90 (1 << 2)
82 /* 90-degree rotations require the IRT unit */
115 #define IPUV3_CHANNEL_CSI2 2
120 * but the direct CSI->VDI linking is handled the same way as IDMAC
122 * these channel names are used to support the direct CSI->VDI link.
182 return -EINVAL; in ipu_channel_alpha_channel()
[all …]
/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
Dcsi_rx_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
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 …]
/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_irq.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
31 IA_CSS_IRQ_TYPE_PULSE /** Pulse-shaped interrupt */
41 * example: the online video ISP will generate only 2 interrupts, one to
52 /** the FIFO in the csi receiver has overflown */
53 IA_CSS_IRQ_INFO_CSS_RECEIVER_SOF = 1 << 2,
76 /** the stream-to-memory device has encountered an error */
82 /** software interrupt 2 */
92 /** end-of-frame events are ready in the isys_event queue */
108 IA_CSS_RX_IRQ_INFO_EXIT_SLEEP_MODE = 1U << 2, /** exited sleep mode */
[all …]
/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/host/
Dcsi_rx_private.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
42 assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_fe_ctrl_reg_load()
57 assert(CSI_RX_FE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_fe_ctrl_reg_store()
72 assert(CSI_RX_BE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_be_ctrl_reg_load()
87 assert(CSI_RX_BE_CTRL_BASE[ID] != (hrt_address)-1); in csi_rx_be_ctrl_reg_store()
101 * @brief Get the state of the csi rx fe dlane process.
109 dlane_state->termen = in csi_rx_fe_ctrl_get_dlane_state()
111 dlane_state->settle = in csi_rx_fe_ctrl_get_dlane_state()
116 * @brief Get the csi rx fe state.
[all …]
/linux-5.10/arch/powerpc/boot/dts/
Do2d.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
12 gpio-controller;
13 fsl,has-wdt;
14 fsl,wdt-on-boot = <0>;
16 &gpt1 { gpio-controller; };
33 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
34 #address-cells = <1>;
35 #size-cells = <0>;
36 cell-index = <0>;
40 spi-max-frequency = <250000>;
[all …]
/linux-5.10/drivers/media/platform/ti-vpe/
Dcal-camerarx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI Camera Access Layer (CAL) - CAMERARX
5 * Copyright (c) 2015-2020 Texas Instruments Inc.
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-fwnode.h>
23 #include <media/v4l2-subdev.h>
28 /* ------------------------------------------------------------------
30 * ------------------------------------------------------------------
35 return ioread32(phy->base + offset); in camerarx_read()
40 iowrite32(val, phy->base + offset); in camerarx_write()
[all …]

12345678910>>...12