Commit Graph

33 Commits

Author SHA1 Message Date
Gao Xu
31d519d52d Merge branch 'feat/csi_error_event' into 'master'
Add MIPI-CSI error event

Closes IDF-12075

See merge request espressif/esp-idf!49258
2026-07-13 17:59:29 +08:00
gaoxu
24a51e6b16 feat(csi): add MIPI-CSI host error event 2026-07-13 15:10:16 +08:00
morris
56f56b887b fix(csi): move csi_fsm init before resource allocation to fix err-path leak
CSI_FSM_INIT is 1, but the controller struct is zero-allocated.
Any failure before the former csi_fsm assignment (near the end of
esp_cam_new_csi_ctlr) jumped to err: which called s_del_csi_ctlr.
That function bailed out immediately because csi_fsm == 0, leaking
the claimed slot, queue, bridge, DMA channel, PM lock, and backup
buffer. Move csi_fsm = CSI_FSM_INIT right after a successful claim
so the err: path properly tears down all allocated resources.
2026-07-09 10:27:01 +08:00
armando
a472bfbb69 feat(csi): support custom data type 2026-02-28 11:21:12 +08:00
armando
303da81075 feat(csi): support csi input bit swap 2026-02-05 01:18:27 +00:00
gaoxu
493b67fdc7 feat(csi): add csi color format conversion 2026-01-26 11:37:09 +08:00
gaoxu
b53427075e refactor(cam): use fourcc for cam format 2026-01-26 11:37:06 +08:00
Dong Heng
ff010c06b2 fix(esp_driver_cam): fix MIPI-CSI RX data broken 2025-12-26 09:49:59 +08:00
Marius Vikhammer
484d2c5c2f fix(system): fixed issues with unused variable warnings when compiling with NDEBUG 2025-09-19 15:42:07 +08:00
gaoxu
1e674fa044 feat(cam): support format conversion function 2025-08-28 14:14:36 +08:00
gaoxu
ee3de247e2 feat(cam): add camera buffer alloc function 2025-07-07 11:23:07 +08:00
wuzhenghui
65b7e70564 feat(driver): support acquire/release clock source dependency for all drivers 2025-05-27 21:21:38 +08:00
gaoxu
6599ba3c00 feat(cam): esp_cam add pm lock function and test 2025-05-14 11:11:58 +08:00
armando
f0590c860e refactor(cam): rename IRAM-Safe to Cache-Safe 2025-03-07 15:25:57 +08:00
armando
c53fd5d985 fix(cam): fixed cam iram safe build error 2025-03-07 15:25:57 +08:00
Armando
45b7b7dc1c fix(csi): fixed csi bridge clock closed by csi host driver issue 2024-09-13 17:00:07 +08:00
wuzhenghui
13e42707a0 feat(esp_hw_support): add clk tree source gate management api 2024-09-11 10:53:01 +08:00
wuzhenghui
05e74480f5 feat(esp_system): gate some clock by default to optmize esp32p4 active power 2024-09-11 10:53:00 +08:00
Armando
e06d0134f2 fix(camera): fixed c2m cache ops 2024-07-23 15:14:24 +08:00
Armando
6930bfdef6 fix(csi): fixed csi wrong state machine settings 2024-05-31 18:47:27 +08:00
Armando
70d2ed5ee8 feat(isp): added isp dvp driver 2024-05-31 18:47:27 +08:00
gaoxu
8390cc1b0e feat(csi): add verify to no backup buffer usage 2024-05-13 15:42:10 +08:00
Armando
3b567b7033 fix(csi): fixed wrong assert when there's new transaction 2024-04-24 14:57:58 +08:00
gaoxu
65acf4abe9 feat(csi): add a flag to allow no backup buffer usage 2024-04-18 10:42:22 +08:00
wanlei
af86df7f02 feat(csi): add API to expose internal backup_buffer 2024-04-17 10:48:11 +08:00
wanlei
cf055a625b fix(csi): fix common resource changes when clime hardware fail 2024-04-16 17:22:57 +08:00
Armando
e7c1f6b3b2 feat(csi): support using internal buffer when there's no new trans buffer
Also when the new trans buffer is not big enough
2024-04-16 16:11:55 +08:00
Armando
d341540a5e change(drivers): other driver changes for cache malloc 2024-04-15 15:34:51 +08:00
morris
c0289ee6eb fix(drivers): fix typos found by codespell
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
Armando
8cef97beac change(csi): changed the clk_freq_hz to lane_bit_rate_mbps 2024-03-27 10:40:59 +08:00
Armando
00fe6479e4 bugfix(csi): fix wrong fsm state check in s_ctlr_csi_stop 2024-03-26 08:22:45 +08:00
Armando
571855d4dd bugfix(csi): fix wrong cache invalidate location 2024-03-18 14:54:25 +08:00
Armando
cfe06a7517 change(cam): renamed to esp_driver_cam 2024-02-05 10:30:54 +08:00