402 Commits

Author SHA1 Message Date
morris
2c9ab21629 Merge branch 'refactor/fine_tune_dphy_pll_v5.3' into 'release/v5.3'
feat(mipi): fine tune DPHY PLL clock (v5.3)

See merge request espressif/esp-idf!35292
2024-12-10 11:36:03 +08:00
Jiang Jiang Jian
42ef2887f4 Merge branch 'fix/fix_regdma_wait_node_issue_v5.3' into 'release/v5.3'
fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group (v5.3)

See merge request espressif/esp-idf!35358
2024-12-09 15:27:24 +08:00
morris
85ce7c15ce Merge branch 'feat/mipi_dsi_underrun_error_v5.3' into 'release/v5.3'
feat(mipi_dsi): enable underrun error interrupt (v5.3)

See merge request espressif/esp-idf!34981
2024-12-09 10:14:12 +08:00
morris
4cd2ba46c3 Merge branch 'change/esp_ldo_reserve_for_spi_flash_v5.3' into 'release/v5.3'
LDO calibration on ESP32-P4 (v5.3)

See merge request espressif/esp-idf!34865
2024-12-09 10:07:51 +08:00
morris
d93ebf3e9c feat(mipi_dsi): enable underrun error interrupt 2024-12-06 17:00:05 +08:00
morris
26545860f7 feat(ldo): load calibration parameters from efuse 2024-12-06 16:12:43 +08:00
wuzhenghui
1a23d3cd53
fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-12-03 10:44:56 +08:00
morris
6f992acf31 feat(mipi): fine tune DPHY PLL clock 2024-11-29 10:04:38 +08:00
Tomas Rezucha
177679b74e feat(hal/usb): Make USB-DWC HAL&LL configuration independent
Previously, we included symbols from soc/usb_dwc_cfg.h and configured
the HAL and LL according to it. Now we get the configuration in runtime
from USB-DWC registers.

Added missing definition for USB FS peripheral on ESP32-P4.
2024-11-22 17:32:22 +08:00
Tomas Rezucha
1d5a8f6952 feat(hal/usb): Add USB UTMI PHY HAL
* Add a bare-bones HAL API for the USB UTMI PHY
* Split USB-DWC LL per target
2024-11-22 17:32:22 +08:00
Jiang Jiang Jian
bce45894e7 Merge branch 'feat/mipi_dsi_yuv_converter_v5.3' into 'release/v5.3'
feat(lcd): support YUV422 input color format (v5.3)

See merge request espressif/esp-idf!34761
2024-11-15 13:45:02 +08:00
Jiang Jiang Jian
d44e47e910 Merge branch 'bugfix/gpio_set_level_atomic_v5.3' into 'release/v5.3'
fix(gpio): improve set level performance (v5.3)

See merge request espressif/esp-idf!34765
2024-11-15 11:22:39 +08:00
Jiang Jiang Jian
6b2ac26da3 Merge branch 'feature/support_apll_on_p4_v5.3' into 'release/v5.3'
feat(clock): support apll clock on p4 (v5.3)

See merge request espressif/esp-idf!33214
2024-11-14 18:54:59 +08:00
morris
bde65f22fc fix(gpio): improve set level performance
by avoid "read-modify-write" operation. The registers designed to be
write only.

Related to https://github.com/espressif/esp-idf/issues/14674
2024-11-14 14:35:49 +08:00
morris
a30099a879 feat(lcd): support color conversion for mipi dsi driver 2024-11-14 14:35:25 +08:00
C.S.M
0a437b0ea0 fix(bod): Remove config for bod on p4 v0.x 2024-11-01 15:31:13 +08:00
C.S.M
4049f2b5fb feat(bod): Update bod threshold on esp32p4-eco2 2024-11-01 15:31:02 +08:00
laokaiyao
5b03fff32e feat(clock): support apll clock on p4 2024-10-31 11:01:04 +08:00
Jiang Jiang Jian
8e7ce462be Merge branch 'bugfix/workaround_of_i2s_half_sample_rate_issue_v5.3' into 'release/v5.3'
fix(i2s): fix i2s half sample rate issue (v5.3)

See merge request espressif/esp-idf!34353
2024-10-25 19:38:42 +08:00
morris
3eefb7d800 Merge branch 'ci/enable_esp32p4_gpio_uart_target_test_v5.3' into 'release/v5.3'
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process (v5.3)

See merge request espressif/esp-idf!33523
2024-10-25 15:08:40 +08:00
morris
91e57cfb15 Merge branch 'feat/support_esp32p4_flash_psram_sleep_pd_v5.3' into 'release/v5.3'
feat(esp_hw_support): support power down PSRAM or Flash during sleep for esp32p4 v1.0 (v5.3)

See merge request espressif/esp-idf!34390
2024-10-25 11:00:08 +08:00
laokaiyao
e1e9ffdd4f fix(i2s): fix i2s half sample rate issue 2024-10-24 14:32:06 +08:00
Song Ruo Jing
5a0eb906da fix(ppa): fix a few minor issues for ppa srm and blend driver
1. The smallest scale size can be 1/16, not 1/15
2. Fix potential heap corruption if scale to a smaller size (OOB)
3. Fix mismatching writeback and invalidate data size if in_bg/fg_buffer and out_buffer
are the same one and L2 cacheline size is larger than L1 cacheline size
2024-10-23 18:39:03 +08:00
Song Ruo Jing
16476a7a59 fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process 2024-10-23 18:01:50 +08:00
wuzhenghui
855bba0582
feat(esp_hw_support): support power down PSRAM or Flash during sleep for esp32p4 v1.0 2024-10-23 16:03:39 +08:00
morris
df00c22439 Merge branch 'bugfix/fix_batch_of_i2c_issue_v5.3' into 'release/v5.3'
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout...etc.4MR (backport v5.3)

