Lines Matching +full:interface +full:- +full:node
2 * OMAP interface clock support
6 * Tero Kristo <t-kristo@ti.com>
18 #include <linux/clk-provider.h>
46 return ERR_PTR(-ENOMEM); in _register_interface()
48 clk_hw->hw.init = &init; in _register_interface()
49 clk_hw->ops = ops; in _register_interface()
50 memcpy(&clk_hw->enable_reg, reg, sizeof(*reg)); in _register_interface()
51 clk_hw->enable_bit = bit_idx; in _register_interface()
60 clk = ti_clk_register_omap_hw(NULL, &clk_hw->hw, name); in _register_interface()
68 static void __init _of_ti_interface_clk_setup(struct device_node *node, in _of_ti_interface_clk_setup() argument
77 if (ti_clk_get_reg_addr(node, 0, ®)) in _of_ti_interface_clk_setup()
80 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in _of_ti_interface_clk_setup()
83 parent_name = of_clk_get_parent_name(node, 0); in _of_ti_interface_clk_setup()
85 pr_err("%pOFn must have a parent\n", node); in _of_ti_interface_clk_setup()
89 clk = _register_interface(NULL, node->name, parent_name, ®, in _of_ti_interface_clk_setup()
93 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _of_ti_interface_clk_setup()
96 static void __init of_ti_interface_clk_setup(struct device_node *node) in of_ti_interface_clk_setup() argument
98 _of_ti_interface_clk_setup(node, &clkhwops_iclk_wait); in of_ti_interface_clk_setup()
100 CLK_OF_DECLARE(ti_interface_clk, "ti,omap3-interface-clock",
103 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) in of_ti_no_wait_interface_clk_setup() argument
105 _of_ti_interface_clk_setup(node, &clkhwops_iclk); in of_ti_no_wait_interface_clk_setup()
107 CLK_OF_DECLARE(ti_no_wait_interface_clk, "ti,omap3-no-wait-interface-clock",
111 static void __init of_ti_hsotgusb_interface_clk_setup(struct device_node *node) in of_ti_hsotgusb_interface_clk_setup() argument
113 _of_ti_interface_clk_setup(node, in of_ti_hsotgusb_interface_clk_setup()
116 CLK_OF_DECLARE(ti_hsotgusb_interface_clk, "ti,omap3-hsotgusb-interface-clock",
119 static void __init of_ti_dss_interface_clk_setup(struct device_node *node) in of_ti_dss_interface_clk_setup() argument
121 _of_ti_interface_clk_setup(node, in of_ti_dss_interface_clk_setup()
124 CLK_OF_DECLARE(ti_dss_interface_clk, "ti,omap3-dss-interface-clock",
127 static void __init of_ti_ssi_interface_clk_setup(struct device_node *node) in of_ti_ssi_interface_clk_setup() argument
129 _of_ti_interface_clk_setup(node, &clkhwops_omap3430es2_iclk_ssi_wait); in of_ti_ssi_interface_clk_setup()
131 CLK_OF_DECLARE(ti_ssi_interface_clk, "ti,omap3-ssi-interface-clock",
134 static void __init of_ti_am35xx_interface_clk_setup(struct device_node *node) in of_ti_am35xx_interface_clk_setup() argument
136 _of_ti_interface_clk_setup(node, &clkhwops_am35xx_ipss_wait); in of_ti_am35xx_interface_clk_setup()
138 CLK_OF_DECLARE(ti_am35xx_interface_clk, "ti,am35xx-interface-clock",
143 static void __init of_ti_omap2430_interface_clk_setup(struct device_node *node) in of_ti_omap2430_interface_clk_setup() argument
145 _of_ti_interface_clk_setup(node, &clkhwops_omap2430_i2chs_wait); in of_ti_omap2430_interface_clk_setup()
147 CLK_OF_DECLARE(ti_omap2430_interface_clk, "ti,omap2430-interface-clock",