[PATCH] arm: aspeed: Add Aspeed board file with clocksource devicetree fixup

Arnd Bergmann arnd at arndb.de
Fri Jun 9 02:19:13 PDT 2017


On Fri, Jun 9, 2017 at 9:30 AM, Andrew Jeffery <andrew at aj.id.au> wrote:
> Add the clock-names property in init_timer() to work-around Aspeed
> devicetrees from times prior to merging the Moxart/Aspeed and Faraday
> drivers.
>
> Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
> ---
> Well, here's an implementation I knocked up. It's a fair chunk of code for
> marginal benefit. Joel is against it.
>
> At least it's something to debate.
>
> Tested under QEMU for both AST2400 and AST2500 SoCs.

Right, I think having the one-line fixup in the driver makes way more sense
here, and that is what we usually do, but we could do this if Daniel has good
reasons to keep the driver free of backwards-compatibility support.

It also depends a bit on how common the old binding version already
is, and if anyone is shipping systems with that.

       Arnd



More information about the linux-arm-kernel mailing list