clk: introduce (devm_)hw_register_mux_parent_data_table API
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 14 Sep 2022 14:47:42 +0000 (16:47 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 4 Oct 2022 03:49:33 +0000 (20:49 -0700)
commitd7915651fe9a6474e06161c34c637e6aeb811e9d
treeabae0e170442a1d77ea55f0e76f84c22a2d00140
parent8f2fcac809be13c433ae188f0e9f3f05755326c5
clk: introduce (devm_)hw_register_mux_parent_data_table API

Introduce (devm_)hw_register_mux_parent_data_table new API. We have
basic support for clk_register_mux using parent_data but we lack any API
to provide a custom parent_map. Add these 2 new API to correctly handle
these special configuration instead of using the generic
__(devm_)clk_hw_register_mux API.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20220914144743.17369-1-ansuelsmth@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/linux/clk-provider.h