Stephen Boyd ff25881713 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]
2020-01-07 23:08:02 -08:00
..
2019-10-17 16:36:11 +02:00
2019-05-30 16:33:37 -07:00
2019-05-16 09:19:14 -07:00
2019-10-03 10:51:11 -07:00
2018-12-11 09:57:47 -08:00
2018-07-06 13:44:06 -07:00
2019-07-15 20:18:40 -07:00
2019-12-05 11:38:40 -08:00