Skip to content

watchdog: Consolidate FTWDT010 derivatives

Andrew Jeffery linux-arm-kernel linux-devicetree linux-watchdog 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 11 patches 0 repliesNew

2 of 11 patches are in this archive. The cover letter announces 11.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
11/11ARM: dts: Add PCLK to the Aspeed watchdogs+0 -01 reply
11/11ARM: dts: Add PCLK to the Aspeed watchdogs+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] watchdog: Consolidate FTWDT010 derivatives
Quoted 5 lines · Joel Stanley

Hi Linus,
?

Quoted 2 lines · Linus Walleij

The MOXA ART and Aspeed watchdogs are clearly based on the Faraday Technology FTWDT010 IP block.

Quoted 8 lines

?
They have a similar register interface, but I'm told they are not the same IP. ?
We've got some patches on the list that add some extra registers to the driver for the ast2500. If we decide to merge the drivers, that support will need to be included.
?
Andrew was working on that, I'll let him follow up on the details.

There are two series on the lists expanding driver support for the Aspeed watchdog, one from Chris Bostic and another from myself:

1. [PATCH v5 0/2] Add ASPEED watchdog device tree properties:

	https://lkml.org/lkml/2017/7/17/777?

2. [PATCH 0/2] watchdog: aspeed: External reset signal properties:

	https://www.spinics.net/lists/kernel/msg2570666.html?

I don't have the datasheets for either the Moxa or Faraday SoCs, so I can't assess how the support I've added for the external pulse properties on Aspeed hardware impacts/is impacted by the merge. Chris' changes on the otherhand look like they could be generalised. At least, the vendor prefix on the devicetree properties he defined could perhaps be changed from aspeed to faraday.

Cheers,

Andrew

PS: Patch 10/11 failed to apply for me against several trees, failing on the hunk for arch/arm/boot/dts/gemini.dtsi. Is there an unmentioned dependency?

Quoted 13 lines

?

Quoted 4 lines

This series consolidates the drivers into one by extending the Gemini driver to be as generic as possible, renaming it to ftwdt010_wdt and merging the two other drivers into it. ?

Quoted 8 lines

As similar approach was used for the FTTMR010 driver in the past.
?
The series ends with two patches that will be applied to the ARM SoC tree to fix up the PCLK annotations, but these are not needed to make the consolidation, patches 1-9 can be applied directly to the watchdog tree to perform the consolidation.

Quoted 10 lines

?
The clock isn't called PCLK in the Aspeed documentation (similarly for the timer, but I was too slow to speak up in that case).
?
I'm trying to find some time to write a proper clock driver so it's clear how the clocks are set out in the Aspeed.
?
Cheers,
?
Joel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170814/5e4c82bd/attachment.sig>