drivers: video: ov2640: add driver for ov2640 image sensor

This adds the driver for Omnivision OV2640 image sensor.

The driver provides support for 10 different resolutions in range from
160x120 to 1600x1200 in both JPEG and RGB565 pixel formats. There are
also mutliple configuration options, e.g. hflip, vflip, saturation and
brightness control.

Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
This commit is contained in:
Robert Szczepanski 2021-06-21 11:48:29 +02:00 committed by Christopher Friedt
commit 55e3c732d0
5 changed files with 1095 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Copyright (c) 2021 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
description: OV2640 CMOS video sensor
compatible: "ovti,ov2640"
properties:
reset-gpios:
type: phandle-array
required: false
description: |
The RESETn pin is asserted to disable the sensor causing a hard
reset. The sensor receives this as an active-low signal.
include: i2c-device.yaml