linux/Documentation/devicetree/bindings/timer
Noam Camus 60263dcd82 clocksource: Add clockevent support to NPS400 driver
Till now we used clockevent from generic ARC driver.
This was enough as long as we worked with simple multicore SoC.
When we are working with multithread SoC each HW thread can be
scheduled to receive timer interrupt using timer mask register.
This patch will provide a way to control clock events per HW thread.

The design idea is that for each core there is dedicated register
(TSI) serving all 16 HW threads.
The register is a bitmask with one bit for each HW thread.
When HW thread wants that next expiration of timer interrupt will
hit it then the proper bit should be set in this dedicated register.
When timer expires all HW threads within this core which their bit
is set at the TSI register will be interrupted.

Driver can be used from device tree by:
compatible = "ezchip,nps400-timer0" <-- for clocksource
compatible = "ezchip,nps400-timer1" <-- for clockevent

Note that name convention for timer0/timer1 was taken from legacy
ARC design. This design is our base before adding HW threads.
For backward compatibility we keep "ezchip,nps400-timer" for clocksource

Signed-off-by: Noam Camus <noamca@mellanox.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
2016-11-30 11:54:25 -08:00
..
allwinner,sun4i-timer.txt
allwinner,sun5i-a13-hstimer.txt Fix spelling errors in Documentation/devicetree 2016-07-22 14:54:05 -05:00
amlogic,meson6-timer.txt ARM: meson: documentation: Add timer documentation 2014-09-29 01:50:05 +02:00
arm,mps2-timer.txt dt-bindings: document the MPS2 timer bindings 2016-04-28 15:09:05 +02:00
arm,sp804.txt
brcm,bcm2835-system-timer.txt
brcm,kona-timer.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
cadence,ttc-timer.txt devicetree: cadence_ttc: Document binding for timer width 2015-05-28 08:45:24 +02:00
cirrus,clps711x-timer.txt clocksource: clps711x: Changing the compatibility string to match with the smallest supported chip 2016-07-06 17:38:14 +02:00
digicolor-timer.txt clocksource: devicetree: Document Conexant Digicolor timer binding 2015-01-29 14:02:14 +01:00
energymicro,efm32-timer.txt clocksource: efm32: use $vendor,$device scheme for compatible string 2014-04-22 11:44:28 +02:00
ezchip,nps400-timer0.txt clocksource: Add clockevent support to NPS400 driver 2016-11-30 11:54:25 -08:00
ezchip,nps400-timer1.txt clocksource: Add clockevent support to NPS400 driver 2016-11-30 11:54:25 -08:00
fsl,ftm-timer.txt clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation 2014-05-23 10:12:04 +02:00
fsl,imxgpt.txt
img,pistachio-gptimer.txt Documentation: dt: Add Pistachio SoC general purpose timer binding document 2015-09-03 12:08:07 +02:00
jcore,pit.txt of: Add J-Core timer bindings 2016-10-20 20:10:17 +02:00
lsi,zevio-timer.txt
marvell,armada-370-xp-timer.txt clocksource: armada-370-xp: Use the reference clock on A375 SoC 2014-11-26 13:51:08 +01:00
marvell,orion-timer.txt
mediatek,mtk-timer.txt Document: DT: Add bindings for mediatek MT7623 SoC Platform 2016-02-11 11:39:54 +01:00
moxa,moxart-timer.txt clocksource/drivers/moxart: Add Aspeed support 2016-09-09 14:15:47 +02:00
nvidia,tegra20-timer.txt
nvidia,tegra30-timer.txt Documentation: DT bindings: add more Tegra chip compatible strings 2015-02-03 20:37:31 -06:00
nxp,lpc3220-timer.txt doc: dt: Add documentation for lpc3220-timer 2015-06-02 12:10:11 +02:00
oxsemi,rps-timer.txt clocksource/drivers/oxnas: Add OX820 compatible 2016-09-12 07:28:46 +02:00
renesas,8bit-timer.txt h8300: clocksource 2015-06-23 13:35:55 +09:00
renesas,16bit-timer.txt h8300: clocksource 2015-06-23 13:35:55 +09:00
renesas,cmt.txt clocksource: sh_cmt: Document SoC specific bindings 2014-09-06 10:14:12 +09:00
renesas,mtu2.txt clocksource: sh_mtu2: Drop incorrect SoC family name 2014-10-27 10:00:36 +09:00
renesas,tmu.txt clocksource: sh_tmu: Document r8a7778 binding 2014-10-27 10:00:36 +09:00
renesas,tpu.txt h8300: clocksource 2015-06-23 13:35:55 +09:00
rockchip,rk-timer.txt dt-bindings: Document rk3399 rk-timer bindings 2016-06-28 10:17:02 +02:00
samsung,exynos4210-mct.txt
snps,arc-timer.txt ARC: [dts] Introduce Timer bindings 2016-05-09 09:32:29 +05:30
snps,archs-gfrc.txt ARC: [dts] Introduce Timer bindings 2016-05-09 09:32:29 +05:30
snps,archs-rtc.txt ARC: [dts] Introduce Timer bindings 2016-05-09 09:32:29 +05:30
st,stih407-lpc clocksource: bindings: Provide bindings for ST's LPC Clocksource device 2015-07-23 17:07:33 +01:00
st,stm32-timer.txt dt-bindings: Document the STM32 timer bindings 2015-06-02 12:10:14 +02:00
stericsson-u300-apptimer.txt
ti,keystone-timer.txt