| /kernel/linux/linux-5.10/drivers/clk/socfpga/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_ARCH_SOCFPGA) += clk.o clk-gate.o clk-pll.o clk-periph.o 3 obj-$(CONFIG_ARCH_SOCFPGA) += clk-pll-a10.o clk-periph-a10.o clk-gate-a10.o 4 obj-$(CONFIG_ARCH_STRATIX10) += clk-s10.o 5 obj-$(CONFIG_ARCH_STRATIX10) += clk-pll-s10.o clk-periph-s10.o clk-gate-s10.o 6 obj-$(CONFIG_ARCH_AGILEX) += clk-agilex.o 7 obj-$(CONFIG_ARCH_AGILEX) += clk-pll-s10.o clk-periph-s10.o clk-gate-s10.o
|
| /kernel/linux/linux-6.6/drivers/clk/socfpga/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_CLK_INTEL_SOCFPGA32) += clk.o clk-gate.o clk-pll.o clk-periph.o \ 3 clk-pll-a10.o clk-periph-a10.o clk-gate-a10.o 4 obj-$(CONFIG_CLK_INTEL_SOCFPGA64) += clk-s10.o \ 5 clk-pll-s10.o clk-periph-s10.o clk-gate-s10.o \ 6 clk-agilex.o
|
| /kernel/linux/linux-6.6/drivers/clk/tegra/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-y += clk.o 3 obj-y += clk-audio-sync.o 4 obj-y += clk-device.o 5 obj-y += clk-dfll.o 6 obj-y += clk-divider.o 7 obj-y += clk-periph.o 8 obj-y += clk-periph-fixed.o 9 obj-y += clk-periph-gate.o 10 obj-y += clk-pll.o [all …]
|
| D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <linux/clk-provider.h> 73 * struct tegra_clk_sync_source - external clock source from codec 75 * @hw: handle between common and hardware-specific interfaces 95 * struct tegra_clk_frac_div - fractional divider clock 97 * @hw: handle between common and hardware-specific interfaces 99 * @flags: hardware-specific flags 106 * TEGRA_DIVIDER_ROUND_UP - This flags indicates to round up the divider value. 107 * TEGRA_DIVIDER_FIXED - Fixed rate PLL dividers has addition override bit, this 108 * flag indicates that this divider is for fixed rate PLL. [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/tegra/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-y += clk.o 3 obj-y += clk-audio-sync.o 4 obj-y += clk-dfll.o 5 obj-y += clk-divider.o 6 obj-y += clk-periph.o 7 obj-y += clk-periph-fixed.o 8 obj-y += clk-periph-gate.o 9 obj-y += clk-pll.o 10 obj-y += clk-pll-out.o [all …]
|
| D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <linux/clk-provider.h> 73 * struct tegra_clk_sync_source - external clock source from codec 75 * @hw: handle between common and hardware-specific interfaces 95 * struct tegra_clk_frac_div - fractional divider clock 97 * @hw: handle between common and hardware-specific interfaces 99 * @flags: hardware-specific flags 106 * TEGRA_DIVIDER_ROUND_UP - This flags indicates to round up the divider value. 107 * TEGRA_DIVIDER_FIXED - Fixed rate PLL dividers has addition override bit, this 108 * flag indicates that this divider is for fixed rate PLL. [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
| D | ccu-sun4i-a10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 28 #include "ccu-sun4i-a10.h" 38 .hw.init = CLK_HW_INIT("pll-core", 46 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 48 * pll audio). 50 * With sigma-delta modulation for fractional-N on the audio PLL, 73 .hw.init = CLK_HW_INIT("pll-audio-base", 91 .hw.init = CLK_HW_INIT("pll-video0", 106 .hw.init = CLK_HW_INIT("pll-ve", [all …]
|
| D | ccu-sun8i-a23.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 25 #include "ccu-sun8i-a23-a33.h" 39 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 46 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 48 * pll audio). 50 * With sigma-delta modulation for fractional-N on the audio PLL, 64 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 74 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 86 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", [all …]
|
| D | ccu-sun8i-a33.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 24 #include "ccu-sun8i-a23-a33.h" 37 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 44 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 46 * pll audio). 48 * With sigma-delta modulation for fractional-N on the audio PLL, 62 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 72 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 84 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", [all …]
|
| D | ccu-sun8i-a83t.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. 6 #include <linux/clk-provider.h> 22 #include "ccu-sun8i-a83t.h" 29 * Neither mainline Linux, U-boot, nor the vendor BSPs use these. 44 .hw.init = CLK_HW_INIT("pll-c0cpux", "osc24M", 58 .hw.init = CLK_HW_INIT("pll-c1cpux", "osc24M", 65 * The Audio PLL has d1, d2 dividers in addition to the usual N, M 66 * factors. Since we only need 2 frequencies from this PLL: 22.5792 MHz 92 .hw.init = CLK_HW_INIT("pll-audio", "osc24M", [all …]
|
| D | ccu-sun5i.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 24 #include "ccu-sun5i.h" 34 .hw.init = CLK_HW_INIT("pll-core", 42 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 44 * pll audio). 46 * With sigma-delta modulation for fractional-N on the audio PLL, 74 .hw.init = CLK_HW_INIT("pll-audio-base", 91 .hw.init = CLK_HW_INIT("pll-video0", 106 .hw.init = CLK_HW_INIT("pll-ve", [all …]
|
| D | ccu-sun6i-a31.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 7 * Based on ccu-sun8i-h3.c by Maxime Ripard. 10 #include <linux/clk-provider.h> 30 #include "ccu-sun6i-a31.h" 32 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_cpu_clk, "pll-cpu", 42 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 44 * pll audio). 46 * With sigma-delta modulation for fractional-N on the audio PLL, [all …]
|
| D | ccu-suniv-f1c100s.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 25 #include "ccu-suniv-f1c100s.h" 39 .hw.init = CLK_HW_INIT("pll-cpu", "osc24M", 46 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 48 * pll audio). 55 static SUNXI_CCU_NM_WITH_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 63 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 75 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", 87 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr0_clk, "pll-ddr", [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
| D | ccu-sun4i-a10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 26 #include "ccu-sun4i-a10.h" 36 .hw.init = CLK_HW_INIT("pll-core", 44 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 46 * pll audio). 48 * With sigma-delta modulation for fractional-N on the audio PLL, 71 .hw.init = CLK_HW_INIT("pll-audio-base", 89 .hw.init = CLK_HW_INIT("pll-video0", 104 .hw.init = CLK_HW_INIT("pll-ve", [all …]
|
| D | ccu-sun8i-a23.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 24 #include "ccu-sun8i-a23-a33.h" 38 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 45 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 47 * pll audio). 49 * With sigma-delta modulation for fractional-N on the audio PLL, 63 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 73 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 85 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", [all …]
|
| D | ccu-sun8i-a33.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 23 #include "ccu-sun8i-a23-a33.h" 36 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 43 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 45 * pll audio). 47 * With sigma-delta modulation for fractional-N on the audio PLL, 61 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 71 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 83 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", [all …]
|
| D | ccu-sun8i-a83t.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. 6 #include <linux/clk-provider.h> 22 #include "ccu-sun8i-a83t.h" 29 * Neither mainline Linux, U-boot, nor the vendor BSPs use these. 44 .hw.init = CLK_HW_INIT("pll-c0cpux", "osc24M", 58 .hw.init = CLK_HW_INIT("pll-c1cpux", "osc24M", 65 * The Audio PLL has d1, d2 dividers in addition to the usual N, M 66 * factors. Since we only need 2 frequencies from this PLL: 22.5792 MHz 92 .hw.init = CLK_HW_INIT("pll-audio", "osc24M", [all …]
|
| D | ccu-sun5i.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 24 #include "ccu-sun5i.h" 34 .hw.init = CLK_HW_INIT("pll-core", 42 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 44 * pll audio). 46 * With sigma-delta modulation for fractional-N on the audio PLL, 74 .hw.init = CLK_HW_INIT("pll-audio-base", 91 .hw.init = CLK_HW_INIT("pll-video0", 106 .hw.init = CLK_HW_INIT("pll-ve", [all …]
|
| D | ccu-sun6i-a31.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 7 * Based on ccu-sun8i-h3.c by Maxime Ripard. 10 #include <linux/clk-provider.h> 29 #include "ccu-sun6i-a31.h" 31 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_cpu_clk, "pll-cpu", 41 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 43 * pll audio). 45 * With sigma-delta modulation for fractional-N on the audio PLL, [all …]
|
| D | ccu-suniv-f1c100s.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 24 #include "ccu-suniv-f1c100s.h" 38 .hw.init = CLK_HW_INIT("pll-cpu", "osc24M", 45 * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from 47 * pll audio). 54 static SUNXI_CCU_NM_WITH_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 62 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video", 74 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve", 86 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr0_clk, "pll-ddr", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | allwinner,sun4i-a10-ccu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ccu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#clock-cells": 17 "#reset-cells": 22 - allwinner,sun4i-a10-ccu 23 - allwinner,sun5i-a10s-ccu [all …]
|
| D | altr_socfpga.txt | 5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 8 - compatible : shall be one of the following: 9 "altr,socfpga-pll-clock" - for a PLL clock 10 "altr,socfpga-perip-clock" - The peripheral clock divided from the 11 PLL clock. 12 "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and 15 - reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. 16 - clocks : shall be the input parent clock phandle for the clock. This is 17 either an oscillator or a pll output. 18 - #clock-cells : from common clock binding, shall be set to 0. [all …]
|
| /kernel/linux/linux-5.10/arch/mips/bcm63xx/ |
| D | clk.c | 33 if (clk->set && (clk->usage++) == 0) in clk_enable_unlocked() 34 clk->set(clk, 1); in clk_enable_unlocked() 39 if (clk->set && (--clk->usage) == 0) in clk_disable_unlocked() 40 clk->set(clk, 0); in clk_disable_unlocked() 92 if (clk->id == 0) in enetx_set() 287 * HSSPI PLL 403 return clk->rate; in clk_get_rate() 422 CLKDEV_INIT(NULL, "periph", &clk_periph), 439 CLKDEV_INIT(NULL, "periph", &clk_periph), 442 CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll), [all …]
|
| /kernel/linux/linux-6.6/arch/mips/bcm63xx/ |
| D | clk.c | 33 if (clk->set && (clk->usage++) == 0) in clk_enable_unlocked() 34 clk->set(clk, 1); in clk_enable_unlocked() 39 if (clk->set && (--clk->usage) == 0) in clk_disable_unlocked() 40 clk->set(clk, 0); in clk_disable_unlocked() 92 if (clk->id == 0) in enetx_set() 287 * HSSPI PLL 403 return clk->rate; in clk_get_rate() 422 CLKDEV_INIT(NULL, "periph", &clk_periph), 439 CLKDEV_INIT(NULL, "periph", &clk_periph), 442 CLKDEV_INIT("bcm63xx-hsspi.0", "pll", &clk_hsspi_pll), [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | allwinner,sun4i-a10-ccu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ccu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#clock-cells": 17 "#reset-cells": 22 - allwinner,sun4i-a10-ccu 23 - allwinner,sun5i-a10s-ccu [all …]
|