-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple timers from system clock #16958
Decouple timers from system clock #16958
Commits on Jul 18, 2019
-
drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c175847 - Browse repository at this point
Copy the full SHA c175847View commit details -
drivers: pwm_qmsi: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 060b4cb - Browse repository at this point
Copy the full SHA 060b4cbView commit details -
drivers: timer: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab48cfc - Browse repository at this point
Copy the full SHA ab48cfcView commit details -
debug: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4484bd1 - Browse repository at this point
Copy the full SHA 4484bd1View commit details -
logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffa9369 - Browse repository at this point
Copy the full SHA ffa9369View commit details -
tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time as the exact configuration of the hardware is not known at compile time. On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define directly introduces timing errors. This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to inline function sys_clock_hw_cycles_per_sec() which always returns correct frequency of the system clock. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bbc37b - Browse repository at this point
Copy the full SHA 4bbc37bView commit details -
drivers: i2c_cc32xx: Get clock frequency from DTS
The i2c_cc32xx driver used system clock frequency as a base for I2C clock frequency calculation. This commit corrects that by obtaining the needed value from DTS. Please note, that for I2C devices the clock-frequency property specifies SCK frequency, instead of frequency of the clock driving peripheral. To solve that problem, a new property was added. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94f0762 - Browse repository at this point
Copy the full SHA 94f0762View commit details -
soc: snps_arc_iot: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55a832a - Browse repository at this point
Copy the full SHA 55a832aView commit details -
soc: sam3x: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6d0037 - Browse repository at this point
Copy the full SHA d6d0037View commit details -
soc: sam4s: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a72781 - Browse repository at this point
Copy the full SHA 3a72781View commit details -
soc: samd2x: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caa08fb - Browse repository at this point
Copy the full SHA caa08fbView commit details -
soc: samr21: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c81013e - Browse repository at this point
Copy the full SHA c81013eView commit details -
soc: same70: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02a7d41 - Browse repository at this point
Copy the full SHA 02a7d41View commit details -
soc: k6x: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e953624 - Browse repository at this point
Copy the full SHA e953624View commit details -
soc: kl2x: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7e3316 - Browse repository at this point
Copy the full SHA d7e3316View commit details -
soc: kwx: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28a2444 - Browse repository at this point
Copy the full SHA 28a2444View commit details -
soc: lpc54xxx: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c28c44b - Browse repository at this point
Copy the full SHA c28c44bView commit details -
arch: xtensa: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59812b0 - Browse repository at this point
Copy the full SHA 59812b0View commit details -
soc: msp432p4xx: Get CPU clock frequency from DTS
The SoC initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 788e4e8 - Browse repository at this point
Copy the full SHA 788e4e8View commit details -
soc: nxp_rt: Get system clock frequency from DTS
The SoC initialization code used timer clock frequency as a system clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb7b545 - Browse repository at this point
Copy the full SHA bb7b545View commit details -
drivers: beetle_clock_control: Get CPU clock frequency from DTS
The clock control initialization code used system clock frequency as a CPU clock frequency. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8c9cf3 - Browse repository at this point
Copy the full SHA c8c9cf3View commit details -
logging: log_backend_swo: Get clock frequency from DTS
The log_backend_swo used system clock frequency as a base for SWO clock calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75d1fc7 - Browse repository at this point
Copy the full SHA 75d1fc7View commit details -
drivers: spi_dw: Get clock frequency from DTS
The spi_dw driver used system clock frequency as a base for SPI bus frequency calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b2800d - Browse repository at this point
Copy the full SHA 2b2800dView commit details -
drivers: uart_cmsdk_apb: Get clock frequency from DTS
The uart_cmsdk_apb driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9000a51 - Browse repository at this point
Copy the full SHA 9000a51View commit details -
drivers: uart_pl011: Get clock frequency from DTS
The uart_pl011 driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e25db3 - Browse repository at this point
Copy the full SHA 0e25db3View commit details -
drivers: uart_cc32xx: Get clock frequency from DTS
The uart_cc32xx driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3098758 - Browse repository at this point
Copy the full SHA 3098758View commit details -
drivers: uart_msp432p4xx: Get clock frequency from DTS
The uart_msp432p4xx driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8219a3a - Browse repository at this point
Copy the full SHA 8219a3aView commit details -
drivers: uart_qmsi: Get clock frequency from DTS
The uart_qmsi driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ae312a - Browse repository at this point
Copy the full SHA 7ae312aView commit details -
drivers: uart_stellaris: Get clock frequency from DTS
The uart_stellaris driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ef851b - Browse repository at this point
Copy the full SHA 1ef851bView commit details -
drivers: uart_cc13xx_cc26xx: Get clock frequency from DTS
The uart_cc13xx_cc26xx driver used system clock frequency as a base for baudrate calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5db8cf - Browse repository at this point
Copy the full SHA d5db8cfView commit details -
drivers: wdog_cmsdk_apb: Get clock frequency from DTS
The wdog_cmsdk_apb driver used system clock frequency as a base for timeout calculation. This commit corrects that by obtaining the needed value from DTS. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bccdf56 - Browse repository at this point
Copy the full SHA bccdf56View commit details -
drivers: adc_stm32: Get clock frequency from DTS
The adc_stm32 driver used system timer frequency as a base for busy-wait delay calculation. This commit corrects that by obtaining the needed value from SystemCoreClock variable. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efebd07 - Browse repository at this point
Copy the full SHA efebd07View commit details -
debug: tracing: Fix compilation error
This commit adds the kernel.h include in order to provide sys_clock_hw_cycles_per_sec() declaration. Signed-off-by: Piotr Zięcik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7850fb5 - Browse repository at this point
Copy the full SHA 7850fb5View commit details