Skip to content

Watchdog support for Armada 375/38x SoC

Jason Cooper linux-arm-kernel 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

PatchJason Cooper
SeriesA-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 [RESEND/PATCH v4 0/9] Watchdog support for Armada 375/38x SoC
Quoted 13 lines · Ezequiel Garcia

Here's the fourth round of the patchset adding support for watchdog on Armada 375 and Armada 38x SoCs, rebased on v3.15-rc1 and with collected Tested-by's.

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.

Tested on A375-DB, A385-DB, A370-RD and Dove Cubox. Sebastian did more tests on Dove, and Jason Gunthorpe on Kirkwood.

Applied patches 7 and 8 to mvebu/dt. For the rest,

thx,

Jason.