]> git.baikalelectronics.ru Git - uboot.git/commit
clk: fixed_rate: add API for directly registering fixed rate clocks
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Jun 2021 08:45:06 +0000 (11:45 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 11:04:52 +0000 (16:34 +0530)
commit3e72ee1ddc8daf39b6a32fed97393f71fe7ffed3
treea0cfed0c599b277aa4555a281d1985d939197cd1
parentad535f9f67ebd1df99f7cbe01c7914ebe9a17dbb
clk: fixed_rate: add API for directly registering fixed rate clocks

Current driver only supports registering fixed rate clocks from DT. Add
new API which makes it possible to register fixed rate clocks directly
from e.g. platform specific clock drivers.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tero Kristo <kristo@kernel.org>
drivers/clk/clk_fixed_rate.c
include/linux/clk-provider.h