Skip to content

Align ADSP SC5XX watchdog DTS and driver with Linux and enable it - #107

Open
jiez wants to merge 4 commits into
adi-u-boot-2025.10.yfrom
adsp-sc5xx-watchdog
Open

Align ADSP SC5XX watchdog DTS and driver with Linux and enable it#107
jiez wants to merge 4 commits into
adi-u-boot-2025.10.yfrom
adsp-sc5xx-watchdog

Conversation

@jiez

@jiez jiez commented Jun 24, 2026

Copy link
Copy Markdown

This PR is for aligning ADSP SC5XX watchdog DTS and driver with Linux and enabling it.

jiez added 3 commits June 23, 2026 22:15
Change compatible from "adi,wdt" to "adi,watchdog" to match the Linux
kernel driver (drivers/watchdog/adi_wdt.c).

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Enable watchdog driver in all SC5xx defconfigs.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
@jiez
jiez requested review from a team June 24, 2026 16:03
@jiez jiez self-assigned this Jun 24, 2026
@jiez jiez added this to ADSP Jun 24, 2026
Add a sec DTS node and reference RCU and SEC via adi,rcu/adi,sec
phandles, reducing the watchdog reg to only its own registers. Add
"syscon" to the compatible of RCU and SEC nodes so that
syscon_regmap_lookup_by_phandle() can resolve them. The driver uses
syscon_regmap_lookup_by_phandle() for RCU and SEC, and
regmap_init_mem() for WDT, replacing all iowrite32/ioread32 calls with
regmap_write/regmap_read. This aligns the DTS layout with Linux.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
@jiez
jiez force-pushed the adsp-sc5xx-watchdog branch from d8e0964 to 0b88d83 Compare June 24, 2026 17:54
@pamolloy pamolloy moved this to In Development in ADSP Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Development

Development

Successfully merging this pull request may close these issues.

2 participants