Skip to content

watchdog: sama5d4_wdt: Fix WDDIS handling for SAM9X60 and SAMA7G5

Balakrishnan Sambath linux-arm-kernel linux-watchdog lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesIn review

Changes in v2 from the cover letter

- Reorder patches: fix first, documentation second
- Drop patch 3/3, not needed with wddis_mask approach
- Keep AT91_SAM9X60_* register names, drop _LEGACY/_MODERN naming
- Limit header changes to WDDIS comments and datasheet references

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5drivers/watchdog/sama5d4_wdt.c+21 -271 reply
2/2watchdog: at91sam9_wdt.h: Document WDDIS bit position per SoC familydrivers/watchdog/at91sam9_wdt.h+4 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexandre BelloniGuenter Roeck
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] watchdog: sama5d4_wdt: Fix WDDIS handling for SAM9X60 and SAMA7G5

The sama5d4_wdt driver hardcodes AT91_WDT_WDDIS (bit 15) for WDDIS detection, which is incorrect for SAM9X60 and SAMA7G5 that use bit 12 (AT91_SAM9X60_WDDIS). This series fixes the detection by introducing a per-device wddis_mask and documents the bit position difference in the header.

Changes in v2:
- Reorder patches: fix first, documentation second
- Drop patch 3/3, not needed with wddis_mask approach
- Keep AT91_SAM9X60_* register names, drop _LEGACY/_MODERN naming
- Limit header changes to WDDIS comments and datasheet references

Balakrishnan Sambath (2):
watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5
watchdog: at91sam9_wdt.h: Document WDDIS bit position per SoC family

 drivers/watchdog/at91sam9_wdt.h |  6 +++--
 drivers/watchdog/sama5d4_wdt.c  | 48 +++++++++++++++------------------
 2 files changed, 25 insertions(+), 29 deletions(-)
Signature · 1 line
2.34.1