linux/Documentation/devicetree/bindings/timer
Inochi Amaoto 23eead90c8 dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs
commit b91cf01cf3 upstream.

The timer registers of aclint don't follow the clint layout and can
be mapped on any different offset. As sg2042 uses separated timer
and mswi for its clint, it should follow the aclint spec and have
separated registers.

The previous patch introduced a new type of T-HEAD aclint timer which
has clint timer layout. Although it has the clint timer layout, it
should follow the aclint spec and uses the separated mtime and mtimecmp
regs. So a ABI change is needed to make the timer fit the aclint spec.

To make T-HEAD aclint timer more closer to the aclint spec, use
regs-names to represent the mtimecmp register, which can avoid hack
for unsupport mtime register of T-HEAD aclint timer.

Also, as T-HEAD aclint only supports mtimecmp, it is unnecessary to
implement the whole aclint spec. To make this binding T-HEAD specific,
only add reg-name for existed register. For details, see the discussion
in the last link.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
Fixes: 4734449f73 ("dt-bindings: timer: Add Sophgo sg2042 CLINT timer")
Link: https://lists.infradead.org/pipermail/opensbi/2023-October/005693.html
Link: https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc
Link: https://lore.kernel.org/all/IA1PR20MB4953F9D77FFC76A9D236922DBBB6A@IA1PR20MB4953.namprd20.prod.outlook.com/
Acked-by: Guo Ren <guoren@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/IA1PR20MB49531ED1BCC00D6B265C2D10BB86A@IA1PR20MB4953.namprd20.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-01-25 15:45:10 -08:00
..
actions,owl-timer.txt dt-bindings/clocksource: Add Actions Semi S700 timer 2018-01-08 17:57:22 +01:00
allwinner,sun4i-a10-timer.yaml dt-bindings: Remove 'Device Tree Bindings' from end of title: 2022-08-25 14:06:57 -05:00
allwinner,sun5i-a13-hstimer.yaml dt-bindings: Remove 'Device Tree Bindings' from end of title: 2022-08-25 14:06:57 -05:00
altr,timer-1.0.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
amlogic,meson6-timer.yaml dt-bindings: timer: convert timer/amlogic,meson6-timer.txt to dt-schema 2023-04-04 12:12:13 -05:00
arm,arch_timer.yaml dt-bindings: timer: arm,arch_timer: Allow dual compatible string 2022-09-26 13:35:27 -05:00
arm,arch_timer_mmio.yaml dt-bindings: timer: Drop unneeded quotes 2023-04-18 18:46:20 -05:00
arm,armv7m-systick.yaml dt-bindings: timer: armv7m-systick: convert to dtschema 2022-02-11 11:01:30 -06:00
arm,global_timer.yaml dt-bindings: Add missing 'additionalProperties: false' 2020-03-31 09:03:17 -06:00
arm,mps2-timer.txt dt-bindings: document the MPS2 timer bindings 2016-04-28 15:09:05 +02:00
arm,sp804.yaml dt-bindings: Use 'enum' instead of 'oneOf' plus 'const' entries 2021-08-30 07:01:24 -05:00
arm,twd-timer.yaml dt-bindings: timer: arm,twd: Convert to json-schema 2021-05-20 15:21:19 -05:00
brcm,bcm2835-system-timer.txt ARM: bcm2835: fix typos in DT binding documentation 2012-10-07 07:02:07 -07:00
brcm,bcmbca-timer.yaml dt-bindings: timer: Add Broadcom's BCMBCA timers 2022-12-07 13:28:09 +00:00
brcm,kona-timer.yaml dt-bindings: timer: brcm,kona-timer: convert to YAML 2023-06-23 09:33:43 +02:00
cdns,ttc.yaml dt-bindings: xilinx: Switch xilinx.com emails to amd.com 2023-06-05 13:09:19 +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
cirrus,ep9301-timer.yaml dt-bindings: timers: Add Cirrus EP93xx 2023-10-15 23:36:36 +02:00
csky,gx6605s-timer.txt dt-bindings: timer: gx6605s SOC timer 2018-11-02 19:41:50 +01:00
csky,mptimer.txt doc: devicetree: bindings: fix spelling mistake 2020-06-18 12:36:53 -06:00
digicolor-timer.txt clocksource: devicetree: Document Conexant Digicolor timer binding 2015-01-29 14:02:14 +01: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
faraday,fttmr010.txt dt-bindings: fttmr010: Add ast2600 compatible 2020-02-21 09:28:38 +01:00
fsl,ftm-timer.txt clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation 2014-05-23 10:12:04 +02:00
fsl,gtm.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
fsl,imxgpt.yaml Devicetree updates for 6.7: 2023-10-31 18:50:13 -10:00
hpe,gxp-timer.yaml dt-bindings: timer: hpe,gxp-timer: Add HPE GXP Timer and Watchdog 2022-05-18 14:05:54 +02:00
img,pistachio-gptimer.txt Documentation: dt: Add Pistachio SoC general purpose timer binding document 2015-09-03 12:08:07 +02:00
ingenic,sysost.yaml dt-bindings: drop redundant part of title (beginning) 2022-12-16 11:41:49 -06:00
ingenic,tcu.yaml docs: move mips under arch 2023-08-18 11:03:52 -06:00
intel,ixp4xx-timer.yaml dt-bindings: timer: Drop unneeded quotes 2023-04-18 18:46:20 -05:00
jcore,pit.txt of: Add J-Core timer bindings 2016-10-20 20:10:17 +02:00
loongson,ls1x-pwmtimer.yaml dt-bindings: timer: Add Loongson-1 clocksource 2023-06-19 17:06:55 +02:00
lsi,zevio-timer.txt clocksource: Add TI-Nspire timer support 2013-06-06 17:23:13 +02:00
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 dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
mediatek,mtk-timer.txt dt-bindings: timer: mediatek,mtk-timer: add MT8365 2023-02-13 13:10:17 +01:00
mrvl,mmp-timer.yaml dt-bindings: drop redundant part of title (end, part three) 2022-12-16 11:41:49 -06:00
mstar,msc313e-timer.yaml dt-bindings: Remove 'Device Tree Bindings' from end of title: 2022-08-25 14:06:57 -05:00
nuvoton,npcm7xx-timer.yaml dt-bindings: timer: nuvoton,npcm7xx-timer: Allow specifying all clocks 2022-12-02 12:48:28 +01:00
nvidia,tegra-timer.yaml dt-bindings: timer: Drop unneeded quotes 2023-04-18 18:46:20 -05:00
nvidia,tegra186-timer.yaml dt-bindings: timer: Drop unneeded quotes 2023-04-18 18:46:20 -05:00
nxp,lpc3220-timer.txt doc: dt: Add documentation for lpc3220-timer 2015-06-02 12:10:11 +02:00
nxp,sysctr-timer.yaml dt-bindings: timer: nxp,sysctr-timer: add nxp,no-divider property 2022-09-20 10:49:46 +02:00
nxp,tpm-timer.yaml dt-bindings: timer: tpm-timer: Add imx8ulp compatible string 2021-11-29 11:02:02 +01:00
ralink,rt2880-timer.yaml dt-bindings: timers: Add Ralink SoCs timer 2023-06-23 09:33:43 +02:00
rda,8810pl-timer.yaml dt-bindings: timer: Convert rda,8810pl-timer to YAML 2022-05-05 17:12:52 -05:00
renesas,cmt.yaml dt-bindings: timer: renesas,cmt: Add r8a779g0 CMT support 2022-12-02 13:42:32 +01:00
renesas,em-sti.yaml dt-bindings: timer: Add renesas,em-sti bindings 2020-05-23 00:03:37 +02:00
renesas,mtu2.yaml dt-bindings: timer: renesas: mtu2: Convert to json-schema 2020-05-28 20:57:51 -06:00
renesas,ostm.yaml dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2UL OSTM 2022-04-25 15:30:57 -05:00
renesas,rz-mtu3.yaml dt-bindings: timer: renesas,rz-mtu3: Document RZ/{G2UL,Five} SoCs 2023-10-11 09:03:55 +02:00
renesas,tmu.yaml dt-bindings: timer: renesas,tmu: Add r8a779g0 support 2022-12-02 13:29:34 +01:00
renesas,tpu.yaml dt-bindings: timer: renesas,tpu: Convert to json-schema 2021-05-12 21:35:14 -05:00
riscv,timer.yaml dt-bindings: timer: Add bindings for the RISC-V timer device 2023-02-13 13:10:16 +01:00
rockchip,rk-timer.yaml dt-bindings: timer: rockchip: Add rk3588 compatible 2023-04-24 16:56:14 +02:00
samsung,exynos4210-mct.yaml dt-bindings: timer: exynos4210-mct: Add ARTPEC-8 MCT support 2022-09-20 10:49:45 +02:00
sifive,clint.yaml dt-bindings: timer: Add SOPHGO CV1800B clint 2023-10-07 13:34:09 +01:00
snps,arc-timer.txt dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
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
snps,dw-apb-timer.yaml dt-bindings: add resets property to dw-apb-timer 2021-02-22 17:51:12 -08:00
socionext,milbeaut-timer.txt dt-bindings: timer: Add Milbeaut M10V timer description 2019-03-01 15:18:27 +01:00
spreadtrum,sprd-timer.txt dt-bindings/clocksource: Add Spreadtrum SC9860 timer documentation 2018-01-08 17:57:24 +01:00
st,nomadik-mtu.yaml dt-bindings: timer: Drop unneeded quotes 2023-04-18 18:46:20 -05:00
st,spear-timer.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
st,stih407-lpc clocksource: bindings: Provide bindings for ST's LPC Clocksource device 2015-07-23 17:07:33 +01:00
st,stm32-timer.yaml dt-bindings: drop redundant part of title (end, part three) 2022-12-16 11:41:49 -06:00
thead,c900-aclint-mtimer.yaml dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs 2024-01-25 15:45:10 -08:00
ti,davinci-timer.txt dt-bindings: timer: new bindings for TI DaVinci timer 2018-06-26 16:17:08 +05:30
ti,keystone-timer.txt clocksource/drivers: Replace HTTP links with HTTPS ones 2020-07-23 16:57:43 +02:00
ti,timer-dm.yaml dt-bindings: timer: Add power-domains for TI timer-dm on K3 2022-09-29 14:02:47 -05:00
via,vt8500-timer.txt dt-bindings: move various timer bindings to timer/ directory 2018-04-27 16:56:47 -05:00
xlnx,xps-timer.yaml dt-bindings: Remove 'Device Tree Bindings' from end of title: 2022-08-25 14:06:57 -05:00