- Fix -Wunused-but-set-variable warning for the iMX GPT timer (Daniel
  Lezcano)

- Add Pixel6 compatible string for Exynos 4210 MCT timer (Peter Griffin)

- Fix all kernel-doc warnings and misuse of comment format (Randy
  Dunlap)

- Document in the DT bindings the interrupt used for input capture
  interrupt and udpate the example to match the reality (Geert
  Uytterhoeven)

- Document RZ/Five SoC DT bindings (Lad Prabhakar)

- Add DT bindings support for the i.MX95, reorganize the driver to
  move globale variables to a timer private structure and introduce
  the i.MX95 timer support (Peng Fan)

- Fix prescalar value to conform to the ARM global timer
  documentation. Fix data types and comparison, guard the divide by
  zero code section and use the available macros for bit manipulation
  (Martin Blumenstingl)

- Add Ralink SoCs system tick counter (Sergio Paracuellos)

- Add support for cadence TTC PWM (Mubin Sayyed)

- Clear timer interrupt on timer initialization to prevent the
  interrupt to fire during setup (Ley Foon Tan)
clocksource/drivers/timer-riscv: Clear timer interrupt on timer initialization

In the RISC-V specification, the stimecmp register doesn't have a default
value. To prevent the timer interrupt from being triggered during timer
initialization, clear the timer interrupt by writing stimecmp with a
maximum value.

Fixes: 9f7a8ff6391f ("RISC-V: Prefer sstc extension if available")
Cc: <stable@vger.kernel.org>
Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240306172330.255844-1-leyfoon.tan@starfivetech.com
1 file changed