Searched +full:sun4i +full:- +full:a10 +full:- +full:osc +full:- +full:clk (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.03 ---4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Allwinner A10 Gateable Oscillator Clock10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>16 "#clock-cells":20 const: allwinner,sun4i-a10-osc-clk25 clock-frequency:[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later8 #include <linux/clk-provider.h>19 struct clk *clk; in sun4i_osc_clk_setup() local22 const char *clk_name = node->name; in sun4i_osc_clk_setup()25 if (of_property_read_u32(node, "clock-frequency", &rate)) in sun4i_osc_clk_setup()28 /* allocate fixed-rate and gate clock structs */ in sun4i_osc_clk_setup()36 of_property_read_string(node, "clock-output-names", &clk_name); in sun4i_osc_clk_setup()39 gate->reg = of_iomap(node, 0); in sun4i_osc_clk_setup()40 gate->bit_idx = SUNXI_OSC24M_GATE; in sun4i_osc_clk_setup()41 gate->lock = &hosc_lock; in sun4i_osc_clk_setup()[all …]