/linux/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_csi.c | 57 struct sun4i_csi *csi = container_of(notifier, struct sun4i_csi, in sun4i_csi_notify_bound() local 60 csi->src_subdev = subdev; in sun4i_csi_notify_bound() 61 csi->src_pad = media_entity_get_fwnode_pad(&subdev->entity, in sun4i_csi_notify_bound() 64 if (csi->src_pad < 0) { in sun4i_csi_notify_bound() 65 dev_err(csi->dev, "Couldn't find output pad for subdev %s\n", in sun4i_csi_notify_bound() 67 return csi->src_pad; in sun4i_csi_notify_bound() 70 dev_dbg(csi->dev, "Bound %s pad: %d\n", subdev->name, csi->src_pad); in sun4i_csi_notify_bound() 76 struct sun4i_csi *csi = container_of(notifier, struct sun4i_csi, in sun4i_csi_notify_complete() local 78 struct v4l2_subdev *subdev = &csi->subdev; in sun4i_csi_notify_complete() 79 struct video_device *vdev = &csi->vdev; in sun4i_csi_notify_complete() [all …]
|
H A D | sun4i_v4l2.c | 57 strscpy(cap->card, "sun4i-csi", sizeof(cap->card)); in sun4i_csi_querycap() 91 static void _sun4i_csi_try_fmt(struct sun4i_csi *csi, in _sun4i_csi_try_fmt() argument 134 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_try_fmt_vid_cap() local 136 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp); in sun4i_csi_try_fmt_vid_cap() 144 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_s_fmt_vid_cap() local 146 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp); in sun4i_csi_s_fmt_vid_cap() 147 csi->fmt = f->fmt.pix_mp; in sun4i_csi_s_fmt_vid_cap() 155 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_g_fmt_vid_cap() local 157 f->fmt.pix_mp = csi->fmt; in sun4i_csi_g_fmt_vid_cap() 198 struct sun4i_csi *csi = video_drvdata(file); in sun4i_csi_open() local [all …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-csi.c | 3 * Rockchip ISP1 Driver - CSI-2 Receiver 22 #include "rkisp1-csi.h" 37 struct rkisp1_csi *csi = &rkisp1->csi; in rkisp1_csi_link_sensor() local 48 /* Create the link from the sensor to the CSI receiver. */ in rkisp1_csi_link_sensor() 50 &csi->sd.entity, RKISP1_CSI_PAD_SINK, in rkisp1_csi_link_sensor() 53 dev_err(csi->rkisp1->dev, "failed to link src pad of %s\n", in rkisp1_csi_link_sensor() 61 static int rkisp1_csi_config(struct rkisp1_csi *csi, in rkisp1_csi_config() argument 65 struct rkisp1_device *rkisp1 = csi->rkisp1; in rkisp1_csi_config() 113 static void rkisp1_csi_enable(struct rkisp1_csi *csi) in rkisp1_csi_enable() argument 115 struct rkisp1_device *rkisp1 = csi->rkisp1; in rkisp1_csi_enable() [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | imx7.rst | 14 - CMOS Sensor Interface (CSI) 16 - MIPI CSI-2 Receiver 20 MIPI Camera Input ---> MIPI CSI-2 --- > |\ 24 | U | ------> CSI ---> Capture 39 This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel 40 data from MIPI CSI-2 camera sensor. It has one source pad, corresponding to the 44 csi-mux 48 sensor with a parallel interface or from MIPI CSI-2 virtual channel 0. It has 49 a single source pad that routes to the CSI. 51 csi chapter [all …]
|
/linux/drivers/staging/media/tegra-video/ |
H A D | csi.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 49 * @of_node: csi device tree node 53 * @csi_port_nums: CSI channel port numbers 59 * @mipi: mipi device for corresponding csi channel pads, or NULL if not applicable (TPG, error) 67 struct tegra_csi *csi; member [all …]
|
H A D | tegra210.c | 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 */ 328 * Recover VI and CSI hardware blocks in case of missing frame start in tegra_channel_capture_error_recover() 329 * events due to source not streaming or noisy csi inputs from the in tegra_channel_capture_error_recover() 331 * events which can cause CSI and VI hardware hang. in tegra_channel_capture_error_recover() 347 /* recover CSI block */ in tegra_channel_capture_error_recover() 639 /* clear csi errors and do capture setup for all ports in gang mode */ in tegra210_vi_start_streaming() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | rockchip-inno-csi-dphy.yaml | 4 $id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml# 13 The Rockchip SoC has a MIPI CSI D-PHY based on an Innosilicon IP which 14 connects to the ISP1 (Image Signal Processing unit v1.0) for CSI cameras. 19 - rockchip,px30-csi-dphy 20 - rockchip,rk1808-csi-dphy 21 - rockchip,rk3326-csi-dphy 22 - rockchip,rk3368-csi-dphy 23 - rockchip,rk3568-csi-dphy 24 - rockchip,rk3588-csi-dphy 75 - rockchip,px30-csi-dphy [all …]
|
H A D | mediatek,mt8365-csi-rx.yaml | 5 $id: http://devicetree.org/schemas/phy/mediatek,mt8365-csi-rx.yaml# 8 title: Mediatek Sensor Interface MIPI CSI CD-PHY 15 The SENINF CD-PHY is a set of CD-PHY connected to the SENINF CSI-2 23 - mediatek,mt8365-csi-rx 65 compatible = "mediatek,mt8365-csi-rx"; 72 compatible = "mediatek,mt8365-csi-rx";
|
/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | fsl,imx8mm-disp-blk-ctrl.yaml | 14 the NoC and ensuring proper power sequencing of the display and MIPI CSI 36 - const: csi-bridge 39 - const: mipi-csi 47 - const: csi-bridge-axi 48 - const: csi-bridge-apb 49 - const: csi-bridge-core 55 - const: csi-aclk 56 - const: csi-pclk 78 power-domain-names = "bus", "csi-bridge", "lcdif", 79 "mipi-dsi", "mipi-csi"; [all …]
|
H A D | fsl,imx8mn-disp-blk-ctrl.yaml | 14 the NoC and ensuring proper power sequencing of the display and MIPI CSI 39 - const: mipi-csi 56 - const: csi-aclk 57 - const: csi-pclk 81 "mipi-csi"; 95 "dsi-ref", "csi-aclk", "csi-pclk";
|
/linux/Documentation/devicetree/bindings/media/xilinx/ |
H A D | xlnx,csi2rxss.yaml | 7 title: Xilinx MIPI CSI-2 Receiver Subsystem 13 The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2 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 47 xlnx,csi-pxl-format: 49 This denotes the CSI Data type selected in hw design. 79 xlnx,en-csi-v2-0: 81 description: Present if CSI v2 is enabled in IP configuration. 107 CSI-2 transmitter. [all …]
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | ifm-csi.txt | 4 - compatible: "ifm,o2d-csi" 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 { 23 compatible = "ifm,o2d-csi"; 27 ifm,csi-clk-handle = <&timer7>; 32 ifm,csi-addr-bus-width = <24>; [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | nxp,imx7-csi.yaml | 4 $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# 7 title: i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface) 13 This is device node for the CMOS Sensor Interface (CSI) which enables the 20 - fsl,imx8mq-csi 21 - fsl,imx7-csi 22 - fsl,imx6ul-csi 24 - const: fsl,imx8mm-csi 25 - const: fsl,imx7-csi 62 - fsl,imx8mm-csi 73 csi: csi@30710000 { [all …]
|
H A D | allwinner,sun6i-a31-csi.yaml | 4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-csi.yaml# 7 title: Allwinner A31 CMOS Sensor Interface (CSI) 16 - allwinner,sun6i-a31-csi 17 - allwinner,sun8i-a83t-csi 18 - allwinner,sun8i-h3-csi 19 - allwinner,sun8i-v3s-csi 20 - allwinner,sun50i-a64-csi 74 description: MIPI CSI-2 bridge input port 108 csi1: csi@1cb4000 { 109 compatible = "allwinner,sun8i-v3s-csi";
|
H A D | allwinner,sun4i-a10-csi.yaml | 4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-csi.yaml# 7 title: Allwinner A10 CMOS Sensor Interface (CSI) 38 - description: The CSI interface clock 39 - description: The CSI DRAM clock 42 - description: The CSI interface clock 43 - description: The CSI ISP clock 44 - description: The CSI DRAM clock 109 csi0: csi@1c09000 {
|
H A D | ti,omap3isp.txt | 14 CSI PHYs and receivers registers. 17 syscon : the phandle and register offset to the Complex I/O or CSI-PHY 42 vdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1 43 vdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2 48 lane-polarities : lane polarity (required on CSI-2) 51 be either 1 or 2. (required on CSI-2) 52 clock-lanes : the clock lane (from 1 to 3). (required on CSI-2)
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | csi_rx_public.h | 16 * @brief Get the csi rx frontend state. 17 * Get the state of the csi rx frontend regiester-set. 19 * @param[in] id The global unique ID of the csi rx fe controller. 26 * @brief Dump the csi rx frontend state. 27 * Dump the state of the csi rx frontend regiester-set. 29 * @param[in] id The global unique ID of the csi rx fe controller. 36 * @brief Get the state of the csi rx fe dlane. 48 * @brief Get the csi rx backend state. 49 * Get the state of the csi rx backend regiester-set. 51 * @param[in] id The global unique ID of the csi rx be controller. [all …]
|
/linux/Documentation/devicetree/bindings/display/tegra/ |
H A D | nvidia,tegra210-csi.yaml | 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra210-csi.yaml# 7 title: NVIDIA Tegra CSI controller 15 pattern: "^csi@[0-9a-f]+$" 19 - nvidia,tegra210-csi 34 - const: csi 40 avdd-dsi-csi-supply: 41 description: DSI/CSI power supply. Must supply 1.2 V.
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | renesas,rzv2m-csi.yaml | 4 $id: http://devicetree.org/schemas/spi/renesas,rzv2m-csi.yaml# 7 title: Renesas RZ/V2M Clocked Serial Interface (CSI) 18 const: renesas,rzv2m-csi 42 renesas,csi-no-ss: 45 The CSI Slave Selection (SS) pin won't be used to enable transmission and 60 renesas,csi-no-ss: [ spi-slave ] 69 compatible = "renesas,rzv2m-csi";
|
/linux/include/video/ |
H A D | imx-ipu-v3.h | 56 * Enumeration of CSI destinations 121 * but the direct CSI->VDI linking is handled the same way as IDMAC 123 * these channel names are used to support the direct CSI->VDI link. 355 * IPU CMOS Sensor Interface (csi) functions 358 int ipu_csi_init_interface(struct ipu_csi *csi, 362 void ipu_csi_set_window(struct ipu_csi *csi, struct v4l2_rect *w); 363 void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert); 364 int ipu_csi_set_mipi_datatype(struct ipu_csi *csi, u32 vc, 366 int ipu_csi_set_skip_smfc(struct ipu_csi *csi, u32 skip, 368 int ipu_csi_set_dest(struct ipu_csi *csi, enu 495 int csi; global() member [all...] |
/linux/drivers/media/platform/nxp/ |
H A D | Kconfig | 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
|
/linux/drivers/media/pci/intel/ivsc/ |
H A D | Kconfig | 15 Context Engine) and CSI (Camera Serial Interface), each of which 17 of the sensor between the IVSC and the host CPU while the CSI is 19 sensor transmits over the CSI-2 bus between the IVSC and the 20 host CPU and to configure the CSI-2 bus itself. 22 The modules will be called ivsc-ace and ivsc-csi.
|
/linux/arch/powerpc/boot/dts/ |
H A D | o2d.dtsi | 97 csi@3,0 { 98 compatible = "ifm,o2d-csi"; 100 ifm,csi-clk-handle = <&gpt7>; 107 ifm,csi-addr-bus-width = <24>; 108 ifm,csi-data-bus-width = <8>; 109 ifm,csi-wait-cycles = <0>;
|
/linux/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sun8i-v3s.c | 305 SUNXI_FUNCTION(0x2, "csi"), /* PCLK */ 310 SUNXI_FUNCTION(0x2, "csi"), /* MCLK */ 315 SUNXI_FUNCTION(0x2, "csi"), /* HSYNC */ 320 SUNXI_FUNCTION(0x2, "csi"), /* VSYNC */ 325 SUNXI_FUNCTION(0x2, "csi"), /* D0 */ 330 SUNXI_FUNCTION(0x2, "csi"), /* D1 */ 335 SUNXI_FUNCTION(0x2, "csi"), /* D2 */ 340 SUNXI_FUNCTION(0x2, "csi"), /* D3 */ 345 SUNXI_FUNCTION(0x2, "csi"), /* D4 */ 350 SUNXI_FUNCTION(0x2, "csi"), /* D5 */ [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | toshiba,tc358746.yaml | 13 The Toshiba TC358746 converts a parallel video stream into a MIPI CSI-2 14 stream. The direction can be either parallel-in -> csi-out or csi-in -> 16 interface is only supported in parallel-in -> csi-out mode. 19 parallel-in -> csi-out path. 59 description: MIPI CSI phy voltage supply, 1.2 volts 137 csi-bridge@e {
|