-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry picked from commit cdfa11e) Original-Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com> GitOrigin-RevId: cdfa11e Cr-Build-Id: 8738457431847540977 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8738457431847540977 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Idb0452aaa868a225196157ed857a0a6a63bf4a8b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5817332 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org>
- Loading branch information
1 parent
62cce0d
commit 56c1c18
Showing
3 changed files
with
92 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters