[PATCH 00/11] watchdog: Consolidate FTWDT010 derivatives
From: Linus Walleij <hidden>
Date: 2017-08-14 12:31:35
Also in:
linux-watchdog
On Mon, Aug 14, 2017 at 3:24 AM, Joel Stanley [off-list ref] wrote:
On Sun, Aug 13, 2017 at 4:13 AM, Linus Walleij [off-list ref] wrote:quoted
The MOXA ART and Aspeed watchdogs are clearly based on the Faraday Technology FTWDT010 IP block.They have a similar register interface, but I'm told they are not the same IP.
They are too similar to not be related somehow. I guess it is one of those Shanzhai-mindset things where IP VHDL or Verilog code is being copied around at silicon foundries in Asia and turn up in different chips "independently" of each other. It doesn't really matter if they "are" the same (as in: silicon vendor admits that they are), if it walks like a duck, act and talks like a duck, it is a duck. And we use the same driver.
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.
Hm I was not aware, need to read up on it.
Andrew was working on that, I'll let him follow up on the details. 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).
"PCLK" is just short for "peripheral block", just like other such shorthands like "APB" (AMBA peripheral bridge clock). It's a generic term. Preferrably it should use the name from the IP vendor, but when in conflict about names, it's too much trouble to use different names IMO so I think "PCLK" is just fine. Yours, Linus Walleij