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).