summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-devres.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-08-30 08:09:17 -0700
committerStephen Boyd <sboyd@kernel.org>2020-01-05 13:35:12 -0800
commit2d34f09e79c9e96e9b748b320b9b0fa3d5e6b553 (patch)
tree1953474bfeb2b323d041a12bd002cc0286bc5783 /drivers/clk/clk-devres.c
parent32205b75414e530dc6c95ac39f70ef8e194327e0 (diff)
downloadlinux-2d34f09e79c9e96e9b748b320b9b0fa3d5e6b553.tar.gz
linux-2d34f09e79c9e96e9b748b320b9b0fa3d5e6b553.tar.bz2
linux-2d34f09e79c9e96e9b748b320b9b0fa3d5e6b553.zip
clk: fixed-rate: Add support for specifying parents via DT/pointers
After commit fc0c209c147f ("clk: Allow parents to be specified without string names") we can use DT or direct clk_hw pointers to specify parents. Create a generic function that shouldn't be used very often to encode the multitude of ways of registering a fixed rate clk with different parent information. Then add a bunch of wrapper macros that only pass down what needs to be passed down to the generic function to support this with less arguments. Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20190830150923.259497-7-sboyd@kernel.org
Diffstat (limited to 'drivers/clk/clk-devres.c')
0 files changed, 0 insertions, 0 deletions