Searched +full:sun4i +full:- +full:a10 +full:- +full:apb0 +full:- +full:gates +full:- +full:clk (Results 1 – 17 of 17) sorted by relevance
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/ |
| D | sunxi.txt | 1 Device Tree Clock bindings for arch-sunxi 5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - compatible : shall be one of the following: 9 "allwinner,sun4i-a10-osc-clk" - for a gatable oscillator 10 "allwinner,sun4i-a10-pll1-clk" - for the main PLL clock and PLL4 11 "allwinner,sun6i-a31-pll1-clk" - for the main PLL clock on A31 12 "allwinner,sun8i-a23-pll1-clk" - for the main PLL clock on A23 13 "allwinner,sun4i-a10-pll3-clk" - for the video PLL clock on A10 14 "allwinner,sun9i-a80-pll4-clk" - for the peripheral PLLs on A80 15 "allwinner,sun4i-a10-pll5-clk" - for the PLL5 clock [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| 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# 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 …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi/ |
| 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> 43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup() 44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup() 46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup() 47 if (!clk_data->clks) in sunxi_simple_gates_setup() 50 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup() 51 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for sunxi specific clk 6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o 8 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sunxi.o 9 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-codec.o 10 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-hosc.o 11 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-mod1.o 12 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-pll2.o 13 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-ve.o 14 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a20-gmac.o [all …]
|
| D | clk-sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/clk.h> 9 #include <linux/clk-provider.h> 14 #include <linux/reset-controller.h> 19 #include "clk-factors.h" 27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1 38 div = req->rate / 6000000; in sun4i_get_pll1_factors() 39 req->rate = 6000000 * div; in sun4i_get_pll1_factors() 42 req->m = 0; in sun4i_get_pll1_factors() 45 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors() [all …]
|
| /kernel/linux/linux-4.19/drivers/clk/sunxi/ |
| D | clk-simple-gates.c | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 17 #include <linux/clk.h> 18 #include <linux/clk-provider.h> 51 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup() 52 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup() 54 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup() 55 if (!clk_data->clks) in sunxi_simple_gates_setup() 58 of_property_for_each_u32(node, "clock-indices", prop, p, index) { in sunxi_simple_gates_setup() 59 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup() 65 clk_data->clks[index] = clk_register_gate(NULL, clk_name, in sunxi_simple_gates_setup() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for sunxi specific clk 6 obj-y += clk-sunxi.o clk-factors.o 7 obj-y += clk-a10-codec.o 8 obj-y += clk-a10-hosc.o 9 obj-y += clk-a10-mod1.o 10 obj-y += clk-a10-pll2.o 11 obj-y += clk-a10-ve.o 12 obj-y += clk-a20-gmac.o 13 obj-y += clk-mod0.o [all …]
|
| D | clk-sunxi.c | 17 #include <linux/clk.h> 18 #include <linux/clk-provider.h> 22 #include <linux/reset-controller.h> 27 #include "clk-factors.h" 35 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1 46 div = req->rate / 6000000; in sun4i_get_pll1_factors() 47 req->rate = 6000000 * div; in sun4i_get_pll1_factors() 50 req->m = 0; in sun4i_get_pll1_factors() 53 if (req->rate >= 768000000 || req->rate == 42000000 || in sun4i_get_pll1_factors() 54 req->rate == 54000000) in sun4i_get_pll1_factors() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | allwinner,sun6i-a31-prcm.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun6i-a31-prcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 17 const: allwinner,sun6i-a31-prcm 23 "^.*_(clk|rst)$": 29 - allwinner,sun4i-a10-mod0-clk 30 - allwinner,sun6i-a31-apb0-clk [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | sun6i-prcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 68 .name = "sun6i-a31-ar100-clk", 69 .of_compatible = "allwinner,sun6i-a31-ar100-clk", 74 .name = "sun6i-a31-apb0-clk", 75 .of_compatible = "allwinner,sun6i-a31-apb0-clk", 80 .name = "sun6i-a31-apb0-gates-clk", 81 .of_compatible = "allwinner,sun6i-a31-apb0-gates-clk", 86 .name = "sun6i-a31-ir-clk", 87 .of_compatible = "allwinner,sun4i-a10-mod0-clk", [all …]
|
| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | sun6i-prcm.c | 5 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 69 .name = "sun6i-a31-ar100-clk", 70 .of_compatible = "allwinner,sun6i-a31-ar100-clk", 75 .name = "sun6i-a31-apb0-clk", 76 .of_compatible = "allwinner,sun6i-a31-apb0-clk", 81 .name = "sun6i-a31-apb0-gates-clk", 82 .of_compatible = "allwinner,sun6i-a31-apb0-gates-clk", 87 .name = "sun6i-a31-ir-clk", 88 .of_compatible = "allwinner,sun4i-a10-mod0-clk", 93 .name = "sun6i-a31-apb0-clock-reset", [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | sun8i-a23-a33.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 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h> 50 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h> 53 interrupt-parent = <&gic>; 56 #address-cells = <1>; 57 #size-cells = <1>; 61 compatible = "allwinner,simple-framebuffer", [all …]
|
| D | sun6i-a31.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 50 #include <dt-bindings/clock/sun6i-a31-ccu.h> 51 #include <dt-bindings/reset/sun6i-a31-ccu.h> 54 interrupt-parent = <&gic>; 61 #address-cells = <1>; 62 #size-cells = <1>; 66 compatible = "allwinner,simple-framebuffer", [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun6i-a31.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/thermal/thermal.h> 48 #include <dt-bindings/clock/sun6i-a31-ccu.h> 49 #include <dt-bindings/reset/sun6i-a31-ccu.h> 52 interrupt-parent = <&gic>; 53 #address-cells = <1>; 54 #size-cells = <1>; 61 #address-cells = <1>; [all …]
|
| D | sun8i-a23-a33.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/sun8i-a23-a33-ccu.h> 48 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h> 51 interrupt-parent = <&gic>; 52 #address-cells = <1>; 53 #size-cells = <1>; 56 #address-cells = <1>; [all …]
|
| 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 …]
|