Searched +full:sun9i +full:- +full:a80 +full:- +full:apb0 +full:- +full:clk (Results 1 – 6 of 6) sorted by relevance
/linux/Documentation/devicetree/bindings/clock/ |
H A D | allwinner,sun9i-a80-apb0-clk.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-apb0-clk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A80 APB0 Bus Clock 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 "#clock-cells": 21 - allwinner,sun9i-a80-apb0-clk 22 - allwinner,sun9i-a80-apb1-clk [all …]
|
H A D | allwinner,sun4i-a10-gates-clk.yaml | 1 # 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# 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 26 - const: allwinner,sun4i-a10-ahb-gates-clk [all …]
|
/linux/drivers/clk/sunxi/ |
H A D | clk-simple-gates.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 8 #include <linux/clk.h> 9 #include <linux/clk-provider.h> 41 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup() 42 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup() 44 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup() 45 if (!clk_data->clks) in sunxi_simple_gates_setup() 48 of_property_for_each_u32(node, "clock-indices", index) { in sunxi_simple_gates_setup() 49 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup() [all …]
|
H A D | clk-sun9i-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2014 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 8 #include <linux/clk.h> 9 #include <linux/clk-provider.h> 14 #include "clk-factors.h" 18 * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4 33 n = DIV_ROUND_UP(req->rate, 6000000); in sun9i_a80_get_pll4_factors() 53 req->rate = ((24000000 * n) >> p) / (m + 1); in sun9i_a80_get_pll4_factors() 54 req->n = n; in sun9i_a80_get_pll4_factors() [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> 52 #include <dt-bindings/reset/sun9i-a80-usb.h> [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun9i-a80.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved. 6 #include <linux/clk-provider.h> 21 #include "ccu-sun9i-a80.h" 28 * Neither mainline Linux, U-boot, nor the vendor BSPs use these. 43 .hw.init = CLK_HW_INIT("pll-c0cpux", "osc24M", 57 .hw.init = CLK_HW_INIT("pll-c1cpux", "osc24M", 79 .hw.init = CLK_HW_INIT("pll-audio", "osc24M", 95 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M", 111 .hw.init = CLK_HW_INIT("pll-ve", "osc24M", [all …]
|