Skip to content

Watchdog support for Armada 375/38x SoC

Sebastian Hesselbarth linux-arm-kernel linux-devicetree linux-watchdog 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 9 patches 0 repliesNew

Patches in v4 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSebastian Hesselbarth
SeriesT-b

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

Read the v4 thread

Cover letter [PATCH v4 0/9] Watchdog support for Armada 375/38x SoC
Quoted 12 lines · Ezequiel Garcia

Fourth round of the patchset adding support for watchdog on Armada 375 and Armada 38x SoCs.

The new Armada 375/385 SoCs have two registers for the watchdog RSTOUT:

1. It has a dedicated register (similar to the one in A370/XP)
2. Also has a bit in a shared RSTOUT register.

Therefore, in order to support this two-folded RSTOUT, we extend the 'reg' property in the watchdog devicetree and require a new pair of cells to specify the shared RSTOUT.

Quoted 7 lines

On the driver side, we need to implement per-SoC stop() and enabled() functions. Such somewhat complex infrastructure is needed to ensure the driver performs proper reset of the watchdog timer, by masking and disabling the RSTOUT before the interrupt is enabled.

I've pushed a branch so people can test this easily, e.g. ensuring no regressions on Dove, Kirkwood and A370/XP:

Ezequiel,

Although, I just saw below that you actually already tested on Dove, you can add my

Quoted 4 lines

https://github.com/MISL-EBU-System-SW/mainline-public/tree/wdt_a385_a375_v4

Series based on today's mvebu for-next. Will send a rebased version on top of v3.15-rc1. Tested on A375-DB, A385-DB, A370-RD and Dove Cubox.

Sebastian