qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 18/18] hw/rtc: Add Ricoh RS5C372 RTC emulation


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 18/18] hw/rtc: Add Ricoh RS5C372 RTC emulation
Date: Mon, 10 Feb 2025 15:26:00 +0100
User-agent: Mozilla Thunderbird

On 6/2/25 22:58, Bernhard Beschow wrote:


Am 6. Februar 2025 17:32:31 UTC schrieb Peter Maydell 
<peter.maydell@linaro.org>:
On Tue, 4 Feb 2025 at 09:21, Bernhard Beschow <shentey@gmail.com> wrote:

The implementation just allows Linux to determine date and time.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
  MAINTAINERS         |   1 +
  hw/rtc/rs5c372.c    | 227 ++++++++++++++++++++++++++++++++++++++++++++
  hw/rtc/Kconfig      |   5 +
  hw/rtc/meson.build  |   1 +
  hw/rtc/trace-events |   4 +
  5 files changed, 238 insertions(+)
  create mode 100644 hw/rtc/rs5c372.c

Should there be a patch after this one that adds this device
to your board ?

As per Kconfig the board selects I2C_DEVICES and this device is "default y if 
I2C_DEVICES". I've deliberately not hardcoded this device to the board to make it 
emulate a plain i.MX 8M Plus SoC (see also board documentation).

Then maybe add a test to be sure it is not bitroting?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]