-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/…
…linux/kernel/git/tip/tip Pull timer updates from Thomas Gleixner: "Nothing exciting, just the usual pile of fixes, updates and cleanups: - A bunch of clocksource driver updates - Removal of CONFIG_TIMER_STATS and the related /proc file - More posix timer slim down work - A scalability enhancement in the tick broadcast code - Math cleanups" * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits) hrtimer: Catch invalid clockids again math64, tile: Fix build failure clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init timerfd: Protect the might cancel mechanism proper timer_list: Remove useless cast when printing time: Remove CONFIG_TIMER_STATS clocksource/drivers/arm_arch_timer: Work around Hisilicon erratum 161010101 clocksource/drivers/arm_arch_timer: Introduce generic errata handling infrastructure clocksource/drivers/arm_arch_timer: Remove fsl-a008585 parameter clocksource/drivers/arm_arch_timer: Add dt binding for hisilicon-161010101 erratum clocksource/drivers/ostm: Add renesas-ostm timer driver clocksource/drivers/ostm: Document renesas-ostm timer DT bindings clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock clocksource/drivers/gemini: Add driver for the Cortina Gemini clocksource: add DT bindings for Cortina Gemini clockevents: Add a clkevt-of mechanism like clksrc-of tick/broadcast: Reduce lock cacheline contention timers: Omit POSIX timer stuff from task_struct when disabled x86/timer: Make delay() work during early bootup delay: Add explanation of udelay() inaccuracy ...
- Loading branch information
Showing
43 changed files
with
1,022 additions
and
846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/timer/cortina,gemini-timer.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Cortina Systems Gemini timer | ||
|
||
This timer is embedded in the Cortina Systems Gemini SoCs. | ||
|
||
Required properties: | ||
|
||
- compatible : Must be "cortina,gemini-timer" | ||
- reg : Should contain registers location and length | ||
- interrupts : Should contain the three timer interrupts with | ||
flags for rising edge | ||
- syscon : a phandle to the global Gemini system controller | ||
|
||
Example: | ||
|
||
timer@43000000 { | ||
compatible = "cortina,gemini-timer"; | ||
reg = <0x43000000 0x1000>; | ||
interrupts = <14 IRQ_TYPE_EDGE_RISING>, /* Timer 1 */ | ||
<15 IRQ_TYPE_EDGE_RISING>, /* Timer 2 */ | ||
<16 IRQ_TYPE_EDGE_RISING>; /* Timer 3 */ | ||
syscon = <&syscon>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
* Renesas OS Timer (OSTM) | ||
|
||
The OSTM is a multi-channel 32-bit timer/counter with fixed clock | ||
source that can operate in either interval count down timer or free-running | ||
compare match mode. | ||
|
||
Channels are independent from each other. | ||
|
||
Required Properties: | ||
|
||
- compatible: must be one or more of the following: | ||
- "renesas,r7s72100-ostm" for the r7s72100 OSTM | ||
- "renesas,ostm" for any OSTM | ||
This is a fallback for the above renesas,*-ostm entries | ||
|
||
- reg: base address and length of the register block for a timer channel. | ||
|
||
- interrupts: interrupt specifier for the timer channel. | ||
|
||
- clocks: clock specifier for the timer channel. | ||
|
||
Example: R7S72100 (RZ/A1H) OSTM node | ||
|
||
ostm0: timer@fcfec000 { | ||
compatible = "renesas,r7s72100-ostm", "renesas,ostm"; | ||
reg = <0xfcfec000 0x30>; | ||
interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>; | ||
clocks = <&mstp5_clks R7S72100_CLK_OSTM0>; | ||
power-domains = <&cpg_clocks>; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef _ASM_TILE_DIV64_H | ||
#define _ASM_TILE_DIV64_H | ||
|
||
#include <linux/types.h> | ||
|
||
#ifdef __tilegx__ | ||
static inline u64 mul_u32_u32(u32 a, u32 b) | ||
{ | ||
return __insn_mul_lu_lu(a, b); | ||
} | ||
#define mul_u32_u32 mul_u32_u32 | ||
#endif | ||
|
||
#include <asm-generic/div64.h> | ||
|
||
#endif /* _ASM_TILE_DIV64_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.