watchdog: sama5d4_wdt: Fix WDDIS handling for SAM9X60 and SAMA7G5
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5drivers/ | +21 | 1 reply | |
| 2/2 | watchdog: at91sam9_wdt.h: Document WDDIS bit position per SoC familydrivers/ | +4 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alexandre Belloni | Guenter Roeck |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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