diff options
| author | Balakrishnan Sambath <balakrishnan.s@microchip.com> | 2026-03-02 17:03:09 +0530 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-05-03 08:50:12 -0700 |
| commit | e8bc610b14a99d24b0916635102cc52ba41def9b (patch) | |
| tree | 989ee03198cd6de4444e81256b76260f2af4157f /scripts/patch-kernel | |
| parent | ca316e145c35d59bf1c0b48ff4e38091e19b80a8 (diff) | |
watchdog: sama5d4_wdt: Fix WDDIS detection on SAM9X60 and SAMA7G5
The driver hardcoded AT91_WDT_WDDIS (bit 15) in wdt_enabled and the
probe initial state readout. SAM9X60 and SAMA7G5 use bit 12
(AT91_SAM9X60_WDDIS), causing incorrect WDDIS detection.
Introduce a per-device wddis_mask field to select the correct WDDIS
bit based on the compatible string.
Fixes: 266da53c35fc ("watchdog: sama5d4: readout initial state")
Co-developed-by: Andrei Simion <andrei.simion@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20260302113310.133989-2-balakrishnan.s@microchip.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
