Revert "watchdog: adi_wdt: get SEC fault source ID from DT" and Introduce v2 - #140
Open
ozan956 wants to merge 2 commits into
Open
Revert "watchdog: adi_wdt: get SEC fault source ID from DT" and Introduce v2#140ozan956 wants to merge 2 commits into
ozan956 wants to merge 2 commits into
Conversation
This reverts commit ebfefb8.
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
force-pushed
the
revert-wdt-introduce-v2
branch
from
August 7, 2026 08:34
ebe3ed6 to
6ddc687
Compare
Member
Author
|
Just updated link to lore. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://lists.u-boot-project.org/pipermail/u-boot/2026-July/626929.html