drivers: adc: Refactor and fix adc_msp_hsadc driver, add board overlays#12
Merged
padmaraghunathan90 merged 10 commits intodev_mspm33from Feb 26, 2026
Merged
Conversation
3a4e40d to
d9b2206
Compare
d9b2206 to
af4fb4e
Compare
Shreyas-Shankar155
requested changes
Feb 19, 2026
730d6ba to
cb70039
Compare
Collaborator
Author
|
Added adc_dt, adc_sequence (samples) , adc_api, and adc_error_cases (tests) builds to dev_mspm33_build.yml for comprehensive ADC validation on LP_MSPM33C321A. |
natto1784
reviewed
Feb 20, 2026
79ceb93 to
33c291b
Compare
35e065f to
be14f03
Compare
Update the DL APIs to latest SDK changes Refactor data structures, functions and macros to improve code maintainability and reduces complexity Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add overlay for TI lp_mspm33c321a board to run adc_dt sample. Update overlay of adc_sequence sample. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
…rror_cases tests Add device tree overlays to enable ADC testing on the lp_mspm33c321a board Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add support for external hardware-triggered DMA transfers with proper trigger type configuratios. Use BIT(channel) macro for better code clarity and compliance Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add optional dmas property to the adc binding to allow DMA based result transfer from the ADC Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Assign DMA channels and trigger sources to adc0 and adc1 nodes for DMA transfer Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add optional DMA mode that reads conversion result from the HSADC FIFO via DMA instead of the ISR. DMA mode is gated behind CONFIG_ADC_MSP_HSADC_DMA and falls back to interrupt driven mode when dmas property is absent Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Enable DMA and ADC DMA Kconfig for the adc_dt sample on lp_mspm33c321a board. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Add adc_dt, adc_sequence, adc_api, and adc_error_cases builds to dev_mspm33_build.yml for comprehensive ADC validation on LP_MSPM33C321A. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
Extend title underlines to match or exceed title length in the LP_MSPM33C321A board documentation, resolving Sphinx build warnings. Signed-off-by: Aman Lachhiramka <a-lachhiramka@ti.com>
be14f03 to
3172262
Compare
MihiraMadhava
approved these changes
Feb 25, 2026
padmaraghunathan90
approved these changes
Feb 26, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major refactoring of the MSPM33 HSADC driver to fix bugs, reduce complexity, and align with Zephyr ADC API conventions. Adds board overlays for upstream ADC samples and tests.
Testing: