Skip to content

Revert "watchdog: adi_wdt: get SEC fault source ID from DT" and Introduce v2 - #140

Open
ozan956 wants to merge 2 commits into
adi-u-boot-2025.10.yfrom
revert-wdt-introduce-v2
Open

Revert "watchdog: adi_wdt: get SEC fault source ID from DT" and Introduce v2#140
ozan956 wants to merge 2 commits into
adi-u-boot-2025.10.yfrom
revert-wdt-introduce-v2

Conversation

@ozan956

@ozan956 ozan956 commented Aug 3, 2026

Copy link
Copy Markdown
Member

@ozan956
ozan956 requested a review from pamolloy August 3, 2026 19:03
@ozan956 ozan956 self-assigned this Aug 3, 2026
@ozan956 ozan956 added this to ADSP Aug 3, 2026
@ozan956 ozan956 moved this to Mainlining in ADSP Aug 3, 2026
@pamolloy pamolloy added the sc846 Support for the ADSP-SC846 label Aug 3, 2026
ozan956 and others added 2 commits August 7, 2026 10:33
The ADI watchdog drives a reset through a Security (SEC) controller
fault source. The source index was hardcoded to 3 in adi_wdt_start(),
which is only correct for the SC5xx parts that happen to use that
index; other ADI SoCs map WDOG0 to a different SEC fault source.

Read the index from a new "adi,secid" device tree property so boards
that route the watchdog fault to a different SEC source can configure
it. The property is required; if it is absent the driver prints a
diagnostic and fails to probe, which makes a stale device tree from
before this change easy to spot.

Set adi,secid = <3> in the SC57x, SC58x, SC594 and SC598 device trees
to match the value they relied on before.

Link: https://lore.kernel.org/u-boot/20260730190256.114708-1-ozndrgt@gmail.com/
Co-developed-by: Ozan Durgut <ozan.durgut@analog.com>
Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
@ozan956
ozan956 force-pushed the revert-wdt-introduce-v2 branch from ebe3ed6 to 6ddc687 Compare August 7, 2026 08:34
@ozan956

ozan956 commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

Just updated link to lore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sc846 Support for the ADSP-SC846

Projects

Status: Mainlining

Development

Successfully merging this pull request may close these issues.

3 participants