mbox series

[0/2] rtc: driver for Goldfish RTC

Message ID 20231230235301.236868-1-heinrich.schuchardt@canonical.com
Headers show
Series rtc: driver for Goldfish RTC | expand

Message

Heinrich Schuchardt Dec. 30, 2023, 11:52 p.m. UTC
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