drivers: video: ov2640: add clock rate control property

Add Clock Rate Control property to OV2640 CMOS video sensor

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
This commit is contained in:
Charles Dias 2024-04-25 14:30:45 -03:00 committed by Carles Cufí
commit fa19161527
2 changed files with 17 additions and 1 deletions

View file

@ -12,4 +12,18 @@ properties:
The RESETn pin is asserted to disable the sensor causing a hard
reset. The sensor receives this as an active-low signal.
clock-rate-control:
type: int
default: 0x87
description: |
Define the value to the Clock Rate Control register. By changing
the system clock divide ratio and PLL, the frame rate and pixel
rate will change together.
Bit[7] Internal frequency doublers ON/OFF selection.
0: ON 1: OFF
Bit[6] Reserved
Bit[5:0] Clock divider.
CLK = XVCLK /(decimal value of CLKRC[5:0] + 1)
include: i2c-device.yaml