]> git.baikalelectronics.ru Git - uboot.git/commit
clk: ti: k3: Update driver to account for divider flags
authorSuman Anna <s-anna@ti.com>
Tue, 7 Sep 2021 22:16:58 +0000 (17:16 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 18:47:03 +0000 (14:47 -0400)
commit28f318fc06108a7dff8e8b4e5dfe78c82b9f7dee
treeddfdeb97acd204dc5ddc0dfbb7b10579b7396a7b
parent2c8fafd3e315dd3f8edaae869463a2ba8f6c9d3c
clk: ti: k3: Update driver to account for divider flags

The K3 SoCs have some PLL output clocks (POSTDIV clocks) which in
turn serve as inputs to other HSDIV output clocks. These clocks use
the actual value to compute the divider clock rate, and need to be
registered with the CLK_DIVIDER_ONE_BASED flags. The current k3-clk
driver and data lacks the infrastructure to pass in divider flags.
Update the driver and data to account for these divider flags.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-k3/j7200/clk-data.c
arch/arm/mach-k3/j721e/clk-data.c
drivers/clk/ti/clk-k3.c
include/k3-clk.h