/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 21 #include <media/videobuf2-v4l2.h> 22 #include <media/v4l2-ctrls.h> 24 #include "fimc-isp.h" 25 #include "fimc-is-command.h" 26 #include "fimc-is-sensor.h" 27 #include "fimc-is-param.h" 28 #include "fimc-is-regs.h" 30 #define FIMC_IS_DRV_NAME "exynos4-fimc-is" [all …]
|
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 | 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> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/media-device.h> 30 #include <media/drv-intf/exynos-fimc.h> 32 #include "media-dev.h" 33 #include "fimc-core.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 | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver" 30 interface and video postprocessor (FIMC) devices. 33 module will be called s5p-fimc. 36 tristate "S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS) driver" 41 This is a V4L2 driver for Samsung S5P and EXYNOS4 SoC MIPI-CSI2 42 receiver (MIPI-CSIS) devices. 45 module will be called s5p-csis. 48 tristate "EXYNOS FIMC-LITE camera interface driver" 55 This is a V4L2 driver for Samsung EXYNOS4/5 SoC FIMC-LITE camera [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 …]
|
H A D | fimc-isp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 22 #include <media/v4l2-device.h> 24 #include "media-dev.h" 25 #include "fimc-isp-video.h" 26 #include "fimc-is-command.h" 27 #include "fimc-is-param.h" 28 #include "fimc-is-regs.h" 29 #include "fimc-is.h" 57 * fimc_isp_find_format - lookup color format by fourcc or media bus code [all …]
|
H A D | fimc-isp-video.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 11 #include <media/videobuf2-v4l2.h> 12 #include "fimc-isp.h" 15 int fimc_isp_video_device_register(struct fimc_isp *isp, 19 void fimc_isp_video_device_unregister(struct fimc_isp *isp, 28 static inline int fimc_isp_video_device_register(struct fimc_isp *isp, in fimc_isp_video_device_register() argument 35 static inline void fimc_isp_video_device_unregister(struct fimc_isp *isp, in fimc_isp_video_device_unregister() argument
|
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-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" 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() 50 dev_err(&pdev->dev, "failed to get the clock\n"); in fimc_is_i2c_probe() [all …]
|
H A D | fimc-is-param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-ioctl.h> 26 #include "fimc-is.h" 27 #include "fimc-is-command.h" 28 #include "fimc-is-errno.h" 29 #include "fimc-is-param.h" 30 #include "fimc-is-regs.h" 31 #include "fimc-is-sensor.h" [all …]
|
H A D | fimc-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung camera host interface (FIMC) registers definition 5 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 13 #include "fimc-core.h" 54 /* 0 - selects Writeback A (LCD), 1 - selects Writeback B (LCD/ISP) */ 59 /* 0 - ITU601; 1 - ITU709 */ 114 /* Pre-scaler control 1 */ 275 #define FIMC_REG_CSIIMGFMT_USER(x) (0x30 + x - 1) 280 /* SYSREG ISP Writeback register address offsets */ 291 void fimc_hw_reset(struct fimc_dev *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> 14 #include <media/media-device.h> 15 #include <media/media-entity.h> 16 #include <media/v4l2-device.h> 17 #include <media/v4l2-subdev.h> 18 #include <media/drv-intf/exynos-fimc.h> 20 #include "fimc-core.h" 21 #include "fimc-lite.h" [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 | fimc-is-sensor.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 39 * struct fimc_is_sensor - fimc-is sensor data structure 41 * @i2c_bus: ISP I2C bus index (0...1)
|
H A D | fimc-is-errno.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung Exynos4 SoC series FIMC-IS slave interface driver 5 * FIMC-IS error code definition 7 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 59 /* ISP 200 ~ 299 */ 121 /* Index of setfile is not valid (0~MAX_SETFILE_NUM-1) */ 143 /* invalid bit-width (DRC: 8~12bits, FD: 8bit) */ 145 /* invalid FrameTime for ISP */ 155 /* invalid bit-width (DRC: 8~12bit, FD: 8bit) */ 169 /* invalid bit-width (DRC: 8~12bits) */ [all …]
|
H A D | fimc-is-errno.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung Exynos4 SoC series FIMC-IS slave interface driver 7 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 13 #include "fimc-is-errno.h" 43 return "ERROR_OTF_INPUT_HEIGHT: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr() 45 return "ERROR_OTF_INPUT_BIT_WIDTH: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr() 53 return "ERROR_DMA_INPUT_BIT_WIDTH: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr() 65 return "ERROR_OTF_OUTPUT_BIT_WIDTH: Invalid bit-width (DRC: 8~12bits, FD: 8bit)"; in fimc_is_param_strerr() 101 /* ISP Error (200~299) */ in fimc_is_param_strerr() 209 /* ISP */ in fimc_is_strerr()
|
H A D | fimc-is-i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 9 #define FIMC_IS_I2C_COMPATIBLE "samsung,exynos4212-i2c-isp"
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | samsung,fimc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,fimc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S5P/Exynos SoC Camera Subsystem (FIMC) 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 The S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices 16 Integrated Mobile Camera (FIMC, in the S5P SoCs series known as CAMIF), MIPI 17 CSIS, FIMC-LITE and FIMC-IS (ISP). [all …]
|
H A D | samsung,exynos4210-fimc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos4210-fimc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 Each FIMC device should have an alias in the aliases node, in the form of 15 fimc<n>, where <n> is an integer specifying the IP block instance. 20 - samsung,exynos4210-fimc 21 - samsung,exynos4212-fimc [all …]
|
H A D | samsung,exynos4212-fimc-is.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos4212-fimc-is.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos4212/4412 SoC Imaging Subsystem (FIMC-IS) 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 The FIMC-IS is a subsystem for processing image signal from an image sensor. 15 The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 16 processor, ISP, DRC and FD IP blocks and peripheral devices such as UART, I2C [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4x12.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "exynos4-cpu-thermal.dtsi" 27 fimc-lite0 = &fimc_lite_0; 28 fimc-lite1 = &fimc_lite_1; 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
/linux/Documentation/admin-guide/media/ |
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 …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | samsung,exynos4412-isp-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos4412 SoC ISP clock controller 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 12 - Sylwester Nawrocki <s.nawrocki@samsung.com> 13 - Tomasz Figa <tomasz.figa@gmail.com> 16 Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP) [all …]
|
H A D | samsung,exynos5433-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/samsung,exynos5433-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 12 - Sylwester Nawrocki <s.nawrocki@samsung.com> 13 - Tomasz Figa <tomasz.figa@gmail.com> 16 Expected external clocks, defined in DTS as fixed-rate clocks with a matching 18 - "oscclk" - PLL input clock from XXTI [all …]
|