| /linux/arch/m68k/include/uapi/asm/ |
| H A D | bootinfo-hp300.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 ** asm/bootinfo-hp300.h -- HP9000/300-specific boot information definitions 11 * HP9000/300-specific tags 25 #define HP_320 0 /* 16MHz 68020+HP MMU+16K external cache */ 26 #define HP_330 1 /* 16MHz 68020+68851 MMU */ 27 #define HP_340 2 /* 16MHz 68030 */ 28 #define HP_345 3 /* 50MHz 68030+32K external cache */ 29 #define HP_350 4 /* 25MHz 68020+HP MMU+32K external cache */ 30 #define HP_360 5 /* 25MHz 68030 */ 31 #define HP_370 6 /* 33MHz 68030+64K external cache */ [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | axis,artpec8-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/axis,artpec8-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Axis ARTPEC-8 SoC clock controller 10 - Jesper Nilsson <jesper.nilsson@axis.com> 13 ARTPEC-8 clock controller is comprised of several CMU (Clock Management Unit) 16 The root clock in that root tree is an external clock: OSCCLK (25 MHz). 17 This external clock must be defined as a fixed-rate clock in dts. 19 CMU_CMU is a top-level CMU, where all base clocks are prepared using PLLs and [all …]
|
| H A D | sophgo,sg2042-pll.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-pll.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen Wang <unicorn_wang@outlook.com> 14 const: sophgo,sg2042-pll 21 - description: Oscillator(Clock Generation IC) for Main/Fixed PLL (25 MHz) 22 - description: Oscillator(Clock Generation IC) for DDR PLL 0 (25 MHz) 23 - description: Oscillator(Clock Generation IC) for DDR PLL 1 (25 MHz) 25 clock-names: [all …]
|
| H A D | starfive,jh7100-clkgen.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert@linux-m68k.org> 11 - Emil Renner Berthing <kernel@esmil.dk> 15 const: starfive,jh7100-clkgen 22 - description: Main clock source (25 MHz) 23 - description: Application-specific clock source (12-27 MHz) 24 - description: RMII reference clock (50 MHz) [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | opp2xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * opp2xxx.h - macros for old-style OMAP2xxx "OPP" definitions 5 * Copyright (C) 2005-2009 Texas Instruments, Inc. 6 * Copyright (C) 2004-2009 Nokia Corporation 8 * Richard Woodruff <r-woodruff2@ti.com> 34 * struct prcm_config - define clock rates on a per-OPP basis (24xx) 45 unsigned long dpll_speed; /* dpll: out*xtal*M/(N-1)table_recalc */ 64 /*------------------------------------------------------------------------- 66 *-------------------------------------------------------------------------*/ 68 /* 2430 Ratio's, 2430-Ratio Config 1 */ [all …]
|
| H A D | timer.c | 2 * linux/arch/arm/mach-omap2/timer.c 16 * OMAP Dual-mode timer framework support by Timo Teras 20 * Copyright (C) 2004-2009 Texas Instruments, Inc. 23 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 35 #include "omap-secure.h" 50 * The realtime counter also called master counter, is a free-running 53 * at a rate of 6.144 MHz. Because the device operates on different clocks 86 * frequency to not be 6.144MHz but at sysclk / 610 * 375 / 2 in realtime_counter_init() 98 * should compensate to avoid the 570ppm (at 20MHz, much worse in realtime_counter_init() 121 den = 25; in realtime_counter_init() [all …]
|
| /linux/Documentation/fb/ |
| H A D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 28 mode "640x480-60" 29 # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz 31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60" 32 # D: 24.823 MHz, H: 39.780 kHz, V: 60.00 Hz 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 49 # 25 chars 20 lines 52 mode "640x480-75" 53 # D: 31.50 MHz, H: 37.500 kHz, V: 75.00 Hz 56 # 640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock) [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | adi,adin.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 16 - $ref: ethernet-phy.yaml# 19 adi,rx-internal-delay-ps: 22 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. 26 adi,tx-internal-delay-ps: 29 internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seconds. 33 adi,fifo-depth-bits: [all …]
|
| H A D | nxp,tja11xx.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 20 - ethernet-phy-id0180.dc40 21 - ethernet-phy-id0180.dc41 22 - ethernet-phy-id0180.dc48 23 - ethernet-phy-id0180.dd00 [all …]
|
| /linux/drivers/clk/uniphier/ |
| H A D | clk-uniphier-sys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "clk-uniphier.h" 12 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 8), \ 13 UNIPHIER_CLK_FACTOR("sd-133m", -1, "vpll27a", 1, 2) 16 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 12), \ 17 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 18) 20 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 10), \ 21 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 15) 24 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 4), \ 25 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 6) [all …]
|
| /linux/arch/arm/boot/dts/arm/ |
| H A D | integratorcp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 11 compatible = "arm,integrator-cp"; 18 #address-cells = <1>; 19 #size-cells = <0>; 35 operating-points = <50000 0 38 clock-names = "cpu"; 39 clock-latency = <1000000>; /* 1 ms */ 45 * ARM DUI 0184B page 7-28 "Integrator/CP922T system clocks" which 49 /* The codec chrystal operates at 24.576 MHz */ [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | ipq-cmn-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved. 7 * CMN PLL block expects the reference clock from on-board Wi-Fi block, 13 * On the IPQ9574 SoC, there are three clocks with 50 MHZ and one clock 14 * with 25 MHZ which are output from the CMN PLL to Ethernet PHY (or switch), 15 * and one clock with 353 MHZ to PPE. The other fixed rate output clocks 16 * are supplied to GCC (24 MHZ as XO and 32 KHZ as sleep clock), and to PCS 17 * with 31.25 MHZ. 19 * On the IPQ5424 SoC, there is an output clock from CMN PLL to PPE at 375 MHZ, 20 * and an output clock to NSS (network subsystem) at 300 MHZ. The other output [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | qt1010.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 { .addr = priv->cfg->i2c_address, in qt1010_readreg() 17 { .addr = priv->cfg->i2c_address, in qt1010_readreg() 21 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in qt1010_readreg() 22 dev_warn(&priv->i2c->dev, "%s: i2c rd failed reg=%02x\n", in qt1010_readreg() 24 return -EREMOTEIO; in qt1010_readreg() 33 struct i2c_msg msg = { .addr = priv->cfg->i2c_address, in qt1010_writereg() 36 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in qt1010_writereg() 37 dev_warn(&priv->i2c->dev, "%s: i2c wr failed reg=%02x\n", in qt1010_writereg() 39 return -EREMOTEIO; in qt1010_writereg() [all …]
|
| H A D | qt1010_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 07 2b set frequency: 32 MHz scale, n*32 MHz 24 09 10 ? changes every 8/24 MHz; values 1d/1c 25 0a 08 set frequency: 4 MHz scale, n*4 MHz 26 0b 41 ? changes every 2/2 MHz; values 45/45 45 1e 00 ? looks like operation register; write cmd here, read result from 1f-26 52 25 40 ? chip initialization 70 #define QT1010_MIN_FREQ (48 * MHz) 71 #define QT1010_MAX_FREQ (860 * MHz) 72 #define QT1010_OFFSET (1246 * MHz)
|
| /linux/drivers/clk/mvebu/ |
| H A D | armada-375.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 14 #include <linux/clk-provider.h> 29 * 6 = 400 MHz 400 MHz 200 MHz 30 * 15 = 600 MHz 600 MHz 300 MHz 31 * 21 = 800 MHz 534 MHz 400 MHz 32 * 25 = 1000 MHz 500 MHz 500 MHz 36 * 0 = 166 MHz 37 * 1 = 200 MHz 144 CLK_OF_DECLARE(armada_375_core_clk, "marvell,armada-375-core-clock", [all …]
|
| H A D | armada-39x.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 #include <linux/clk-provider.h> 24 * 0 = 250 MHz 25 * 1 = 200 MHz 28 * 0 = 25 Mhz 29 * 1 = 40 Mhz 115 return 25 * 1000 * 1000; in armada_39x_refclk_ratio() 131 CLK_OF_DECLARE(armada_39x_core_clk, "marvell,armada-390-core-clock", [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | tdx_arch.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 127 * TDX requires the frequency to be defined in units of 25MHz, which is the 128 * frequency of the core crystal clock on TDX-capable platforms, i.e. the TDX 129 * module can only program frequencies that are multiples of 25MHz. The 130 * frequency must be between 100mhz and 10ghz (inclusive). 132 #define TDX_TSC_KHZ_TO_25MHZ(tsc_in_khz) ((tsc_in_khz) / (25 * 1000)) 133 #define TDX_TSC_25MHZ_TO_KHZ(tsc_in_25mhz) ((tsc_in_25mhz) * (25 * 1000))
|
| /linux/drivers/clk/sophgo/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 The driver require a 25MHz Oscillator to function generate clock. 19 frequency of 25 MHz as input, which are used for Main/Fixed 57 SG2044 SoC. This controller requires 25M oscillator as input.
|
| /linux/drivers/clk/versatile/ |
| H A D | clk-icst.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2012-2015 Linus Walleij 17 #include <linux/clk-provider.h> 23 #include "clk-icst.h" 37 * struct clk_icst - ICST VCO clock wrapper 59 * vco_get() - get ICST VCO settings from a certain ICST 68 ret = regmap_read(icst->map, icst->vcoreg_off, &val); in vco_get() 77 * "Integrator CM926EJ-S, CM946E-S, CM966E-S, CM1026EJ-S and in vco_get() 78 * CM1136JF-S User Guide" ARM DUI 0138E, page 3-13 thru 3-14. in vco_get() 80 if (icst->ctype == ICST_INTEGRATOR_AP_CM) { in vco_get() [all …]
|
| /linux/drivers/clk/spear/ |
| H A D | spear1310_clock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-spear13xx/spear1310_clock.c 109 #define SPEAR1310_DMA_CLK_ENB 25 200 #define SPEAR1310_CAN1_CLK_ENB 25 231 /* PCLK 24MHz */ 232 {.mode = 0, .m = 0x83, .n = 0x04, .p = 0x5}, /* vco 1572, pll 49.125 MHz */ 233 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x3}, /* vco 1000, pll 125 MHz */ 234 {.mode = 0, .m = 0x64, .n = 0x06, .p = 0x1}, /* vco 800, pll 400 MHz */ 235 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x1}, /* vco 1000, pll 500 MHz */ 236 {.mode = 0, .m = 0xA6, .n = 0x06, .p = 0x1}, /* vco 1328, pll 664 MHz */ [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_clocking.c | 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* Copyright 2016-2018 NXP 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 107 sja1105_packing(buf, &idiv->clksrc, 28, 24, size, op); in sja1105_cgu_idiv_packing() 108 sja1105_packing(buf, &idiv->autoblock, 11, 11, size, op); in sja1105_cgu_idiv_packing() 109 sja1105_packing(buf, &idiv->idiv, 5, 2, size, op); in sja1105_cgu_idiv_packing() 110 sja1105_packing(buf, &idiv->pd, 0, 0, size, op); in sja1105_cgu_idiv_packing() 116 const struct sja1105_regs *regs = priv->info->regs; in sja1105_cgu_idiv_config() 117 struct device *dev = priv->ds->dev; in sja1105_cgu_idiv_config() 121 if (regs->cgu_idiv[port] == SJA1105_RSV_ADDR) in sja1105_cgu_idiv_config() [all …]
|
| /linux/drivers/ssb/ |
| H A D | main.c | 20 #include <linux/dma-mapping.h> 33 /* Temporary list of yet-to-be-attached buses */ 64 if (bus->bustype == SSB_BUSTYPE_PCI && in ssb_pci_dev_to_bus() 65 bus->host_pci == pdev) in ssb_pci_dev_to_bus() 83 if (bus->bustype == SSB_BUSTYPE_PCMCIA && in ssb_pcmcia_dev_to_bus() 84 bus->host_pcmcia == pdev) in ssb_pcmcia_dev_to_bus() 111 return -ENODEV; in ssb_for_each_bus_call() 117 get_device(dev->dev); in ssb_device_get() 124 put_device(dev->dev); in ssb_device_put() 133 if (dev->driver) { in ssb_device_resume() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_afmt.c | 35 { 25175, 4096, 25175, 28224, 125875, 6144, 25175 }, /* 25,20/1.001 MHz */ 36 { 25200, 4096, 25200, 6272, 28000, 6144, 25200 }, /* 25.20 MHz */ 37 { 27000, 4096, 27000, 6272, 30000, 6144, 27000 }, /* 27.00 MHz */ 38 { 27027, 4096, 27027, 6272, 30030, 6144, 27027 }, /* 27.00*1.001 MHz */ 39 { 54000, 4096, 54000, 6272, 60000, 6144, 54000 }, /* 54.00 MHz */ 40 { 54054, 4096, 54054, 6272, 60060, 6144, 54054 }, /* 54.00*1.001 MHz */ 41 { 74176, 4096, 74176, 5733, 75335, 6144, 74176 }, /* 74.25/1.001 MHz */ 42 { 74250, 4096, 74250, 6272, 82500, 6144, 74250 }, /* 74.25 MHz */ 43 { 148352, 4096, 148352, 5733, 150670, 6144, 148352 }, /* 148.50/1.001 MHz */ 44 { 148500, 4096, 148500, 6272, 165000, 6144, 148500 }, /* 148.50 MHz */ [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-esdhc-mcf.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/platform_data/mmc-esdhc-mcf.h> 13 #include "sdhci-pltfm.h" 14 #include "sdhci-esdhc.h" 21 * Freescale eSDHC has DMA ERR flag at bit 28, not as std spec says, bit 25. 49 void __iomem *base = host->ioaddr + (reg & ~3); in esdhc_clrset_be() 62 * Note: mcf is big-endian, single bytes need to be accessed at big endian 67 void __iomem *base = host->ioaddr + (reg & ~3); in esdhc_mcf_writeb_be() 74 u8 tmp = readb(host->ioaddr + SDHCI_HOST_CONTROL + 1); in esdhc_mcf_writeb_be() 85 writel(host_ctrl, host->ioaddr + SDHCI_HOST_CONTROL); in esdhc_mcf_writeb_be() [all …]
|
| /linux/arch/arm/mach-davinci/ |
| H A D | sleep.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 /* Assume 25 MHz speed for the cycle conversions since PLLs are bypassed */ 20 #define PLL_BYPASS_CYCLES (PLL_BYPASS_TIME * 25) 21 #define PLL_RESET_CYCLES (PLL_RESET_TIME * 25) 22 #define PLL_LOCK_CYCLES (PLL_LOCK_TIME * 25) 41 stmfd sp!, {r0-r12, lr} @ save registers on stack 46 ldmia r0, {r0-r4} 49 * Switch DDR to self-refresh mode. 127 /* Wait for PLL to lock (assume prediv = 1, 25MHz OSCIN) */ 163 ldmfd sp!, {r0-r12, pc} [all …]
|