iabdalkader
7b4c545b47
common/csi: Move resolution table to csi struct.
...
This allows drivers to override standard resolutions,
or use custom ones, without affecting other CSIs.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-14 11:40:24 +02:00
Kwabena W. Agyeman
3908807509
drivers/sensors: Add calibration ioctl for the genx320.
2025-08-09 10:51:08 -07:00
Kwabena W. Agyeman
e591ccd735
drivers/sensors: Add RAW event output mode for the genx320.
2025-08-09 10:51:07 -07:00
iabdalkader
1f1e2b59e9
common/csi: Add post-processing op.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-09 12:04:05 +02:00
iabdalkader
9112cf2aae
misc: Clean-up CSI flags.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-09 12:00:59 +02:00
iabdalkader
451c1e7664
common/csi: Add support for custom resolutions.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-08 14:45:23 +02:00
iabdalkader
9bb174454b
common/csi: Track elapsed time since last hard-reset.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-08-02 13:24:12 +02:00
iabdalkader
9bcef8e17c
common/csi: Add power-on time.
...
Can be used by driver to check for elapsed time since
power-on.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-27 15:01:45 +02:00
iabdalkader
af711cfc90
common: Use the new framebuffer API.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-23 18:24:55 +02:00
iabdalkader
5306e93ab4
common/csi: Add function to print sensor name.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-16 22:42:36 +02:00
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
iabdalkader
ecbdbdfde1
common/csi: Refactor omv_csi_init.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-02 18:12:34 +02:00
iabdalkader
b3832b86c1
common/csi: Fix CSI detection & init logic.
...
Simplify the detection logic and handle the case where
all detected sensors (one or more) are auxiliary.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-30 23:43:20 +02:00
iabdalkader
7f4e5e81c7
common/csi: Abort CSIs on soft-reboot.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-29 17:20:49 +02:00
iabdalkader
662950654e
common/csi: Add CONFIG_DEINIT.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-29 17:20:49 +02:00
iabdalkader
90a568fde5
common/csi: Add power-on flag.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-29 17:20:49 +02:00
iabdalkader
58d69cd571
common/csi: Add shutdown op.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-29 17:20:49 +02:00
iabdalkader
65ac3ca2ea
drivers: Fix snapshot loop.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-26 10:10:23 +02:00
iabdalkader
3270272e11
common/csi: Add support for non-blocking flag.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-25 10:37:43 +02:00
iabdalkader
72410dfc8c
common/csi: Add support for multiple CSIs.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-25 10:37:41 +02:00
iabdalkader
5933198a14
common/csi: Refactor CSI I2C bus.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 14:13:57 +02:00
iabdalkader
fe2e2cd82a
common: Rename omv_csi_get_clk_frequency.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 12:41:16 +02:00
iabdalkader
6526f9412b
sensors: Add support for PixArt PS5520.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-10 14:36:33 +02:00
iabdalkader
ab39043bf9
common: Refactor omv_csi_abort to accept a context.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-26 10:40:53 +03:00
iabdalkader
f468c12f74
common: Add the framebuffer instance to csi struct.
2025-04-26 10:40:53 +03:00
iabdalkader
16ef0b177c
drivers/softcsi: Add virtual image sensor for testing.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-21 10:22:06 +02:00
iabdalkader
d3d02070d7
common/omv_csi: Add update AGC/AEC ioctl.
2025-04-19 19:09:03 +02:00
iabdalkader
daf2bb30da
misc: Restructure repo.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-13 08:28:34 +02:00