mbox series

[v2,0/2] Improve CLOCK_EVT_FEAT_C3STOP feature setting

Message ID 20220727114302.302201-1-apatel@ventanamicro.com (mailing list archive)
Headers show
Series Improve CLOCK_EVT_FEAT_C3STOP feature setting | expand

Message

Anup Patel July 27, 2022, 11:43 a.m. UTC
This series improves the RISC-V timer driver to set CLOCK_EVT_FEAT_C3STOP
feature based on RISC-V platform capabilities.

These patches can also be found in riscv_timer_dt_imp_v2 branch at:
https://github.com/avpatel/linux.git

Changes since v1:
 - Rebased on Linux-5.19-rc8
 - Renamed "riscv,always-on" DT property to "riscv,timer-can-wake-cpu"

Anup Patel (2):
  dt-bindings: riscv: Add optional DT property riscv,timer-can-wake-cpu
  clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT
    property

 Documentation/devicetree/bindings/riscv/cpus.yaml | 6 ++++++
 drivers/clocksource/timer-riscv.c                 | 6 +++++-
 2 files changed, 11 insertions(+), 1 deletion(-)