Searched refs:refclk_np (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpts.c | 643 struct device_node *refclk_np; in cpts_of_mux_clk_setup() local 650 refclk_np = of_get_child_by_name(node, "cpts-refclk-mux"); in cpts_of_mux_clk_setup() 651 if (!refclk_np) in cpts_of_mux_clk_setup() 655 num_parents = of_clk_get_parent_count(refclk_np); in cpts_of_mux_clk_setup() 658 refclk_np->name); in cpts_of_mux_clk_setup() 672 of_clk_parent_fill(refclk_np, parent_names, num_parents); in cpts_of_mux_clk_setup() 674 ret = of_property_read_variable_u32_array(refclk_np, "ti,mux-tbl", in cpts_of_mux_clk_setup() 680 clk_hw = clk_hw_register_mux_table(cpts->dev, refclk_np->name, in cpts_of_mux_clk_setup() 698 ret = of_clk_add_hw_provider(refclk_np, of_clk_hw_simple_get, clk_hw); in cpts_of_mux_clk_setup() 704 refclk_np); in cpts_of_mux_clk_setup() [all …]
|