58 Commits

Author SHA1 Message Date
laokaiyao 8d0fca08a0 feat(i2s): support i2s & apll on esp32s31 2026-04-22 09:30:53 +08:00
Chen Chen 91105b65b6 fix(i2s): fix gpio selection on esp32h4 & fix reservation check issue 2026-04-22 09:29:34 +08:00
Chen Jichang 6e206dd173 refactor(clk_tree): use general api to enable the clk 2026-04-16 20:03:06 +08:00
wuzhenghui 2f41c43f3b feat(esp_driver_i2s): support clk tree source management across I2S components 2026-03-05 10:11:56 +08:00
morris 0469db2f83 refactor(rcc): unify the usage of clock control macros for peripherals
- Removed conditional definitions for various RCC_ATOMIC macros across
multiple files, replacing them with a unified PERIPH_RCC_ATOMIC() macro.
- Updated instances where specific RCC_ATOMIC macros were used to ensure
consistent usage of PERIPH_RCC_ATOMIC().
- Deleted unused uart_share_hw_ctrl.h file as its functionality is now
integrated into the new structure.
2026-01-23 18:28:13 +08:00
morris 512b499e1b refactor: remove gdma_trigger_peripheral_t 2026-01-12 13:47:54 +08:00
Kevin (Lao Kaiyao) ae912326a5 Merge branch 'feature/add_more_channel_info' into 'master'
feat(i2s): support to get more channel info

See merge request espressif/esp-idf!44604
2026-01-09 11:17:20 +08:00
laokaiyao 89ce1baeb6 feat(i2s): support to get more channel info 2026-01-05 16:06:29 +08:00
morris fb1b53c7c5 refactor(gdma): channel allocation can return both direction within the same call 2026-01-04 15:39:38 +08:00
morris af02c173fb refactor(soc): remove soc_caps_full.h 2025-12-04 10:48:07 +08:00
laokaiyao c08c28fb20 fix(i2s): fix the auto port failure when use simplex on ESP32 2025-11-26 11:34:09 +08:00
laokaiyao bab5a7a8ed refactor(i2s): refactor of the private i2s caps 2025-11-18 16:13:14 +08:00
laokaiyao e8f39b4c8d feat(hal): graudate the I2S hal driver into a new component 2025-11-18 15:47:16 +08:00
laokaiyao ca8996bfac fix(i2s): fixed divide-by-zero coverity issue 2025-11-04 11:35:47 +08:00
morris d4d8b09ced feat(hal):graudate the LCD hal driver into a new component
- Introduced new HAL components for LCD and MIPI DSI, including:
  - `lcd_hal.c` and `lcd_hal.h` for LCD hardware abstraction layer.
  - `mipi_dsi_hal.c` and `mipi_dsi_hal.h` for MIPI DSI hardware
abstraction layer.
  - Peripheral connection definitions in `lcd_periph.c` and
`lcd_periph.h`.
  - Added necessary types and utility functions in `lcd_types.h` and
`mipi_dsi_types.h`.

