openmv/common
iabdalkader 2040a0a000 common/csi: Decouple the clock from main CSI state.
This patch decouples the clock from the main CSI state,
further separating the CSI instance from the port's CSI
driver. Additionally, it allows CSIs to use different clocks,
in theory, though they must first be detected somehow in
order to switch clocks.

As a side effect of sharing the clock, set_frequency will be
called more frequently (the default call plus once per CSI).
However, the frequency is now checked, and the clock is only
reconfigured if the new frequency exceeds a configurable
tolerance.

Finally, get_clk_frequency now accepts a boolean to return
either the exact clock frequency, for sensors that require
it, or the nominal frequency.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-05 14:17:31 +02:00
..
array.c common: Remove xalloc. 2025-06-27 14:50:16 +02:00
array.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
check_toolchain.mk misc: Add GCC minimum toolchain check for CM55. 2025-07-05 14:02:37 +02:00
common.ld.S common: Remove legacy fixed vospi memory. 2025-06-24 10:19:31 -07:00
common.mk common: Remove xalloc. 2025-06-27 14:50:16 +02:00
dma_alloc.c common/dma_alloc: Fix build. 2025-04-15 20:23:31 +02:00
dma_alloc.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
fb_alloc.c common: Refactor framebuffer API to accept a context. 2025-04-26 16:29:27 +03:00
fb_alloc.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
file_utils.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
file_utils.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
micropy.mk misc: Refactor Makefiles. 2025-04-15 18:54:04 +02:00
mkrules.mk misc: Refactor Makefiles. 2025-04-15 18:54:04 +02:00
mp_utils.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
mp_utils.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
mutex.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
mutex.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
nosys_stubs.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
omv_common.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
omv_csi.c common/csi: Decouple the clock from main CSI state. 2025-07-05 14:17:31 +02:00
omv_csi.h common/csi: Decouple the clock from main CSI state. 2025-07-05 14:17:31 +02:00
omv_gpio.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
omv_gpu.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
omv_i2c.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
omv_spi.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
pendsv.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
ringbuf.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
ringbuf.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
tinyusb_debug.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
tinyusb_debug.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
trace.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
trace.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
umm_malloc.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
umm_malloc.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
unaligned_memcpy.c misc: Restructure repo. 2025-04-13 08:28:34 +02:00
unaligned_memcpy.h misc: Restructure repo. 2025-04-13 08:28:34 +02:00
usbdbg.c common/csi: Add support for multiple CSIs. 2025-06-25 10:37:41 +02:00
usbdbg.h misc: Bump firmware version. 2025-06-01 17:40:23 +02:00
vospi.c common/vospi: Implement abort. 2025-06-30 23:43:16 +02:00
vospi.h common/vospi: Implement abort. 2025-06-30 23:43:16 +02:00