/linux/drivers/clk/socfpga/ |
H A 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
|
/linux/drivers/clk/tegra/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/clk/sunxi-ng/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | ccu-sun8i-a83t.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2016 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 11 #include <dt-bindings/clock/sun8i-a83t-ccu.h> 12 #include <dt-bindings/reset/sun8i-a83t-ccu.h> 21 /* pll-periph is exported to the PRCM block */ 26 /* pll-de is exported for the display engine */
|
/linux/arch/mips/bcm63xx/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/clk/microchip/ |
H A D | clk-mpfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2020-2022 Microchip Technology Inc. All rights reserved. 7 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/microchip,mpfs-clock.h> 78 struct clk_gate periph; member 114 * MSS PLL internal clock 120 void __iomem *mult_addr = msspll_hw->base + msspll_hw->reg_offset; in mpfs_clk_msspll_recalc_rate() 121 void __iomem *ref_div_addr = msspll_hw->base + REG_MSSPLL_REF_CR; in mpfs_clk_msspll_recalc_rate() 159 msspll_hw->base = data->msspll_base; in mpfs_clk_register_mssplls() 160 ret = devm_clk_hw_register(dev, &msspll_hw->hw); in mpfs_clk_register_mssplls() [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm63138.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 interrupt-parent = <&gic>; 22 #address-cells = <1>; 23 #size-cells = <0>; 27 compatible = "arm,cortex-a9"; 28 next-level-cache = <&L2>; [all …]
|
H A D | bcm6846.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 14 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a7"; 24 next-level-cache = <&L2_0>; [all …]
|
H A D | bcm63148.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 14 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "brcm,brahma-b15"; 24 next-level-cache = <&L2_0>; [all …]
|
H A D | bcm6878.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 14 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a7"; 24 next-level-cache = <&L2_0>; [all …]
|
/linux/drivers/clk/ralink/ |
H A D | clk-mtmips.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 12 #include <linux/reset-controller.h> 191 { CLK_PERIPH("10000500.uart", "periph") }, 192 { CLK_PERIPH("10000900.i2c", "periph") }, 193 { CLK_PERIPH("10000a00.i2s", "periph") }, 196 { CLK_PERIPH("10000c00.uartlite", "periph") }, 202 { CLK_PERIPH("10000100.timer", "periph") }, 203 { CLK_PERIPH("10000120.watchdog", "periph") }, 204 { CLK_PERIPH("10000500.uart", "periph") }, [all …]
|
/linux/include/dt-bindings/clock/ |
H A D | stratix10-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* PLL clocks */ 26 /* Periph clocks */
|
/linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A D | bcm6856.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #address-cells = <2>; 12 #size-cells = <2>; 14 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <0>; 21 compatible = "brcm,brahma-b53"; 24 next-level-cache = <&L2_0>; [all …]
|
H A D | bcm63146.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #address-cells = <2>; 12 #size-cells = <2>; 14 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <0>; 21 compatible = "brcm,brahma-b53"; 24 next-level-cache = <&L2_0>; [all …]
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm6362.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "dt-bindings/clock/bcm6362-clock.h" 4 #include "dt-bindings/reset/bcm6362-reset.h" 5 #include "dt-bindings/soc/bcm6362-pm.h" 8 #address-cells = <1>; 9 #size-cells = <1>; 13 #address-cells = <1>; 14 #size-cells = <0>; 16 mips-hpt-frequency = <200000000>; 32 periph_osc: periph-osc { [all …]
|
H A D | bcm6328.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "dt-bindings/clock/bcm6328-clock.h" 4 #include "dt-bindings/reset/bcm6328-reset.h" 5 #include "dt-bindings/soc/bcm6328-pm.h" 8 #address-cells = <1>; 9 #size-cells = <1>; 13 #address-cells = <1>; 14 #size-cells = <0>; 16 mips-hpt-frequency = <160000000>; 32 periph_osc: periph-osc { [all …]
|