]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clk: fixed-rate: Add clk flags for parent accuracy
authorStephen Boyd <sboyd@kernel.org>
Fri, 30 Aug 2019 15:09:18 +0000 (08:09 -0700)
committerStephen Boyd <sboyd@kernel.org>
Tue, 7 Jan 2020 07:07:34 +0000 (23:07 -0800)
commit58f0c4ba565d91bb76e8ac2a809e99bfe75b4935
tree949c78d73b6de91d976540c9e77fe6c9174fa0de
parent2d34f09e79c9e96e9b748b320b9b0fa3d5e6b553
clk: fixed-rate: Add clk flags for parent accuracy

Some clk providers want to use the accuracy of the parent clk and use
the fixed rate basic type clk to do that. This requires getting the
parent clk and extracting the accuracy before registering the fixed rate
clk. Let's add a flag for this and update the clk_ops to support this.

Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190830150923.259497-8-sboyd@kernel.org
drivers/clk/clk-fixed-rate.c
include/linux/clk-provider.h