- Updated CMakeLists to include the new HAL components in the build
system.
- Removed legacy references to LCD and MIPI DSI in the HAL and SOC
CMakeLists.
2025-10-22 17:00:18 +08:00
laokaiyao 9b69fa150f fix(i2s): fixed invalid offset in the big gap writing scenario 2025-10-21 11:17:49 +08:00
laokaiyao fec96035be refactor(i2s): replace the enum i2s_port_t with int type 2025-10-01 21:53:55 +08:00
laokaiyao 91a6387005 refactor(i2s): clean up i2s soc caps 2025-10-01 21:51:58 +08:00
laokaiyao 37ed3e0904 ci(i2s): fixed occationally failure on P4
read write case can sometimes failed due to the low frequency of the default I2S clock source on P4.
2025-09-28 17:13:16 +08:00
laokaiyao e3bf25de1c feat(i2s): support to lazy constitute full-duplex mode 2025-08-26 15:49:29 +08:00
laokaiyao 263a056486 feat: add i2s & etm sleep retention entry on H4 2025-07-22 10:05:12 +08:00
laokaiyao 424991faaf feat(i2s): support new sync feature on H4 2025-07-18 15:51:37 +08:00
laokaiyao a4cb2dc98b remove(i2s): remove deprecated configuration in IDF v6.0 2025-06-12 16:53:50 +08:00
morris c63f51dcb3 refactor(drivers)!: remove unnecessary io_loop_back and pull up/down config option 2025-05-23 18:09:53 +08:00
laokaiyao 126d184d6c fix(i2s): fixed the false buf catenate while use preload
Closes https://github.com/espressif/esp-idf/issues/15775
2025-04-27 16:27:47 +08:00
morris 15e16599ae refactor(drivers): refactor the iram-safe option of the gdma peripherals
Closes https://github.com/espressif/esp-idf/issues/15771
2025-04-15 11:37:18 +08:00
laokaiyao b834886585 fix(i2s): reset the dma buf_size while allocation failed
Closes https://github.com/espressif/esp-idf/issues/15648
2025-03-26 15:25:39 +08:00
laokaiyao 48c28eed00 fix(i2s): add check for i2s DMA buffer array allocation
Closes https://github.com/espressif/esp-idf/issues/15607
2025-03-20 16:58:38 +08:00
laokaiyao ad623893d4 feat(i2s): support tuning rate dynamically 2025-02-17 16:20:24 +08:00
laokaiyao 79fd265c20 feat(i2s): append the i2s signals instead of overwrite 2025-01-20 16:37:18 +08:00
laokaiyao 74427172e1 fix(i2s): fixed i2s coverity issue 2024-12-18 16:23:29 +08:00
laokaiyao b02eb01619 fix(i2s): fixed incorrect buf size calculation 2024-12-18 16:23:29 +08:00
Li Shuai 8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
laokaiyao ae36f84945 feat(i2s): enable i2s test on c5 2024-09-30 17:38:22 +08:00
laokaiyao 0cb4bdc54e feat(i2s): support sleep retention 2024-09-30 17:38:22 +08:00
laokaiyao 7ac567df96 fix: fix minor issues in isp and i2s 2024-09-02 14:07:05 +08:00
laokaiyao fe80989a17 fix(i2s): fixed alignment of max DMA buffer length on P4
Closes https://github.com/espressif/esp-idf/issues/14448
2024-08-29 19:03:06 +08:00
morris 39cbba3685 change(gdma): deprecate legacy API
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
laokaiyao a51b5dbe78 refactor(i2s): refactor to use i2s etm controlling 2024-08-06 10:16:34 +08:00
Armando ee8933f651 feat(lp_i2s): lp_i2s driver 2024-08-02 12:02:05 +08:00
morris 2b1466b070 refactor(i2s): clean up DMA buffer allocation 2024-06-03 16:13:13 +08:00
laokaiyao d2468b8d0e fix(i2s): add the missed port2 for p4 2024-05-27 10:46:48 +08:00
laokaiyao 3728dac3df fix(i2s): add check to gdma callback register 2024-05-27 10:46:48 +08:00
wanlei fb8376cb8c feat(i2s): c5mp i2s support 2024-05-22 17:29:48 +08:00
laokaiyao e4f28fcb7f feat(i2s): support i2s gpio reservation 2024-04-07 11:33:23 +08:00
gaoxu 40f38bea6f feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
Armando f0518b3c16 feat(dma): advanced dma malloc helper 2024-04-02 14:30:14 +08:00
laokaiyao 94ea9e398e fix(i2s): rollback the breaking change of callback event data
`i2s_event_data_t::data` is deprecated due to the cumbersome usage of secondary pointer
Please use the newly added first-level pointer `i2s_event_data_t::dma_buf` instead
2024-03-29 14:33:25 +08:00
Kevin (Lao Kaiyao) 2a121e92e8 Merge branch 'feature/i2s_support_asynch_read_write_via_callback' into 'master'
feat(i2s): support asynchronous read write via callback

See merge request espressif/esp-idf!29870
2024-03-28 11:50:13 +08:00
morris c0289ee6eb fix(drivers): fix typos found by codespell
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00