Home
last modified time | relevance | path

Searched +full:sun8i +full:- +full:h3 +full:- +full:bus +full:- +full:gates +full:- +full:clk (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun8i-h3-bus-gates-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun8i-h3-bus-gates-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Bus Gates Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
23 const: allwinner,sun8i-h3-bus-gates-clk
31 clock-names:
[all …]
Dallwinner,sun4i-a10-gates-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-gates-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Bus Gates Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
24 - const: allwinner,sun4i-a10-gates-clk
25 - const: allwinner,sun4i-a10-axi-gates-clk
[all …]
/Linux-v5.10/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Based on clk-simple-gates.c, which is:
8 * Maxime Ripard <maxime.ripard@free-electrons.com>
11 #include <linux/clk-provider.h>
41 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init()
53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
54 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
56 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sun8i_h3_bus_gates_init()
57 if (!clk_data->clks) in sun8i_h3_bus_gates_init()
61 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sun8i_h3_bus_gates_init()
[all …]