Skip to content
Commit cdfa11ee authored by Emilio Benavente's avatar Emilio Benavente Committed by Carles Cufí
Browse files

drivers: counter: mcux_lptmr: Updated lptmr to support multi instance.



Updated the counter_mcux_lptmr driver to support multiple
instances of the lptmr peripheral. Also added a new
binding property to identify if the user is using
counter-mode or pulse mode. since we were previously using the
prescaler value to check this which could be wrong
if used as a division value for getting the freq.
Added a property that allows the user to decide
what the counter value in lptmr should be divided by.
Cleaned up INIT macro for lptmr.

Signed-off-by: default avatarEmilio Benavente <emilio.benavente@nxp.com>
parent edfeedfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment