/openbmc/linux/drivers/staging/media/omap4iss/ |
H A D | iss_csi2.c | 20 * csi2_if_enable - Enable CSI2 Receiver interface. 24 static void csi2_if_enable(struct iss_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 26 struct iss_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 28 iss_reg_update(csi2->iss, csi2->regs1, CSI2_CTRL, CSI2_CTRL_IF_EN, in csi2_if_enable() 35 * csi2_recv_config - CSI2 receiver module configuration. 39 static void csi2_recv_config(struct iss_csi2_device *csi2, in csi2_recv_config() argument 88 iss_reg_write(csi2->iss, csi2->regs1, CSI2_CTRL, reg); in csi2_recv_config() 108 /* To set the format on the CSI2 requires a mapping function that takes 113 * Output should be CSI2 frame format code 189 * csi2_ctx_map_format - Map CSI2 sink media bus format to CSI2 format ID [all …]
|
H A D | iss_csiphy.c | 77 dev_err(phy->iss->dev, "CSI2 CIO set power failed!\n"); in csiphy_set_power() 85 * csiphy_dphy_config - Configure CSI2 D-PHY parameters. 118 struct iss_csi2_device *csi2 = v4l2_get_subdevdata(csi2_subdev); in omap4iss_csiphy_config() local 128 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config() 171 csi2->phy->used_data_lanes = 0; in omap4iss_csiphy_config() 174 for (i = 0; i < csi2->phy->max_data_lanes; i++) { in omap4iss_csiphy_config() 179 lanes->data[i].pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 186 csi2->phy->used_data_lanes++; in omap4iss_csiphy_config() 190 lanes->clk.pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 197 / (2 * csi2->phy->used_data_lanes) in omap4iss_csiphy_config() [all …]
|
H A D | iss_csi2.h | 3 * TI OMAP4 ISS V4L2 Driver - CSI2 module 147 void omap4iss_csi2_isr(struct iss_csi2_device *csi2); 148 int omap4iss_csi2_reset(struct iss_csi2_device *csi2); 152 void omap4iss_csi2_unregister_entities(struct iss_csi2_device *csi2); 153 int omap4iss_csi2_register_entities(struct iss_csi2_device *csi2,
|
H A D | iss_csiphy.h | 29 struct iss_csi2_device *csi2; member 35 u8 max_data_lanes; /* number of CSI2 Data Lanes supported */ 36 u8 used_data_lanes; /* number of CSI2 Data Lanes used */
|
/openbmc/linux/drivers/staging/media/imx/ |
H A D | imx6-mipi-csi2.c | 61 #define DEVICE_NAME "imx6-mipi-csi2" 118 * 4. CSI2 Controller programming (Set N_LANES, deassert PHY_SHUTDOWNZ, 124 * 7. CSI2 Controller programming - Read the PHY status register (PHY_STATE) 132 static void csi2_enable(struct csi2_dev *csi2, bool enable) in csi2_enable() argument 135 writel(0x1, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 136 writel(0x1, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 137 writel(0x1, csi2->base + CSI2_RESETN); in csi2_enable() 139 writel(0x0, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 140 writel(0x0, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 141 writel(0x0, csi2->base + CSI2_RESETN); in csi2_enable() [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsi2.c | 5 * TI OMAP3 ISP - CSI2 module 23 * csi2_if_enable - Enable CSI2 Receiver interface. 28 struct isp_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 30 struct isp_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 32 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, in csi2_if_enable() 39 * csi2_recv_config - CSI2 receiver module configuration. 44 struct isp_csi2_device *csi2, in csi2_recv_config() argument 49 reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 74 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 89 /* To set the format on the CSI2 requires a mapping function that takes [all …]
|
H A D | ispcsi2.h | 5 * TI OMAP3 ISP - CSI2 module 145 void omap3isp_csi2_isr(struct isp_csi2_device *csi2); 146 int omap3isp_csi2_reset(struct isp_csi2_device *csi2); 149 void omap3isp_csi2_unregister_entities(struct isp_csi2_device *csi2); 150 int omap3isp_csi2_register_entities(struct isp_csi2_device *csi2,
|
H A D | omap3isp.h | 64 * struct isp_csiphy_lane: CCP2/CSI2 lane position and polarity 77 * struct isp_csiphy_lanes_cfg - CCP2/CSI2 lane configuration 99 * @lanecfg: CCP2/CSI2 lane configuration 112 * struct isp_csi2_cfg - CSI2 interface configuration 128 struct isp_csi2_cfg csi2; member
|
/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-csi2.c | 214 static u32 rzg2l_csi2_read(struct rzg2l_csi2 *csi2, unsigned int reg) in rzg2l_csi2_read() argument 216 return ioread32(csi2->base + reg); in rzg2l_csi2_read() 219 static void rzg2l_csi2_write(struct rzg2l_csi2 *csi2, unsigned int reg, in rzg2l_csi2_write() argument 222 iowrite32(data, csi2->base + reg); in rzg2l_csi2_write() 225 static void rzg2l_csi2_set(struct rzg2l_csi2 *csi2, unsigned int reg, u32 set) in rzg2l_csi2_set() argument 227 rzg2l_csi2_write(csi2, reg, rzg2l_csi2_read(csi2, reg) | set); in rzg2l_csi2_set() 230 static void rzg2l_csi2_clr(struct rzg2l_csi2 *csi2, unsigned int reg, u32 clr) in rzg2l_csi2_clr() argument 232 rzg2l_csi2_write(csi2, reg, rzg2l_csi2_read(csi2, reg) & ~clr); in rzg2l_csi2_clr() 235 static int rzg2l_csi2_calc_mbps(struct rzg2l_csi2 *csi2) in rzg2l_csi2_calc_mbps() argument 237 struct v4l2_subdev *source = csi2->remote_source; in rzg2l_csi2_calc_mbps() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,csi2.yaml | 5 $id: http://devicetree.org/schemas/media/renesas,csi2.yaml# 22 - renesas,r8a774a1-csi2 # RZ/G2M 23 - renesas,r8a774b1-csi2 # RZ/G2N 24 - renesas,r8a774c0-csi2 # RZ/G2E 25 - renesas,r8a774e1-csi2 # RZ/G2H 26 - renesas,r8a7795-csi2 # R-Car H3 27 - renesas,r8a7796-csi2 # R-Car M3-W 28 - renesas,r8a77961-csi2 # R-Car M3-W+ 29 - renesas,r8a77965-csi2 # R-Car M3-N 30 - renesas,r8a77970-csi2 # R-Car V3M [all …]
|
H A D | nxp,imx-mipi-csi2.yaml | 4 $id: http://devicetree.org/schemas/media/nxp,imx-mipi-csi2.yaml# 27 - fsl,imx7-mipi-csi2 28 - fsl,imx8mm-mipi-csi2 31 - fsl,imx8mp-mipi-csi2 32 - const: fsl,imx8mm-mipi-csi2 88 Note that 'fsl,imx7-mipi-csi2' only supports up to 2 data lines. 120 const: fsl,imx7-mipi-csi2 142 compatible = "fsl,imx7-mipi-csi2"; 185 compatible = "fsl,imx8mm-mipi-csi2";
|
H A D | allwinner,sun6i-a31-mipi-csi2.yaml | 4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-mipi-csi2.yaml# 15 - const: allwinner,sun6i-a31-mipi-csi2 17 - const: allwinner,sun8i-v3s-mipi-csi2 18 - const: allwinner,sun6i-a31-mipi-csi2 101 compatible = "allwinner,sun8i-v3s-mipi-csi2", 102 "allwinner,sun6i-a31-mipi-csi2";
|
H A D | renesas,rzg2l-csi2.yaml | 5 $id: http://devicetree.org/schemas/media/renesas,rzg2l-csi2.yaml# 22 - renesas,r9a07g044-csi2 # RZ/G2{L,LC} 23 - renesas,r9a07g054-csi2 # RZ/V2L 24 - const: renesas,rzg2l-csi2 111 compatible = "renesas,r9a07g044-csi2", "renesas,rzg2l-csi2";
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2.c | 26 v4l2_mbus_framefmt *__csi2_get_format(struct atomisp_mipi_csi2_device *csi2, in __csi2_get_format() argument 32 return v4l2_subdev_get_try_format(&csi2->subdev, sd_state, in __csi2_get_format() 35 return &csi2->formats[pad]; in __csi2_get_format() 75 struct atomisp_mipi_csi2_device *csi2 = v4l2_get_subdevdata(sd); in csi2_get_format() local 78 format = __csi2_get_format(csi2, sd_state, fmt->which, fmt->pad); in csi2_get_format() 90 struct atomisp_mipi_csi2_device *csi2 = v4l2_get_subdevdata(sd); in atomisp_csi2_set_ffmt() local 91 struct v4l2_mbus_framefmt *actual_ffmt = __csi2_get_format(csi2, in atomisp_csi2_set_ffmt() 120 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, sd_state, which, in atomisp_csi2_set_ffmt() 143 * csi2_set_stream - Enable/Disable streaming on the CSI2 module 144 * @sd: ISP CSI2 V4L2 subdevice [all …]
|
/openbmc/linux/drivers/media/platform/cadence/ |
H A D | Kconfig | 6 tristate "Cadence MIPI-CSI2 RX Controller" 12 Support for the Cadence MIPI CSI2 Receiver controller. 18 tristate "Cadence MIPI-CSI2 TX Controller" 24 Support for the Cadence MIPI CSI2 Transceiver controller.
|
/openbmc/linux/include/linux/platform_data/media/ |
H A D | omap4iss.h | 15 * struct iss_csiphy_lane: CSI2 lane position and polarity 28 * struct iss_csiphy_lanes_cfg - CSI2 lane configuration 38 * struct iss_csi2_platform_data - CSI2 interface platform data 57 struct iss_csi2_platform_data csi2; member
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | renesas,dsi-csi2-tx.yaml | 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml# 20 - renesas,r8a779a0-dsi-csi2-tx # for V3U 21 - renesas,r8a779g0-dsi-csi2-tx # for V4H 90 compatible = "renesas,r8a779a0-dsi-csi2-tx";
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-gasket.c | 8 #include <media/mipi-csi2.h> 37 val = GASKET_CTRL_DATA_TYPE(fd->entry[0].bus.csi2.dt); in mxc_imx8_gasket_enable() 38 if (fd->entry[0].bus.csi2.dt == MIPI_CSI2_DT_YUV422_8B) in mxc_imx8_gasket_enable() 71 val = DISP_MIX_CAMERA_MUX_DATA_TYPE(fd->entry[0].bus.csi2.dt); in mxc_imx93_gasket_enable()
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csiphy-2ph-1-0.c | 67 * based on the CSI2 T_hs_settle parameter which in turn 68 * is calculated based on the CSI2 transmitter link frequency. 70 * Return settle count value or 0 if the CSI2 link frequency 101 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_enable() 140 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_disable()
|
H A D | camss-csiphy.h | 42 struct csiphy_csi2_cfg *csi2; member 49 * csiphy_get_lane_mask - Calculate CSI2 lane mask configuration parameter 50 * @lane_cfg - CSI2 lane configuration
|
/openbmc/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | fsl,imx8mp-media-blk-ctrl.yaml | 45 - const: mipi-csi2 55 - description: The pixel clock for the first CSI2 receiver (aclk) 56 - description: The pixel clock for the second CSI2 receiver (aclk) 118 "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2";
|
/openbmc/linux/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | Makefile | 2 sun6i-mipi-csi2-y += sun6i_mipi_csi2.o 4 obj-$(CONFIG_VIDEO_SUN6I_MIPI_CSI2) += sun6i-mipi-csi2.o
|
/openbmc/linux/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | Makefile | 2 sun8i-a83t-mipi-csi2-y += sun8i_a83t_mipi_csi2.o sun8i_a83t_dphy.o 4 obj-$(CONFIG_VIDEO_SUN8I_A83T_MIPI_CSI2) += sun8i-a83t-mipi-csi2.o
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | omap4_camera.rst | 16 - Interfaces (2 Interfaces: CSI2-A & CSI2-B/CCP2) 25 This driver is supporting **only** the CSI2-A/B interfaces for now.
|
H A D | platform-cardlist.rst | 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 45 rcar-csi2 R-Car MIPI CSI-2 Receiver 54 s5p-csis S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS)
|