-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Introduce siwg917 #85144
base: main
Are you sure you want to change the base?
Introduce siwg917 #85144
Conversation
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. |
cbec0d6
to
0b31cdf
Compare
0b31cdf
to
17b4e6f
Compare
Currently, ns16550 allows the user to specify a clock attribute in the Device Tree. This node is use to retrieve the internal frequency of the hardware block. However, ns16550 expects the clock is already initialised and it doesn't try to enable it. Let's fix that issue. Signed-off-by: Jérôme Pouiller <[email protected]>
WiseConnect SDK is need for Silabs SiWx91x series. Signed-off-by: Jérôme Pouiller <[email protected]>
This driver is mostly the initial seed for further implementation of a real clock driver. It doesn't allow the user to choose the clock source for the various peripherals. The driver hardcodes some sane values. Signed-off-by: Jérôme Pouiller <[email protected]>
a55ac3c
to
023300b
Compare
Introduce minimal support for Silicon Labs SiWx91x family. SiWx91x provide many device and especially Bluetooth and Wifi connectivity. This patch prepare Zephyr to receive further drivers. Signed-off-by: Jérôme Pouiller <[email protected]>
This new board definition allow to test Silicon Labs SiWx917 SoC. Signed-off-by: Jérôme Pouiller <[email protected]>
This device is included on Silabs SiWx91x series. The current driver is able to manage "High Power" and "Ultra Low Power" pins. Co-authored-by: Aksel Skauge Mellbye <[email protected]> Signed-off-by: Aksel Skauge Mellbye <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
Report pinctrl configuration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
Implement GPIO driver for Siliconlab SiWx917 family. This driver support high Performance (HP), Ultra Low Power (ULP) and Ultra Ultra Low Power (UULP) GPIOs. Signed-off-by: Jérôme Pouiller <[email protected]>
Report gpio configuration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
Ensure nobdy break compatibility with SiWx91x chipsets. Signed-off-by: Jérôme Pouiller <[email protected]>
Support for random number generator is required for most of the cryptographic operations, including support for WiFi and TLS. This driver has been tested with tests/drivers/entropy: *** Booting Zephyr OS build v3.7.0-4339-g1ec5ce05f9f8 *** Running TESTSUITE entropy_api =================================================================== START - test_entropy_get_entropy random device is 0x8217298, name is rng@45090000 0x93 0x3e 0xf1 0x68 0xd4 0x22 0xbf 0x4d 0xad PASS - test_entropy_get_entropy in 0.012 seconds =================================================================== TESTSUITE entropy_api succeeded ------ TESTSUITE SUMMARY START ------ SUITE PASS - 100.00% [entropy_api]: pass = 1, fail = 0, skip = 0 ... - PASS - [entropy_api.test_entropy_get_entropy] duration = 0.01 ... ------ TESTSUITE SUMMARY END ------ =================================================================== RunID: d1547c805699201af769cb01331efcce PROJECT EXECUTION SUCCESSFUL Co-authored-by: Tibor Laczko <[email protected]> Signed-off-by: Tibor Laczko <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
Report entropy configuration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
Implement DMA driver for siwx917 using UDMA peripheral. For now, Scatter/Gather DMA is not yet supported. Signed-off-by: Jérôme Pouiller <[email protected]>
Report DMA configuration in the board definitions. Note the addresses of the DMA buffers are hardcoded in the HAL. So, these areas have to be declared in the linker file. Signed-off-by: Jérôme Pouiller <[email protected]>
Ensure nobdy break compatibility with SiWx91x chipsets. Signed-off-by: Jérôme Pouiller <[email protected]>
Network Processor (NWP) is used to run WiFi, Bluetooth and Flash drivers. Co-authored-by: Tibor Laczko <[email protected]> Signed-off-by: Tibor Laczko <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
Add flash driver for Silicon Labs SiWx91x family. Co-authored-by: Martin Hoff <[email protected]> Signed-off-by: Martin Hoff <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
A specific section of the flash on the SiWx917 is reserved for the Network co-processor (NWP). This zone needs to be delimited in order to not overwrite it. We then need to use "code-partition" to provide Zephyr the application code flash location. Co-authored-by: Martin Hoff <[email protected]> Signed-off-by: Martin Hoff <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
Ensure nobdy break compatibility with SiWx91x chipsets. Signed-off-by: Jérôme Pouiller <[email protected]>
Driver was tested with a custom application which enabled the BT_SHELL. Basic functionalities were verified: - Scanning - Advertising - Connecting Configuration needed for the test: - CONFIG_BT=y - CONFIG_BT_PERIPHERAL=y - CONFIG_BT_CENTRAL=y - CONFIG_BT_SHELL=y - CONFIG_SHELL=y Co-authored-by: Tibor Laczko <[email protected]> Signed-off-by: Tibor Laczko <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
Report Bluetooth HCI declaration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
This driver allow to use Zephyr native IP stack or the IP stack provided by HAL / WiseConnect. The WiseConnect implementation may take advantage of the specific features provided by the 917 (power consumption, speed, validation...). Some notable features are not available with this interface: - It seems Zephyr does not provide API to offload multicast membership management. User should be to directly call WiseConnect APIs - Support for ICMP frames is difficult. Note that WiseConnect automatically answer to ping request. It is just not possible to send ping requests and receive ping responses. - Zephyr and WiseConnect both support TLS offloading. However this patch does not implement it. - Reentrancy in the WiseConnect side is uncertain. This implementation has been tested with samples/net/wifi/ (which relies on subsys/net/lib/shell). Signed-off-by: Jérôme Pouiller <[email protected]>
Report WiFi declaration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
Ensure nobdy break compatibility with SiWx91x chipsets. Signed-off-by: Jérôme Pouiller <[email protected]>
For now driver snps,designware-i2c does not support "clocks" attribute. So this patch hardcode the clock configuration in the init of the clock driver. Signed-off-by: Jérôme Pouiller <[email protected]>
Report i2c configuration in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
Report configuration of the Si7021 in the board definitions. Signed-off-by: Jérôme Pouiller <[email protected]>
023300b
to
0a60cf9
Compare
source "drivers/bluetooth/hci/Kconfig.silabs" | ||
|
||
config BT_SILABS_SIWX91X |
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.
This should probably go before the source "drivers/bluetooth/hci/Kconfig.silabs"
line, so that options specific to the 917 HCI driver can be put into Kconfig.silabs
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.
Actually, I think it'd be even justified to move the top-level Silabs driver options into that file too, however if the current situation is the common practice for HCI drivers we can do the refactoring in a later PR too.
Add support for Silicon Labs SiWx91x series.