meson8b: add the CPU_DIV16 clock for the ARM TWD
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] meson8b: add the CPU_DIV16 clock for the ARM TWD
Quoted 17 lines · Martin Blumenstingl
Carlo sent a .dts patch for the ARM TWD (timer watchdog) a long time
ago: [0]
This patch was never applied. While resurrecting it I found out (by trial and error) that the TWD clock is derived from the CPU clock by dividing the existing CPU clock by 16.
An additional hint was also given by Neil's clock measurer patch [1] as the GX SoCs explicitly define a "sys_cpu_div16" clock with ID 18, however old u-boot seems to call thatCTS_LED_PLL_CLK. The rate of this clock also matches CPU clock divided by 16 on my boards.It's not clear if there is an additional gate for this clock. If there is then it's not documented anywhere.
[0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/391928.html
[1] https://patchwork.kernel.org/patch/10504083/
Quoted 9 lines
Martin Blumenstingl (2):
dt-bindings: clock: meson8b: export theCPU_DIV16clock
clk: meson: meson8b: add theCPU_DIV16clockdrivers/clk/meson/meson8b.c | 12 ++++++++++++ drivers/clk/meson/meson8b.h | 2 +- include/dt-bindings/clock/meson8b-clkc.h | 1 + 3 files changed, 14 insertions(+), 1 deletion(-)
Queued for 4.20
Thx