/openbmc/linux/drivers/media/i2c/ |
H A D | ccs-pll.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * drivers/media/i2c/ccs-pll.h 17 /* CSI-2 or CCP-2 */ 22 /* op pix clock is for all lanes in total normally */ 37 * struct ccs_pll_branch_fr - CCS PLL configuration (front) 39 * A single branch front-end of the CCS PLL tree. 41 * @pre_pll_clk_div: Pre-PLL clock divisor 43 * @pll_ip_clk_freq_hz: PLL input clock frequency 44 * @pll_op_clk_freq_hz: PLL output clock frequency 54 * struct ccs_pll_branch_bk - CCS PLL configuration (back) [all …]
|
/openbmc/linux/Documentation/virt/hyperv/ |
H A D | clocks.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ----- 8 On arm64, Hyper-V virtualizes the ARMv8 architectural system counter 12 architectural system counter is functional in guest VMs on Hyper-V. 13 While Hyper-V also provides a synthetic system clock and four synthetic 14 per-CPU timers as described in the TLFS, they are not used by the 15 Linux kernel in a Hyper-V guest on arm64. However, older versions 16 of Hyper-V for arm64 only partially virtualize the ARMv8 19 Linux kernel versions on these older Hyper-V versions requires an 20 out-of-tree patch to use the Hyper-V synthetic clocks/timers instead. [all …]
|
/openbmc/linux/Documentation/timers/ |
H A D | timekeeping.rst | 2 Clock sources, Clock events, sched_clock() and delay timers 10 If you grep through the kernel source you will find a number of architecture- 11 specific implementations of clock sources, clockevents and several likewise 12 architecture-specific overrides of the sched_clock() function and some 15 To provide timekeeping for your platform, the clock source provides 16 the basic timeline, whereas clock events shoot interrupts on certain points 17 on this timeline, providing facilities such as high-resolution timers. 22 Clock sources 23 ------------- 25 The purpose of the clock source is to provide a timeline for the system that [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | bbc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * bbc.h: Defines for BootBus Controller found on UltraSPARC-III 12 /* Register sizes are indicated by "B" (Byte, 1-byte), 13 * "H" (Half-word, 2 bytes), "W" (Word, 4 bytes) or 26 #define BBC_CSC 0x0d /* [B] Clock Synthesizers Control*/ 29 #define BBC_ES_DACT 0x14 /* [B] E* De-Assert Change Time */ 30 #define BBC_ES_DABT 0x15 /* [B] E* De-Assert Bypass Time */ 33 #define BBC_ES_FSL 0x1c /* [W] E* Frequency Switch Latency*/ 38 #define BBC_I2C_0_S1 0x2e /* [B] I2C ctrlr-0 reg S1 */ 39 #define BBC_I2C_0_S0 0x2f /* [B] I2C ctrlr-0 regs S0,S0',S2,S3*/ [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mpc5121.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 * Clock Control Module 26 u32 spmr; /* System PLL Mode Register */ 27 u32 sccr1; /* System Clock Control Register 1 */ 28 u32 sccr2; /* System Clock Control Register 2 */ 29 u32 scfr1; /* System Clock Frequency Register 1 */ 30 u32 scfr2; /* System Clock Frequency Register 2 */ 31 u32 scfr2s; /* System Clock Frequency Shadow Register 2 */ 33 u32 psc_ccr[12]; /* PSC Clock Control Registers */ 34 u32 spccr; /* SPDIF Clock Control Register */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | qoriq-clock.txt | 1 * Clock Block on Freescale QorIQ Platforms 4 SYSCLK signal. The SYSCLK input (frequency) is multiplied using 14 --------------- ------------- 18 1. Clock Block Binding 21 - compatible: Should contain a chip-specific clock block compatible 22 string and (if applicable) may contain a chassis-version clock 25 Chip-specific strings are of the form "fsl,<chip>-clockgen", such as: 26 * "fsl,p2041-clockgen" 27 * "fsl,p3041-clockgen" 28 * "fsl,p4080-clockgen" [all …]
|
H A D | nvidia,tegra124-car.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/nvidia,tegra124-car.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra Clock and Reset Controller 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 The Clock and Reset (CAR) is the HW module responsible for muxing and gating 18 the clock source programming and most of the clock dividers. 20 CLKGEN input signals include the external clock for the reference frequency [all …]
|
H A D | lpc1850-cgu.txt | 1 * NXP LPC1850 Clock Generation Unit (CGU) 4 peripheral blocks of the LPC18xx. Each independent clock is called 5 a base clock and itself is one of the inputs to the two Clock 9 The CGU selects the inputs to the clock generators from multiple 10 clock sources, controls the clock generation, and routes the outputs 11 of the clock generators through the clock source bus to the output 12 stages. Each output stage provides an independent clock source and 15 - Above text taken from NXP LPC1850 User Manual. 18 This binding uses the common clock binding: 19 Documentation/devicetree/bindings/clock/clock-bindings.txt [all …]
|
H A D | renesas,emev2-smu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/renesas,emev2-smu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas EMMA Mobile EV2 System Management Unit 10 - Geert Uytterhoeven <geert+renesas@glider.be> 11 - Magnus Damm <magnus.damm@gmail.com> 14 The System Management Unit is described in user's manual R19UH0037EJ1000_SMU. 15 This is not a clock provider, but clocks under SMU depend on it. 19 const: renesas,emev2-smu [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | brcm,bcm2835-system-timer.txt | 1 BCM2835 System Timer 3 The System Timer peripheral provides four 32-bit timer channels and a 4 single 64-bit free running counter. Each channel has an output compare 10 - compatible : should be "brcm,bcm2835-system-timer" 11 - reg : Specifies base physical address and size of the registers. 12 - interrupts : A list of 4 interrupt sinks; one per timer channel. 13 - clock-frequency : The frequency of the clock that drives the counter, in Hz. 18 compatible = "brcm,bcm2835-system-timer"; 21 clock-frequency = <1000000>;
|
H A D | arm,armv7m-systick.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/arm,armv7m-systick.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARMv7M System Timer 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 13 description: ARMv7-M includes a system timer, known as SysTick. 17 const: arm,armv7m-systick 25 clock-frequency: true [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ptp/ |
H A D | ptp-qoriq.txt | 1 * Freescale QorIQ 1588 timer based PTP clock 5 - compatible Should be "fsl,etsec-ptp" for eTSEC 6 Should be "fsl,fman-ptp-timer" for DPAA FMan 7 Should be "fsl,dpaa2-ptp" for DPAA2 8 Should be "fsl,enetc-ptp" for ENETC 9 - reg Offset and length of the register set for the device 10 - interrupts There should be at least two interrupts. Some devices 13 Clock Properties: 15 - fsl,cksel Timer reference clock source. 16 - fsl,tclk-period Timer reference clock period in nanoseconds. [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 4 /* PTP 1588 Hardware Clock (PHC) 5 * Derived from PTP Hardware Clock driver for Intel 82576 and 82580 (igb) 18 * e1000e_phc_adjfine - adjust the frequency of the hardware clock 19 * @ptp: ptp clock structure 20 * @delta: Desired frequency chance in scaled parts per million 22 * Adjust the frequency of the PHC cycle counter by the indicated delta from 23 * the base frequency. 31 struct e1000_hw *hw = &adapter->hw; in e1000e_phc_adjfine() [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf532x/ |
H A D | speed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * (C) Copyright 2000-2003 7 * Copyright (C) 2004-2008, 2012 Freescale Semiconductor, Inc. 8 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 49 /* Get the value of the current system clock */ 57 if (in_be16(&ccm->misccr) & CCM_MISCCR_LIMP) { in get_sys_clock() 58 divider = in_be16(&ccm->cdr) & CCM_CDR_LPDIV(0xF); in get_sys_clock() 67 u32 pfdr = (in_be32(&pll->pcr) & 0x3F) + 1; in get_sys_clock() 68 u32 refdiv = (1 << ((in_be32(&pll->pcr) & PLL_PCR_REFDIV(7)) >> 8)); in get_sys_clock() 69 u32 busdiv = ((in_be32(&pll->pdr) & 0x00F0) >> 4) + 1; in get_sys_clock() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <asm/arch/clock.h> 43 priv = dev->priv; in ft_fixup_enet_phy_connect_type() 44 if (priv->flags & TSEC_SGMII) in ft_fixup_enet_phy_connect_type() 62 "phy-handle", ph, 1); in ft_fixup_enet_phy_connect_type() 64 do_fixup_by_path(fdt, enet_path, "phy-connection-type", in ft_fixup_enet_phy_connect_type() 80 svr = in_be32(&gur->svr); in ft_cpu_setup() 84 /* delete crypto node if not on an E-processor */ in ft_cpu_setup() 92 fdt_fixup_crypto_node(blob, sec_in32(&sec->secvid_ms)); in ft_cpu_setup() 96 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_cpu_setup() [all …]
|
/openbmc/linux/include/linux/ |
H A D | ptp_clock_kernel.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * PTP 1588 clock support 19 * struct ptp_clock_request - request PTP clock event 47 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp 48 * @pre_ts: system timestamp before capturing PHC 49 * @post_ts: system timestamp after capturing PHC 57 * struct ptp_clock_info - describes a PTP hardware clock 59 * @owner: The clock driver should set to THIS_MODULE. 60 * @name: A short "friendly name" to identify the clock and to 63 * @max_adj: The maximum possible frequency adjustment, in parts per billon. [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | camera-sensor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 CSI-2 and parallel (BT.601 and BT.656) busses 7 --------------------------------------------- 9 Please see :ref:`transmitter-receiver`. 12 --------------- 14 Camera sensors have an internal clock tree including a PLL and a number of 15 divisors. The clock tree is generally configured by the driver based on a few 16 input parameters that are specific to the hardware:: the external clock frequency 17 and the link frequency. The two parameters generally are obtained from system 20 The reason why the clock frequencies are so important is that the clock signals [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | mpc83xx_clk.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 8 * enum ratio - Description of a core clock ratio 34 * struct corecnf - Description for a core clock configuration 35 * @core_csb_ratio: Core clock frequency to CSB clock frequency ratio 36 * @vco_divider: VCO divider (Core VCO frequency = Core frequency * VCO divider) 44 * Table with all valid Core CSB frequency ratio / VCO divider combinations as 79 * enum reg_type - Register to read a field from 89 * enum mode_type - Description of how to read a specific frequency value 92 * as a divider for the CSB clock to compute the 93 * frequency [all …]
|
H A D | Kconfig | 1 menu "Clock" menu 4 bool "Enable clock driver support" 7 This allows drivers to be provided for clock generators, including 8 oscillators and PLLs. Devices can use a common clock API to request 9 a particular clock rate and check on available clocks. Clocks can 11 choose the source for each clock. 14 bool "Enable clock support in SPL" 17 The clock subsystem adds a small amount of overhead to the image. 18 If this is acceptable and you have a need to use clock drivers in 21 used as U-Boot proper. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nvidia,tegra30-mc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra30-mc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 18 clock from a group of clients. Typically, a system has a single Arbitration 20 Arbitration Domains to increase the effective system bandwidth. 22 Protocol Arbiter, which manage a related pool of memory devices. A system [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [all …]
|
H A D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 port-base: 16 $ref: /schemas/graph.yaml#/$defs/port-base 18 convert-rate: 19 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate 20 convert-channels: [all …]
|
/openbmc/qemu/include/hw/timer/ |
H A D | sse-counter.h | 2 * Arm SSE Subsystem System Counter 13 * This is a model of the "System counter" which is documented in 14 * the Arm SSE-123 Example Subsystem Technical Reference Manual: 18 * + Clock input "CLK": clock 22 * Consumers of the system counter's timestamp, such as the SSE 23 * System Timer device, can also use the APIs sse_counter_for_timestamp(), 25 * interact with an instance of the System Counter. Generally the 27 * code can set to the appropriate instance of the system counter. 37 #define TYPE_SSE_COUNTER "sse-counter" 47 Clock *clk; [all …]
|
/openbmc/u-boot/drivers/firmware/ |
H A D | ti_sci.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 3 * Texas Instruments System Control Interface (TISCI) Protocol 6 * The system works in a message response protocol 9 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ 34 /* Clock requests */ 54 * struct ti_sci_msg_hdr - Generic Message Header for All messages and responses 75 * struct ti_sci_secure_msg_hdr - Header that prefixes all TISCI messages sent 86 * struct ti_sci_msg_resp_version - Response for a message 108 * struct ti_sci_msg_req_reboot - Reboot the SoC 119 * struct ti_sci_msg_board_config - Board configuration message [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of 17 platform. Audio system topology, clocking and power can all be 25 [2] include/dt-bindings/pinctrl/lochnagar.h 26 [3] include/dt-bindings/clock/lochnagar.h 28 And these documents for the required sub-node binding details: 29 [4] Clock: ../clock/cirrus,lochnagar.yaml [all …]
|