.../bindings/timer/riscv,timer.yaml | 52 +++++++++++++++++++ arch/riscv/kernel/time.c | 3 ++ drivers/clocksource/timer-riscv.c | 10 ++++ 3 files changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/riscv,timer.yaml
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_v6 branch at: https://github.com/avpatel/linux.git Changes since v5: - Rebased on Linux-6.2-rc2 Changes since v4: - Update commit text of PATCH1 based on Samuel's comments - Renamed DT property "riscv,timer-can-wake-cpu" to "riscv,timer-cannot-wake-cpu" in PATCH2 and PATCH3 - Updated description of DT property "riscv,timer-cannot-wake-cpu" in PATCH2 Changes since v3: - Rebased on Linux-6.1-rc7 - Replaced PATCH1 with a patch to initialize broadcast timer Changes since v2: - Include Conor's revert patch as the first patch and rebased other patches - Update PATCH2 to document bindings for separate RISC-V timer DT node - Update PATCH3 based on RISC-V timer DT node bindings 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: timer: Add bindings for the RISC-V timer device clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT Conor Dooley (1): RISC-V: time: initialize hrtimer based broadcast clock event device .../bindings/timer/riscv,timer.yaml | 52 +++++++++++++++++++ arch/riscv/kernel/time.c | 3 ++ drivers/clocksource/timer-riscv.c | 10 ++++ 3 files changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/riscv,timer.yaml -- 2.34.1
On 03/01/2023 15:10, Anup Patel wrote: > 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_v6 branch at: > https://github.com/avpatel/linux.git > > Changes since v5: > - Rebased on Linux-6.2-rc2 Applied, thanks -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Hi Anup, shall I pick the entire series or just the bindings and the driver changes ? On 03/01/2023 15:10, Anup Patel wrote: > 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_v6 branch at: > https://github.com/avpatel/linux.git > > Changes since v5: > - Rebased on Linux-6.2-rc2 > > Changes since v4: > - Update commit text of PATCH1 based on Samuel's comments > - Renamed DT property "riscv,timer-can-wake-cpu" to > "riscv,timer-cannot-wake-cpu" in PATCH2 and PATCH3 > - Updated description of DT property "riscv,timer-cannot-wake-cpu" > in PATCH2 > > Changes since v3: > - Rebased on Linux-6.1-rc7 > - Replaced PATCH1 with a patch to initialize broadcast timer > > Changes since v2: > - Include Conor's revert patch as the first patch and rebased other patches > - Update PATCH2 to document bindings for separate RISC-V timer DT node > - Update PATCH3 based on RISC-V timer DT node bindings > > 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: timer: Add bindings for the RISC-V timer device > clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT > > Conor Dooley (1): > RISC-V: time: initialize hrtimer based broadcast clock event device > > .../bindings/timer/riscv,timer.yaml | 52 +++++++++++++++++++ > arch/riscv/kernel/time.c | 3 ++ > drivers/clocksource/timer-riscv.c | 10 ++++ > 3 files changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/riscv,timer.yaml > -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
On Wed, Jan 4, 2023 at 6:32 PM Daniel Lezcano <daniel.lezcano@linaro.org> wrote: > > > Hi Anup, > > shall I pick the entire series or just the bindings and the driver changes ? Yes, that would be great. Palmer has already ACKed this series. Thanks, Anup > > > On 03/01/2023 15:10, Anup Patel wrote: > > 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_v6 branch at: > > https://github.com/avpatel/linux.git > > > > Changes since v5: > > - Rebased on Linux-6.2-rc2 > > > > Changes since v4: > > - Update commit text of PATCH1 based on Samuel's comments > > - Renamed DT property "riscv,timer-can-wake-cpu" to > > "riscv,timer-cannot-wake-cpu" in PATCH2 and PATCH3 > > - Updated description of DT property "riscv,timer-cannot-wake-cpu" > > in PATCH2 > > > > Changes since v3: > > - Rebased on Linux-6.1-rc7 > > - Replaced PATCH1 with a patch to initialize broadcast timer > > > > Changes since v2: > > - Include Conor's revert patch as the first patch and rebased other patches > > - Update PATCH2 to document bindings for separate RISC-V timer DT node > > - Update PATCH3 based on RISC-V timer DT node bindings > > > > 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: timer: Add bindings for the RISC-V timer device > > clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT > > > > Conor Dooley (1): > > RISC-V: time: initialize hrtimer based broadcast clock event device > > > > .../bindings/timer/riscv,timer.yaml | 52 +++++++++++++++++++ > > arch/riscv/kernel/time.c | 3 ++ > > drivers/clocksource/timer-riscv.c | 10 ++++ > > 3 files changed, 65 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/timer/riscv,timer.yaml > > > > -- > <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs > > Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | > <http://twitter.com/#!/linaroorg> Twitter | > <http://www.linaro.org/linaro-blog/> Blog >
© 2016 - 2025 Red Hat, Inc.