From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
To: Tom Rini <trini@konsulko.com>
Cc: Bin Meng <bmeng.cn@gmail.com>, Simon Glass <sjg@chromium.org>,
Sergei Antonov <saproj@gmail.com>,
Chris Packham <judge.packham@gmail.com>,
u-boot@lists.denx.de,
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: [PATCH 0/2] rtc: driver for Goldfish RTC
Date: Sun, 31 Dec 2023 00:52:59 +0100 [thread overview]
Message-ID: <20231230235301.236868-1-heinrich.schuchardt@canonical.com> (raw)
The Goldfish RTC is a virtual device which may be supplied by QEMU.
It is enabled by default on QEMU's RISC-V virt machine.
Provide a driver and enable it by default on RISC-V QEMU.
Heinrich Schuchardt (2):
rtc: driver for Goldfish RTC
riscv: qemu: imply GOLDFISH_RTC
board/emulation/qemu-riscv/Kconfig | 2 +
drivers/rtc/Kconfig | 7 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/goldfish_rtc.c | 105 +++++++++++++++++++++++++++++
4 files changed, 115 insertions(+)
create mode 100644 drivers/rtc/goldfish_rtc.c
--
2.43.0
next reply other threads:[~2023-12-30 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-30 23:52 Heinrich Schuchardt [this message]
2023-12-30 23:53 ` [PATCH 1/2] rtc: driver for Goldfish RTC Heinrich Schuchardt
2023-12-30 23:53 ` [PATCH 2/2] riscv: qemu: imply GOLDFISH_RTC Heinrich Schuchardt
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=20231230235301.236868-1-heinrich.schuchardt@canonical.com \
--to=heinrich.schuchardt@canonical.com \
--cc=bmeng.cn@gmail.com \
--cc=judge.packham@gmail.com \
--cc=saproj@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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;
as well as URLs for NNTP newsgroup(s).