public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: Torsten Duwe <duwe@lst.de>
Cc: Rick Chen <rick@andestech.com>,
	Yanhong Wang <yanhong.wang@starfivetech.com>,
	Xingyu Wu <xingyu.wu@starfivetech.com>,
	Mason Huo <mason.huo@starfivetech.com>,
	Hal Feng <hal.feng@starfivetech.com>,
	Simon Glass <sjg@chromium.org>, <u-boot@lists.denx.de>
Subject: Re: [PATCH 1/2] riscv: allow riscv timer to be instantiated via device tree
Date: Mon, 4 Sep 2023 13:57:08 +0800	[thread overview]
Message-ID: <ZPVxtChyM1i3ypTy@swlinux02> (raw)
In-Reply-To: <20230814160528.4979467373@verein.lst.de>

On Mon, Aug 14, 2023 at 06:05:28PM +0200, Torsten Duwe wrote:
> For the architectural timer on riscv, there already is a defined
> device tree binding[1]. Allow timer instances to be created from
> device tree matches, but for now retain the old mechanism, which
> registers the timer biggy-back with the CPU.
> 
> [1] linux/Documentation/devicetree/bindings/timer/riscv,timer.yaml
> 
> Signed-off-by: Torsten Duwe <duwe@suse.de>
> ---
>  drivers/timer/riscv_timer.c | 28 ++++++++++++++++++++++++++--
>  1 file changed, 26 insertions(+), 2 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

  reply	other threads:[~2023-09-04  5:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14 16:04 [PATCH 0/2] riscv: jh7110: visionfive2: fix u-boot crash due to missing timer Torsten Duwe
2023-08-14 16:05 ` [PATCH 1/2] riscv: allow riscv timer to be instantiated via device tree Torsten Duwe
2023-09-04  5:57   ` Leo Liang [this message]
2023-08-14 16:05 ` [PATCH 2/2] riscv: jh7110: enable riscv,timer in the " Torsten Duwe
2023-09-04  5:58   ` Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZPVxtChyM1i3ypTy@swlinux02 \
    --to=ycliang@andestech.com \
    --cc=duwe@lst.de \
    --cc=hal.feng@starfivetech.com \
    --cc=mason.huo@starfivetech.com \
    --cc=rick@andestech.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=xingyu.wu@starfivetech.com \
    --cc=yanhong.wang@starfivetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox