Allow setting a local parent name for the provider that is registering the clk. This is done in Linux, too.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de> --- include/linux/clk.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/clk.h b/include/linux/clk.h index f2c02c9eec8fca9702176d0265eecc3620e74fdb..f893d9071371340366b118b506e597195d3f1d58 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -352,11 +352,13 @@ struct clk_ops { /** * struct clk_parent_data - clk parent information * @hw: parent clk_hw pointer (used for clk providers with internal clks) + * @fw_name: parent name local to provider registering clk * @name: globally unique parent name (used as a fallback) * @index: parent index local to provider registering clk (if @fw_name absent) */ struct clk_parent_data { const struct clk_hw *hw; + const char *fw_name; const char *name; int index; }; -- 2.46.0