Skip to content
Commit 2d6b4f33 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai
Browse files

clk: Add CLK_HW_INIT_FW_NAME macro using .fw_name in .parent_data



With the new clk parenting code, clk_init_data was expanded to include
.parent_data, for clk drivers that have parents referenced using a
combination of device tree clock-names, clock indices, and/or clk_hw
pointers.

Add a CLK_HW_INIT macro for specifying a single parent from the device
tree using .fw_name in struct clk_parent_data.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 99600fd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment