-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Add support for TI's MSPM0L series #90809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Update manifest to point MSPM0L series support. Currently it only supports L2228's devicetree pin functions. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
MSPM0Lx series supports pin function upto 11 i.e 0xb, extend the pin control function number to 11. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
mspm0 series (currently g, l and c) shares the common SoC level init functions and pin control/muxing configurations. To avoid duplication for each series, create a common path and move the SoC and pin control definitions. Other common functionalities like Power Management, Power off handling will be added in future, which will be common across series. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
although udiv is represented in clock tree of L series, this is not really present or controllable from SYSCTL registers. Enable udiv only if present in dts. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
mspm0 family of SoC series is split into three category, mspm0g - high performance mspm0l - low power mspm0c - entry level With G already part added, add support for L series of SoC's. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
All the HAL API/wrapper depends on PINCM indexing, which cannot be derived from neither pin number nor the address offset. With current approach, update the LUT table of possible PINCM's for L series with GPIO A, B and C banks. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
LUT sizes directly reflects the global data when enabled in dts (even if no or few pins are really consumed). Also the PINCM numbering across the series (g, l and c) is within 255, so fix to use uint8_t to save the global space. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
mspm0lx series comes with various SoC's which varies in RAM, Flash size and also with peripherals. Add support for all the currently available SoC's with basic template. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
MSPM0L2228 launchpad provides evaluation and development platform with 32KB SRAM and 256KB Flash. This board also comes with 32Mhz external high frequency crystal and 32.768Khz low frequency crystal. Also LCD (only with L2228 SoC's) is included with many multi-function PIO's exposed. Add support with basic UART and LED functions. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
fix the clang compliance check using inling, clang-format drivers/gpio/gpio_mspm0.c -i as the changes are beyond what is changed as part of L series addition, fix all at once with independent commit. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
375695e
to
5bccce3
Compare
|
DT_CHOSEN_Z_FLASH := zephyr,flash | ||
|
||
config FLASH_SIZE | ||
default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K) | ||
|
||
config FLASH_BASE_ADDRESS | ||
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move into if part below
flash0: serial-flash@0 { | ||
reg = <0x0 DT_SIZE_K(8)>; | ||
}; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing bracket
|
||
flash0: serial-flash@0 { | ||
reg = <0x0 DT_SIZE_K(16)>; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix in all files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
convert to webp then put through https://tinypng.com/
@@ -0,0 +1,10 @@ | |||
# SPDX-License-Identifier: Apache-2.0 | |||
|
|||
# Enable uart driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*UART
This PR includes changes to support MSPM0L series of SoC and it can be evaluated using L2228 based launchpad.
At this point, this PR only includes basic template for the SoC, DTS and working board with UART and GPIO. Remaining functionalities will be enabled in upcoming works.
Signed-off-by: Parthiban Nallathambi parthiban@linumiz.com