-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix Silabs SoC families #69402
fix Silabs SoC families #69402
Conversation
Hello @jerome-pouiller, and thank you very much for your first pull request to the Zephyr project! |
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
@nordicjm could you review this PR? |
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.
Needs to be signed off and follow https://docs.zephyrproject.org/latest/contribute/guidelines.html
@@ -10,6 +10,6 @@ config UART_GECKO | |||
select SERIAL_HAS_DRIVER | |||
select SERIAL_SUPPORT_INTERRUPT | |||
select SOC_GECKO_USART | |||
select PINCTRL if SOC_GECKO_SERIES1 | |||
select PINCTRL if SOC_FAMILY_SILABS_S1 |
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.
(unrelated to change) but why is pinctrl only selected for a specific series and not the rest?
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.
I think PINCTRL
is also needed for Series 2. For Series 2, the symbol is set in defconfigs of the boards. Obviously, this does not make sense. I believe this symbol should relocate in soc/silabs/s*/Kconfig.soc
.
v2:
|
@@ -1,9 +1,20 @@ | |||
family: | |||
- name: silabs_exx32 |
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.
for a follow up (not this PR) could you add vendor: silabs
EXX32 does not really makes sense. Silabs tends to talk about "series 0", "series 1" and "series 2". Note all Silabs chipsets (whatever their family) tend to share components. So this PR introduces SOC_VENDOR_SILABS to match these common parts. Signed-off-by: Jérôme Pouiller <[email protected]>
Cosmetics changes to reflect the tree organisation. Signed-off-by: Jérôme Pouiller <[email protected]>
SOC_GECKO_SERIES* is now redundant with SOC_FAMILY_*. Signed-off-by: Jérôme Pouiller <[email protected]>
Silabs hardware layer uses Silicon Die ID (SDID) for conditional code. This patch defines SDID directly from Kconfig so Silabs HAL does not have define it. Signed-off-by: Jérôme Pouiller <[email protected]>
Currently, some soc subdirectories contains Kconfig.defconfig.<soc-name> and Kconfig.defconfig. However: - Kconfig.defconfig.<soc-name> is included unconditionally by Kconfig.defconfig - each subdirectory only contains one SoC So, it does not make sense to keep these two files. Signed-off-by: Jérôme Pouiller <[email protected]>
Some changes in hal_silabs are necessary to apply this PR. Signed-off-by: Jérôme Pouiller <[email protected]>
v3:
|
0b5d677
into
zephyrproject-rtos:collab-hwm
Hi @jerome-pouiller! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
No description provided.