Lines Matching +full:clock +full:- +full:mult
2 * TI Fixed Factor Clock
6 * Tero Kristo <t-kristo@ti.com>
18 #include <linux/clk-provider.h>
25 #include "clock.h"
31 * of_ti_fixed_factor_clk_setup - Setup function for TI fixed factor clock
32 * @node: device node for this clock
34 * Sets up a simple fixed factor clock based on device tree info.
39 const char *clk_name = node->name; in of_ti_fixed_factor_clk_setup()
41 u32 div, mult; in of_ti_fixed_factor_clk_setup() local
44 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup()
45 pr_err("%pOFn must have a clock-div property\n", node); in of_ti_fixed_factor_clk_setup()
49 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup()
50 pr_err("%pOFn must have a clock-mult property\n", node); in of_ti_fixed_factor_clk_setup()
54 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_ti_fixed_factor_clk_setup()
60 mult, div); in of_ti_fixed_factor_clk_setup()
68 CLK_OF_DECLARE(ti_fixed_factor_clk, "ti,fixed-factor-clock",