drivers: timer: NXP OS Timer updated for low power modes

Add ability to set a wakeup counter in case OS Timer is
disabled in certain low power modes. Also add code to
compensate the tick value.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2023-11-09 08:08:11 -06:00 committed by Alberto Escolar
commit 4045975c80
3 changed files with 171 additions and 7 deletions

View file

@ -13,3 +13,10 @@ properties:
interrupts:
required: true
deep-sleep-counter:
type: phandle
description: |
Instance of a counter peripheral. The OS Timer maybe powered off in
certain deep power down modes. The OS Timer driver will use this
counter to wakeup and also to keep track of system time.