| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 s5p-fimc-objs := fimc-core.o fimc-reg.o fimc-m2m.o fimc-capture.o media-dev.o 3 exynos-fimc-lite-objs += fimc-lite-reg.o fimc-lite.o 4 s5p-csis-objs := mipi-csis.o 5 exynos4-is-common-objs := common.o 7 exynos-fimc-is-objs := fimc-is.o fimc-isp.o fimc-is-sensor.o fimc-is-regs.o 8 exynos-fimc-is-objs += fimc-is-param.o fimc-is-errno.o fimc-is-i2c.o 11 exynos-fimc-is-objs += fimc-isp-video.o 14 obj-$(CONFIG_VIDEO_S5P_MIPI_CSIS) += s5p-csis.o 15 obj-$(CONFIG_VIDEO_EXYNOS_FIMC_LITE) += exynos-fimc-lite.o [all …]
|
| H A D | fimc-lite.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS FIMC-LITE (camera host interface) driver 5 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ioctl.h> 27 #include <media/v4l2-mem2mem.h> 28 #include <media/v4l2-rect.h> 29 #include <media/videobuf2-v4l2.h> 30 #include <media/videobuf2-dma-contig.h> 31 #include <media/drv-intf/exynos-fimc.h> [all …]
|
| H A D | fimc-capture.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-rect.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/videobuf2-dma-contig.h> 29 #include "fimc-core.h" 30 #include "fimc-reg.h" [all …]
|
| H A D | media-dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 11 #include <linux/clk-provider.h> 27 #include <media/v4l2-async.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-fwnode.h> 30 #include <media/media-device.h> 31 #include <media/drv-intf/exynos-fimc.h> 33 #include "media-dev.h" 34 #include "fimc-core.h" [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver" 28 This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC camera host 29 interface and video postprocessor (FIMC) devices. 32 module will be called s5p-fimc. 35 tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver" 40 This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2 41 receiver (MIPI-CSIS) devices. 44 module will be called s5p-csis. 47 tristate "EXYNOS FIMC-LITE camera interface driver" [all …]
|
| H A D | fimc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/media-entity.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mem2mem.h> 26 #include <media/v4l2-mediabus.h> 27 #include <media/drv-intf/exynos-fimc.h> 35 #define FIMC_DRIVER_NAME "exynos4-fimc" [all …]
|
| H A D | media-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. 10 #include <linux/clk-provider.h> 15 #include <media/media-device.h> 16 #include <media/media-entity.h> 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-subdev.h> 19 #include <media/drv-intf/exynos-fimc.h> 21 #include "fimc-core.h" 22 #include "fimc-lite.h" [all …]
|
| H A D | fimc-m2m.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Samsung S5P/EXYNOS4 SoC series FIMC (video postprocessor) driver 5 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 22 #include <media/v4l2-ioctl.h> 23 #include <media/videobuf2-v4l2.h> 24 #include <media/videobuf2-dma-contig.h> 27 #include "fimc-core.h" 28 #include "fimc-reg.h" 29 #include "media-dev.h" 43 if (!ctx || !ctx->fh.m2m_ctx) in fimc_m2m_job_finish() [all …]
|
| H A D | fimc-is.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 22 #include <media/videobuf2-v4l2.h> 23 #include <media/v4l2-ctrls.h> 25 #include "fimc-isp.h" 26 #include "fimc-is-command.h" 27 #include "fimc-is-sensor.h" 28 #include "fimc-is-param.h" 29 #include "fimc-is-regs.h" 31 #define FIMC_IS_DRV_NAME "exynos4-fimc-is" [all …]
|
| H A D | fimc-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Samsung S5P/EXYNOS4 SoC series FIMC (CAMIF) driver 5 * Copyright (C) 2010-2012 Samsung Electronics Co., Ltd. 25 #include <media/v4l2-ioctl.h> 26 #include <media/videobuf2-v4l2.h> 27 #include <media/videobuf2-dma-contig.h> 29 #include "fimc-core.h" 30 #include "fimc-reg.h" 31 #include "media-dev.h" 34 "sclk_fimc", "fimc" [all …]
|
| H A D | fimc-is-command.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung Exynos4x12 FIMC-IS (Imaging Subsystem) driver 5 * FIMC-IS command set definitions 16 #define FIMC_IS_COMMAND_VER 110 /* FIMC-IS command set version 1.10 */ 18 /* Enumeration of commands between the FIMC-IS and the host processor. */ 20 /* HOST to FIMC-IS */ 42 /* FIMC-IS to HOST */
|
| H A D | fimc-reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Register interface file for Samsung Camera Interface (FIMC) driver 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 13 #include <media/drv-intf/exynos-fimc.h> 14 #include "media-dev.h" 16 #include "fimc-reg.h" 17 #include "fimc-core.h" 23 cfg = readl(dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 25 writel(cfg, dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 28 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() [all …]
|
| H A D | fimc-is.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 30 #include <media/videobuf2-dma-contig.h> 32 #include "media-dev.h" 33 #include "fimc-is.h" 34 #include "fimc-is-command.h" 35 #include "fimc-is-errno.h" 36 #include "fimc-is-i2c.h" 37 #include "fimc-is-param.h" 38 #include "fimc-is-regs.h" [all …]
|
| H A D | fimc-isp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 20 #include <media/media-entity.h> 21 #include <media/videobuf2-v4l2.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-mediabus.h> 24 #include <media/drv-intf/exynos-fimc.h> 39 #define FIMC_ISP_SINK_WIDTH_MAX (4000 - 16) 55 * struct fimc_isp_frame - source/target frame properties 76 /* Adjust - contrast */ [all …]
|
| H A D | fimc-is-regs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 5 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 12 #include "fimc-is.h" 13 #include "fimc-is-command.h" 14 #include "fimc-is-regs.h" 15 #include "fimc-is-sensor.h" 17 void fimc_is_fw_clear_irq1(struct fimc_is *is, unsigned int nr) in fimc_is_fw_clear_irq1() argument 19 mcuctl_write(1UL << nr, is, MCUCTL_REG_INTCR1); in fimc_is_fw_clear_irq1() 22 void fimc_is_fw_clear_irq2(struct fimc_is *is) in fimc_is_fw_clear_irq2() argument [all …]
|
| H A D | fimc-is-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 16 #include "fimc-is-i2c.h" 24 * An empty algorithm is used as the actual I2C bus controller driver 25 * is implemented in the FIMC-IS subsystem firmware and the host CPU 39 struct device_node *node = pdev->dev.of_node; in fimc_is_i2c_probe() 44 isp_i2c = devm_kzalloc(&pdev->dev, sizeof(*isp_i2c), GFP_KERNEL); in fimc_is_i2c_probe() 46 return -ENOMEM; in fimc_is_i2c_probe() 48 isp_i2c->clock = devm_clk_get(&pdev->dev, "i2c_isp"); in fimc_is_i2c_probe() 49 if (IS_ERR(isp_i2c->clock)) { in fimc_is_i2c_probe() [all …]
|
| H A D | fimc-isp-video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 5 * FIMC-IS ISP video input and video output DMA interface driver 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ioctl.h> 28 #include <media/videobuf2-v4l2.h> 29 #include <media/videobuf2-dma-contig.h> 30 #include <media/drv-intf/exynos-fimc.h> 33 #include "media-dev.h" 34 #include "fimc-is.h" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/media/ |
| H A D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 The Samsung S5P/Exynos4 FIMC driver 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 10 The FIMC (Fully Interactive Mobile Camera) device available in Samsung 11 SoC Application Processors is an integrated camera host interface, color 14 path. There are multiple FIMC instances in the SoCs (up to 4), having 16 availability, LCD writeback support, etc. The driver is located at 17 drivers/media/platform/exynos4-is directory. 20 -------------- 22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210 [all …]
|
| H A D | platform-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 am437x-vpfe TI AM437x VPFE 18 aspeed-video Aspeed AST2400 and AST2500 19 atmel-isc ATMEL Image Sensor Controller (ISC) 20 atmel-isi ATMEL Image Sensor Interface (ISI) 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 26 coda-vpu Chips&Media Coda multi-standard codec IP 29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem) 30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/ |
| H A D | samsung-fimc.txt | 1 Samsung S5P/Exynos SoC Camera Subsystem (FIMC) 2 ---------------------------------------------- 4 The S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices 5 represented by separate device tree nodes. Currently this includes: FIMC (in 6 the S5P SoCs series known as CAMIF), MIPI CSIS, FIMC-LITE and FIMC-IS (ISP). 8 The sub-subdevices are defined as child nodes of the common 'camera' node which 10 any single sub-device, like common camera port pins or the CAMCLK clock outputs 14 -------------------- 18 - compatible: must be "samsung,fimc", "simple-bus" 19 - clocks: list of clock specifiers, corresponding to entries in [all …]
|
| H A D | exynos4-fimc-is.txt | 1 Exynos4x12 SoC series Imaging Subsystem (FIMC-IS) 3 The FIMC-IS is a subsystem for processing image signal from an image sensor. 4 The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 8 fimc-is node 9 ------------ 12 - compatible : should be "samsung,exynos4212-fimc-is" for Exynos4212 and 14 - reg : physical base address and length of the registers set; 15 - interrupts : must contain two FIMC-IS interrupts, in order: ISP0, ISP1; 16 - clocks : list of clock specifiers, corresponding to entries in 17 clock-names property; [all …]
|
| H A D | exynos-fimc-lite.txt | 1 Exynos4x12/Exynos5 SoC series camera host interface (FIMC-LITE) 5 - compatible : should be one of: 6 "samsung,exynos4212-fimc-lite" for Exynos4212/4412 SoCs, 7 "samsung,exynos5250-fimc-lite" for Exynos5250 compatible 9 - reg : physical base address and size of the device memory mapped 11 - interrupts : should contain FIMC-LITE interrupt; 12 - clocks : FIMC LITE gate clock should be specified in this property. 13 - clock-names : should contain "flite" entry. 15 Each FIMC device should have an alias in the aliases node, in the form of 16 fimc-lite<n>, where <n> is an integer specifying the IP block instance.
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/ |
| H A D | fimc-devel.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 The Samsung S5P/EXYNOS4 FIMC driver 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 11 ------------------ 13 - media device driver 15 drivers/media/platform/exynos4-is/media-dev.[ch] 17 - camera capture video device driver 19 drivers/media/platform/exynos4-is/fimc-capture.c 21 - MIPI-CSI2 receiver subdev 23 drivers/media/platform/exynos4-is/mipi-csis.[ch] [all …]
|
| /OK3568_Linux_fs/kernel/include/media/drv-intf/ |
| H A D | exynos-fimc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 12 #include <media/media-entity.h> 13 #include <media/v4l2-dev.h> 14 #include <media/v4l2-mediabus.h> 30 * Enumeration of the FIMC data bus types. 37 /* Camera MIPI-CSI2 serial bus */ 43 /* FIFO link from FIMC-IS */ 62 * struct fimc_source_info - video source description required for the host 65 * @fimc_bus_type: FIMC camera input type [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | exynos4412.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "exynos4-cpu-thermal.dtsi" 29 fimc-lite0 = &fimc_lite_0; 30 fimc-lite1 = &fimc_lite_1; 35 #address-cells = <1>; 36 #size-cells = <0>; 40 compatible = "arm,cortex-a9"; 43 clock-names = "cpu"; 44 operating-points-v2 = <&cpu0_opp_table>; 45 #cooling-cells = <2>; /* min followed by max */ [all …]
|