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)
commitfc960cb6fb94c77d1245e7f39b49d7278f480d62
treea0cfed0c599b277aa4555a281d1985d939197cd1
parent481d394e77915201e4ecc2d98e9cc2fbc3224991
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