diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-08-30 17:09:23 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-01-08 08:08:02 +0100 |
commit | ff258817137a9004e2fbee2b36df58a4fc7d0f7e (patch) | |
tree | b1828fd6ca545272c481944693f6328915c131d5 /include/dt-bindings | |
parent | clk: gate: Add support for specifying parents via DT/pointers (diff) | |
download | linux-ff258817137a9004e2fbee2b36df58a4fc7d0f7e.tar.xz linux-ff258817137a9004e2fbee2b36df58a4fc7d0f7e.zip |
clk: divider: 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 divider 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-13-sboyd@kernel.org
[sboyd@kernel.org: Export __clk_hw_register_divider]
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions