This series migrates the i.MX timer devices (EPIT and GPT) from the
deprecated device_class_set_legacy_reset() interface to the three-phase
Resettable interface, implementing the hold phase.
In both devices, software-triggered resets via the control register
(CR.SWR) preserve specific control bits and continue to use their
internal soft-reset path, while hardware device reset is wired to
ResettableClass::phases.hold.
Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
Oscar Alejandro Sánchez Lucero (2):
hw/timer/imx_epit: Migrate from legacy_reset to Resettable
hw/timer/imx_gpt: Migrate from legacy_reset to Resettable
hw/timer/imx_epit.c | 7 ++++---
hw/timer/imx_gpt.c | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
---
base-commit: 3c061218fcf37a98c944ecb88cff56f94f5c0a43
change-id: 20261203-reset-timer-imx-ab4a986d6ccf
Best regards,
--
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>