Re: [PATCH 07/10] ARM: dts: arm: Fix SP805 clocks

From
Linus Walleij <hidden>
Date
2020-08-28 14:45:36
Also in
linux-watchdog, lkml
Reply to
Andre Przywara, 2020-08-28
On Fri, Aug 28, 2020 at 3:06 PM Andre Przywara [off-list ref] wrote:
The SP805 binding sets the name for the actual watchdog clock to
"wdog_clk" (with an underscore).

Change the name in the DTs for ARM Ltd. platforms to match that. The
Linux and U-Boot driver use the *first* clock for this purpose anyway,
so it does not break anything.

For MPS2 we only specify one clock so far, but the binding requires
two clocks to be named.

In practice, Linux would pick a clock named "apb_pclk" for the bus
clock, and the Linux and U-Boot SP805 driver would use the first clock
to derive the actual watchdog counter frequency. So since currently both
are the very same clock, we can just double the clock reference, and add
the correct clock-names, to match the binding.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Thread (35 messages) 35 messages, 8 authors, last reply 2020-09-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help