Skip to content

Conversation

@hfakkiz
Copy link
Contributor

@hfakkiz hfakkiz commented May 9, 2025

This PR extends peripheral support for MAX32650 SoC and boards by enabling DMA, SPI, I2C, Watchdog, RTC Counter and Timer peripherals. It also enables tests of these peripheral drivers for MAX32650 boards.

Signed-off-by: Furkan Akkiz hasanfurkan.akkiz@analog.com
Signed-off-by: Burak Babaoglu burak.babaoglu@analog.com

@github-actions
Copy link

github-actions bot commented May 9, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_adi zephyrproject-rtos/hal_adi@8f33130 zephyrproject-rtos/hal_adi@ad4165c zephyrproject-rtos/hal_adi@8f33130d..ad4165cf

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_adi DNM (manifest) This PR should not be merged (controlled by action-manifest) labels May 9, 2025
@hfakkiz hfakkiz marked this pull request as ready for review May 9, 2025 07:22
@github-actions github-actions bot added area: DMA Direct Memory Access platform: ADI Analog Devices, Inc. area: I2C area: SPI SPI bus area: Watchdog Watchdog area: Counter labels May 9, 2025
west.yml Outdated
- fs
- name: hal_adi
revision: 8f33130dc5fe33ce14eb1cf29364bfc39dc82020
revision: pull/23/head
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HAL PR was merged

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated revision, thanks.

hfakkiz and others added 6 commits May 13, 2025 14:26
This commit updates 'hal_adi' module's revision to get MAX32650
developments.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit applies clang-format changes for MAX32 SPI driver.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commits changes a macro name to enable SPI support for MAX32650
SoC.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit changes clock property of watchdog to optional and updates
driver according to this change.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
This commit adds new wrapper functions into driver to handle
differences of MAX32650 SoC.

Signed-off-by: Burak Babaoglu <burak.babaoglu@analog.com>
This commit adds following updates to MAX32650 SoC:
- Divide SRAM to sections according to UG.
- Add DMA and SPI nodes
- Add WDT nodes without adding clock property
- Include dma binding to SoC dts file.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Burak Babaoglu <burak.babaoglu@analog.com>
hfakkiz added 2 commits May 13, 2025 14:28
This commit enables dma, i2c, spi, wdt and rtc_counter nodes for
MAX32650EVKIT and MAX32650FTHR boards.

Initial parts of the SRAM is used during the boot process, this causes
problems for some tests (e.g. tests/drivers/watchdog/wdt_basic_api).
To avoid these problems, this commit changes choosen SRAM to SRAM4.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Burak Babaoglu <burak.babaoglu@analog.com>
This commit enables following tests for MAX32650EVKIT and MAX32650FTHR:
- counter/counter_basic_api
- dma/chan_blen_transfer
- dma/loop_transfer
- i2c/i2c_target_api (only for MAX32650EVKIT)
- spi/spi_loopback

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Burak Babaoglu <burak.babaoglu@analog.com>
@hfakkiz hfakkiz force-pushed the max32650-porting branch from 02548e5 to ce4ade6 Compare May 13, 2025 11:32
@github-actions github-actions bot removed the DNM (manifest) This PR should not be merged (controlled by action-manifest) label May 13, 2025
@MaureenHelm
Copy link
Member

Closing and reopening to see if it resolves the PR metadata workflow failure.

@MaureenHelm MaureenHelm reopened this May 13, 2025
@sonarqubecloud
Copy link

@teburd teburd assigned MaureenHelm and unassigned teburd May 13, 2025
@fabiobaltieri fabiobaltieri merged commit 13a3671 into zephyrproject-rtos:main May 14, 2025
58 of 59 checks passed
@MaureenHelm MaureenHelm deleted the max32650-porting branch May 14, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants