counter: nxp_pit: use clock control to obtain module's clock rate

Use standard clock control API to retrieve the PIT clock rate instead of
using the HAL.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Argüelles 2023-09-19 18:49:40 +07:00 committed by Carles Cufí
commit 45c8cb2343
4 changed files with 32 additions and 7 deletions

View file

@ -11,6 +11,9 @@ properties:
reg:
required: true
clocks:
required: true
pit-channel:
type: int
required: true