GeoSemi GW5300 ISP V4L2 Linux driver

From RidgeRun Developer Wiki




Introduction to GeoSemi GW5300 SoC and V4L2 driver

RidgeRun is actively working to enable customers with great software solutions on top of powerful hardware. For this reason, RidgeRun is currently working to create the V4L2 driver for GeoSemi's automotive camera video processor, the GW5300. This wiki contains a brief introduction to the GW5300 SoC and its capabilities and explores how our driver design allows for the robust integration of a wide arrange of features to fit our customers' needs. Please keep in mind that the driver can be ported to other platforms if needed. Please contact us if you require more information.

GeoSemi GW5300 device capabilites

The GW5300 is an advanced Automotive Camera Video Processor System-on-Chip (SoC) from GeoSemi, which provides a flexible and integrated camera system solution. Some of its features include:

  • eWARP Geometric Processor, capable of lens distortion correction, ePTZ, digital calibration, ultra-low latency (1/6th of a frame) and programmable warp maps.
  • HDR signal processor
  • Overlay Graphics Engine, including a 2D-Vector Graphics Accelerator and animated bitmap support
  • MIPI and parallel i/o interfaces
GeoSemi GW5300 block diagram

Supported resolutions

Resolution Dimensions (HxV) Frame rate
[frame/s]
Number of
exposures over
MIPI interface
8MP30 3848 x 2166 30 1
8MP30 (DCI) 4096 x 2160 24 1
8MP30 (4k UHD) 3840 x 2160 30 1
5MP60 2592 x 1944 60 1
5MP30 2592 x 1944 30 1,2
4MP60 2688 x 1536 60 1
4MP30 2688 x 1536 30 1,2,3
2MP60 1920 x 1080 60 1,2,3,4
2MP30 1920 x 1080 30 1,2,3,4
1MP60 1280 x 720 60 1,2,3,4
1MP30 1280 x 720 30 1,2,3,4

Parallel Video Interface

  • 16-bit video input interface.
  • Maximum clock speed of 150 MHz.
  • Input formats:
    • 8/10/12-bit Bayer RGB
    • 8/10-bit YUV 4:2:2 with external or embedded sync.
  • Resolutions:
    • Pixel rate up to 150Mhz.
    • Bayer RGB - 12-bit interface
      • 1080p@60fps
      • 720p@120fps
    • YUV4:2:2 8/10-bit interface
      • 1080p@30fps
      • 720p@60fps

MIPI Video Interface

  • Two independent MIPI-Rx CSI-2 interfaces.
  • Max throughput: Up to 1.5Gbps/lane. 6Gbps per MIPI interface. 4.0Gbps if using dual sensors.
  • If capturing from 2 sensors, the stream is processed simultaneously as one picture through the ISP. The eWARP can operate on them identically or separately.
  • MIPI ports can be enabled individually or at the same time.
  • Can capture up to 4 exposures through the MIPI interface.
  • Input formats:
    • 8/10/12/14/16/20-bit Bayer RGB (Up to 20 bit Bayer data)
    • YUV 4:2:2 8/10-bits per pixel
    • RGB888

API

At a software level, the GW5 establishes communication via a command API, which allows for its stand-alone operation and a modular and robust driver design, dividing operation in four different modules:

  • API module: customizable firmware defines a series of commands for the GW5. Such commands are formed and controlled by this module.
  • Communication module: an i2c module that communicates received commands from the host to the GW5.
  • Base module: device and system configuration.
  • Stream module: v4l2 device configuration and controls.

This structure allows for a very smooth integration of any additional custom features.

Features of GeoSemi GW5300 Linux driver

The following features are currently supported by our GW5300 driver. If your application requires any other feature, please contact us.

Safety monitoring

  • Safety monitoring tools, such as information about device status and operation, temperature and mode.
  • Firmware ID and build date.
  • Sensor information, such as ID and revision.
  • Register read from either the GW5 or the sensor.

ISP configuration

Our driver allows the user to perform a variety of ISP operations, as well as tune any of the dynamic parameters of the ISP configuration, including, but not limited to:

  • Manual and auto-exposure, sensor gain, integration lines, ISP gain, exposure ratios
  • HDR mode selection
  • Auto white balance

Ancillary data

Ancillary data can be enabled to obtain further information about the video stream, operation and overall statistics.

Warpmaps

In order to take advantage of the GW5 warpmap operation, our driver allows the user for:

  • Loading custom pregenerated warpmaps from host
  • Adjustable warpmap configuration
  • Warpmap source selection between embedded or external sources
  • ePTZ warpmap processing

Custom commands

As a result of our driver design and our firmware update process, any custom feature can be easily integrated into the driver. Please email to support@ridgerun.com for technical questions.



For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.