Repository navigation
UPSTREAM-PEND: backport flash driver support for MSPM0 - #60
Draft
Sunil-Hegde wants to merge 13 commits into
Draft
Sunil-Hegde wants to merge 13 commits into
Sunil-Hegde wants to merge 13 commits into
Conversation
Sunil-Hegde
force-pushed
the
mspm0_flash_downstream
branch
2 times, most recently
from
October 5, 2026 08:24
427a605 to
fd7a35a
Compare
|
Better to add some tests and samples hardware runtime logs in this PR as this is from linumiz |
Sunil-Hegde
force-pushed
the
mspm0_flash_downstream
branch
from
October 6, 2026 08:45
fd7a35a to
64cc985
Compare
…ntr... PR: 91500 Add Flash Controller binding for Texas Instruments MSPM0 Family Series Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com> Signed-off-by: Jackson Farley <j-farley@ti.com>
PR: 91500 Add Flash driver for Texas Instruments MSPM0 Family Series Currently driver supports only read,write,erase operations on non-volatile flash MAIN memory region. Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com> Signed-off-by: Jackson Farley <j-farley@ti.com>
PR: 91500 Add Flash controller support for MSPM0 and move non-volatile flash memory under flash controller, bcoz it accessed via flash controller driver Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
PR: 91500 flash0 is moved to flash controller node bcoz non-volatile flash memory is accessed through flash controller driver, so fixing it for MSPM0 G series Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
PR: 91500 flash0 is moved to flash controller node bcoz non-volatile flash memory is accessed through flash controller driver, so fixing for MSPM0 L series. Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
… pr... PR: 91500 add flash controller chosen property to access non-volatile flash memory for zephyr,flash chosen property node and adapt partition layout to accomadate storage partition Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
… pr... PR: 91500 add flash controller chosen property to access non-volatile flash memory for zephyr,flash chosen property node and adapt partition layout to accomadate storage partition Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
PR: 91500 Copyright header is missing in these dtsi files, which makes CI Compilance warning, so fixing it Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
Add status check post erase/write operation in-order to insure interrupt was fired for SUCCESS. DONE interrupt is fired for both SUCCESS and FAILURE. Signed-off-by: Sunil Hegde <s-hegde3@ti.com> --- Reason: Addressing review comments on pr 91500
Driverlib suggests using DL_FlashCTL_executeClearStatus before DL_FlashCTL_unprotectSector. Add the same in erase and write APIs. Signed-off-by: Sunil Hegde <s-hegde3@ti.com> --- Reason: Review suggestions on pr 91500
Erase and Write use the offset assuming base address is 0 which is not the case on MSPM33. Use base_address_offset in write and erase APIs same as read. Signed-off-by: Sunil Hegde <s-hegde3@ti.com> --- Reason: Review comments on pr 91500
Change the valid_range check in if condition from comparing with 0 to not operation for readability. Signed-off-by: Sunil Hegde <s-hegde3@ti.com> --- Reason: Review comments on pr 91500
Add flash node and mark partitions for boot, image and storage for mspm0g3519. Signed-off-by: Sunil Hegde <s-hegde3@ti.com> --- Reason: Add additional board support apart from the original PR adds.
Sunil-Hegde
force-pushed
the
mspm0_flash_downstream
branch
from
October 7, 2026 09:19
64cc985 to
0f6dc0a
Compare
|
Check the upstream merged PR of updating zephyr partitioning happening again in this PR |
Sunil-Hegde
marked this pull request as draft
October 8, 2026 07:13
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.
This is not merged upstream and is based on HAL. Added TI specific commits addressing the open reviews.
pr: 91500
lp_mspm0g3519,
tests/drivers/flash/commontests/drivers/flash_api:I have tested erase blocks and negative tests as well but logs are too big to paste here.