See merge request espressif/esp-idf!33475
2024-09-13 15:49:39 +08:00
morris
5589d8cbf4 Merge branch 'feat/flash_32bit_support_p4_v5.3' into 'release/v5.3'
feature(spi_flash): Add 32bit address support for esp32p4 eco1 (backport v5.3)

See merge request espressif/esp-idf!31262
2024-09-12 11:45:14 +08:00
C.S.M
7be3141195 fix(i2c): Fix the i2c sda/scl force out register value on some esp chips 2024-09-12 11:21:10 +08:00
C.S.M
189db78bec fix(i2c): Fix possible error state in clear the bus,
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-12 11:21:08 +08:00
C.S.M
deb91c7abe fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-09-12 11:20:46 +08:00
morris
4a3ca7f97f Merge branch 'feat/i80_lcd_esp32p4_v5.3' into 'release/v5.3'
Add i80 LCD support on ESP32P4 (v5.3)

See merge request espressif/esp-idf!33293
2024-09-09 11:33:30 +08:00
Jiang Jiang Jian
d3b1b54f72 Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure_v5.3' into 'release/v5.3'
fix(esp_hw_support): support esp32p4 psram sleep retention (v5.3)

See merge request espressif/esp-idf!32598
2024-09-05 13:46:07 +08:00
morris
412f1f5991 Merge branch 'feat/usb_ls_p4_backport_v5.3' into 'release/v5.3'
Fix USB Low-Speed devices on ESP32-P4 backport v5.3

See merge request espressif/esp-idf!33268
2024-09-05 10:41:16 +08:00
wuzhenghui
2c68d03182
feat(esp_hw_support): support esp32p4 psram retention 2024-09-04 16:41:35 +08:00
morris
212973cca3 Merge branch 'refactor/gptimer_sleep_retention_v5.3' into 'release/v5.3'
Fix gptimer auto reload configuration being overwritten by regdma (v5.3)

See merge request espressif/esp-idf!32729
2024-09-04 12:08:05 +08:00
morris
03df9a2df2 feat(lcd): support i80 lcd driver on esp32p4 2024-09-04 11:39:55 +08:00
morris
29b43f3f1a Merge branch 'feat/ldo_channel_reserve_v5.3' into 'release/v5.3'
feat(ldo): reserve the LDO1 and LDO2 (v5.3)

See merge request espressif/esp-idf!32836
2024-09-04 11:28:28 +08:00
Tomas Rezucha
8e27a0fb25 refactor(usb/host): Move P4 HS PHY function to correct LL file
Moved usb_wrap_ll_enable_precise_detection() in usb_wrap_ll.h
to usb_utmi_ll_enable_precise_detection() in usb_utmi_ll.h

Fixes commit 97d30e7c48bfedec59a03ccebb7bc203ba86e126
2024-09-03 08:11:15 +02:00
Tomas Rezucha
3f1d59d6bb fix(usb/host): Fix USB Low Speed devices connection on P4
P4 USB UTMI PHY was updated to specification v2.0
2024-09-03 08:11:07 +02:00
Aditya Patwardhan
aa754d40b8
fix(security): Fixed flash encryption for esp32p4
The flash encryption on esp32p4 was broken due to code related
    to key manager not being executed when key manager support was
    disabled on esp32p4 target.
    This commit fixes that behaviour
    Additionally, the atomic env enablement for
    key_mgr_ll_enable_peripheral_clock was fixed.
2024-09-02 13:28:30 +05:30
morris
479c835d1a feat(ldo): add config to let hardware control the ldo output
If LDO1 is used by spi flash, then we recommend to give the ownership to
the hardware. Software just read the parameters from the efuse and set
to PMU.
2024-08-14 10:25:04 +08:00
morris
998cd5e1f7 refactor(gptimer): sleep retention code clean up 2024-08-09 18:15:32 +08:00
morris
7e7f388392 change(wdt): create wdt_periph.c in soc component 2024-08-09 18:12:25 +08:00
morris
21147cd7f5 Merge branch 'feat/gpspi_flash_support_v5.3' into 'release/v5.3'
fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4(backport v5.3)

See merge request espressif/esp-idf!32522
2024-08-05 17:13:53 +08:00
C.S.M
5b8da6f327 fix(spi_flash): Add external flash support on esp32c6,esp32h2,esp32p4 2024-08-05 11:47:55 +08:00
C.S.M
a4fbcae397 feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-08-01 18:12:51 +08:00
gaoxu
4b665425a2 fix(gpio): correct usb dp gpio pullup disable function v5.3 2024-08-01 10:50:58 +08:00
morris
e566ffffcb Merge branch 'feature/support_uart_sleep_retention_v5.3' into 'release/v5.3'
feat(uart): support uart module sleep retention (v5.3)

See merge request espressif/esp-idf!32464
2024-07-31 22:07:59 +08:00
morris
fe810983c4 Merge branch 'feature/support_isp_ccm_v5.3' into 'release/v5.3'
feat(isp_ccm): support isp color correction matrix (v5.3)

See merge request espressif/esp-idf!31608
2024-07-31 18:59:44 +08:00
Song Ruo Jing
8b8bb72ad4 feat(uart): support uart module sleep retention on c6/h2/p4 2024-07-31 15:15:11 +08:00