mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 06:20:02 +02:00
The Renesas R-Car ISP block consists of two different IP blocks, one CSI-2 Channel Selector (CSISP) and one traditional ISP for image operation (ISPCORE). The R-Car ISP driver currently supports the CSISP functionality as part of the video capture pipeline, this change adds support for the ISPCORE functionality. The ISPCORE functionality is further split in two parts, a Renesas specific part and a Dream Chip Real-time Pixel Processor IP part (RPPX1). The Renesas part deals with I/O to/from the block while the RPPX1 part deals with the actual ISP functions. The RPPX1 functionality is implemented in a support framework (DCT RPPX1) as this block can be used by different vendors or setups. This change deals with the Renesas part of exposing the V4L2 elements needed for a user-space interface to the RPPX1 and deals with the DMA to/from the RPP block. It also facilitates the user-space V4L2 API to allow configuring the RPPX1 using the DCT RPPX1 support framework. The functionality exposed are one input video device where RAW bayer frames can be queued for processing, one output video device where the debayerd image can be read as either ABGR32 or NV16M format. Further more a video device to queue the image processing parameters to configure the RPPX1 IPS as well as a video device to read statistics about the processed image is available. There is no change in the operation of the CSISP functionality. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> [ VSPX interfacing + locking sanitizing ] Co-developed-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
21 lines
598 B
Plaintext
21 lines
598 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config VIDEO_RCAR_ISP
|
|
tristate "R-Car Image Signal Processor (ISP)"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_DEV && OF
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
depends on VIDEO_RENESAS_VSP1
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select RESET_CONTROLLER
|
|
select V4L2_FWNODE
|
|
select VIDEO_DCT_RPPX1
|
|
help
|
|
Support for Renesas R-Car Image Signal Processor (ISP).
|
|
Enable this to support the Renesas R-Car Image Signal
|
|
Processor (ISP).
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called rcar-isp.
|