[PATCH 0/2] hw/timer: Migrate i.MX timers from legacy_reset to Resettable

Oscar Alejandro Sánchez Lucero posted 2 patches 3 days, 16 hours ago
hw/timer/imx_epit.c | 7 ++++---
hw/timer/imx_gpt.c  | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
[PATCH 0/2] hw/timer: Migrate i.MX timers from legacy_reset to Resettable
Posted by Oscar Alejandro Sánchez Lucero 3 days, 16 hours ago
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>