clk: fixed-factor: Add CLK_FIXED_FACTOR_FW_NAME for DT clock-names parent
authorChen-Yu Tsai <wens@csie.org>
Fri, 3 May 2019 03:58:20 +0000 (11:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 18 Jun 2019 11:39:00 +0000 (19:39 +0800)
commit8b13a48b891c7c855e9f3a401d91391a946f4ca7
tree8f5a9d001ed69b71bb80310274f005fb5a522a46
parent1bef004e2680511ecbb6b5db3954fba430501ecb
clk: fixed-factor: Add CLK_FIXED_FACTOR_FW_NAME for DT clock-names parent

With the new clk parenting code, clk_init_data was expanded to include
.parent_data, for clk drivers to specify parents using a combination of
device tree clock-names, pointers to struct clk_hw, device tree clocks,
and/or fallback global clock names.

Add a new macro, CLK_FIXED_FACTOR_FW_NAME, that takes a string to match
a clock-names entry in the device tree to specify the clock parent.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
include/linux/clk-provider.h