|
|
Log in / Subscribe / Register

timers: Add support for RZ/N1 SoCs timers

From:  "Herve Codina (Schneider Electric)" <herve.codina-AT-bootlin.com>
To:  Wolfram Sang <wsa+renesas-AT-sang-engineering.com>, Herve Codina <herve.codina-AT-bootlin.com>, Daniel Lezcano <daniel.lezcano-AT-linaro.org>, Thomas Gleixner <tglx-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Geert Uytterhoeven <geert+renesas-AT-glider.be>, Magnus Damm <magnus.damm-AT-gmail.com>
Subject:  [PATCH 0/4] timers: Add support for RZ/N1 SoCs timers
Date:  Tue, 31 Mar 2026 17:26:11 +0200
Message-ID:  <20260331152616.197031-1-herve.codina@bootlin.com>
Cc:  linux-renesas-soc-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, Pascal Eberhard <pascal.eberhard-AT-se.com>, Miquel Raynal <miquel.raynal-AT-bootlin.com>, Thomas Petazzoni <thomas.petazzoni-AT-bootlin.com>
Archive-link:  Article

The Renesas RZ/N1 SoCs family has two timers block controller
available.

Each controller is charge of 8 timers (six 16-bit timers + two 32-bit
timers).

Each timer has its own interrupt, its own prescaler that can be used to
device the clock by 25 (timers block are fed with a 25 MHz clock) and
all timers can work in either one-shot or periodic mode.

This series adds support for those timers blocks.

Best regards,
Hervé

Herve Codina (Schneider Electric) (4):
  dt-bindings: timer: Add the Renesas RZ/N1 timer
  clocksource/drivers: Add support for the Renesas RZ/N1 timers
  ARM: dts: r9a06g032: Add support for timers
  MAINTAINERS: Add the Renesas RZ/N1 timers driver entry

 .../bindings/timer/renesas,rzn1-timer.yaml    |  75 +++
 MAINTAINERS                                   |   7 +
 arch/arm/boot/dts/renesas/r9a06g032.dtsi      |  34 ++
 drivers/clocksource/Kconfig                   |  10 +
 drivers/clocksource/Makefile                  |   1 +
 drivers/clocksource/timer-rzn1.c              | 442 ++++++++++++++++++
 6 files changed, 569 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/renesas,rzn1-timer.yaml
 create mode 100644 drivers/clocksource/timer-rzn1.c

-- 
2.53.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds