Commit graph

136,983 commits

Author SHA1 Message Date
Jane Gu
e720b99431 drivers: bt: hci: add realtek bee bt hci driver
Add Bluetooth HCI driver implementation for Realtek Bee family SoCs.

Signed-off-by: Jane Gu <jane_gu@realsil.com.cn>
2026-03-19 11:39:07 +00:00
Emil Gydesen
fa87a67169 Bluetooth: ISO: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-19 11:38:12 +00:00
Fin Maaß
9b252abd9a docs: migration-guide: mention change for microchip,lan865x
mention change for microchip,lan865x.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 11:37:05 +00:00
Fin Maaß
6fef8582ce drivers: ethernet: lan865x: use phy-handle
use the dt prop `phy-handle' to get the phy.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 11:37:05 +00:00
Fin Maaß
41ac62b79a dts: allow refering childs with phy-handle
According to the DT spec the 'phy-handle' phandle prop
is required, when a phy is used. As this phy could be
a child, we have to filter it out to not get a cycle in the graph.

This allows the phy to be a child of the eternet controller,
when using the  'phy-handle' dt prop.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 11:37:05 +00:00
Kai Cheng
9906fdbe31 Bluetooth: Test: add dependency for bt_uuid_from_str unit tests
bt_uuid_from_str() uses hex2bin() from lib/utils/hex.c and
uuid_from_string() from lib/uuid/uuid.c. Add both dependencies
to each test CMakeLists.txt that compiles
subsys/bluetooth/host/uuid.c, fixing link failures on the
unit_testing platform.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
3f70be8dbd Bluetooth: Test: add unit tests for bt_uuid_from_str and bt_uuid_compress
Add comprehensive unit tests for bt_uuid_from_str and bt_uuid_compress
functions to ensure proper conversion of string representations to
Bluetooth UUID structures. Tests cover:

- 16-bit UUID string conversion (e.g., "180d")
- 32-bit UUID string conversion (e.g., "abcdef12")
- 128-bit UUID string conversion with standard format
- Invalid input cases (malformed strings, empty strings, wrong lengths)
- bt_uuid_compress: 128-bit base UUID to 16-bit and 32-bit
- bt_uuid_compress: non-base 128-bit UUID returns -ENOTSUP
- bt_uuid_compress: 16-bit passthrough

Includes proper validation of converted UUID values against
expected results using bt_uuid_cmp().

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
f3c178192e Bluetooth: UUID: add bt_uuid_compress helper
Add bt_uuid_compress() to compact a 128-bit Bluetooth UUID into its
16-bit or 32-bit short form when it matches the Bluetooth Base UUID.

If the UUID does not match the Base UUID pattern the 128-bit value is
copied unchanged and -ENOTSUP is returned, allowing callers to
distinguish compressible from non-compressible UUIDs.

16-bit and 32-bit source UUIDs are copied as-is.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
63420b0098 Bluetooth: UUID: add string to UUID conversion function
Implement bt_uuid_from_str() function to convert string representations
to Bluetooth UUID structures. This provides bidirectional conversion
between UUID structures and their string representations, complementing
the existing bt_uuid_to_str() function.

Features:
- Supports 16-bit UUID format (4 hex characters, e.g., "180d")
- Supports 32-bit UUID format (8 hex characters, e.g., "abcdef12")
- Supports 128-bit UUID standard format (with hyphens)
- Comprehensive input validation and error handling
- Automatic UUID type detection based on string length

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
898c4877a2 Bluetooth: UUID: refactor to use generic UUID library
Refactor the Bluetooth UUID module to use the generic UUID library
(lib/uuid) instead of hand-rolled byte manipulation.

Changes:
- Replace bt_uuid_128-based base UUID with struct uuid (RFC 9562 order)
- Replace uuid_to_uuid128() with bt_uuid_to_uuid() for BT-to-generic
  UUID conversion using proper big-endian / byte-swap operations
- Simplify bt_uuid_to_str() 128-bit case via uuid_to_string()
- Add Kconfig 'select UUID' dependency for BT_HCI_HOST

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
sree sreerajatha
da1bbb4b72 doc: dts: add dts api entry for openthread-counter
Add zephyr,openthread-counter to select counter device
used by OpenThread platform for alarm

Signed-off-by: sree sreerajatha <sree.sreerajatha@silabs.com>
2026-03-19 11:36:21 +00:00
sree sreerajatha
75c5f99ded modules: openthread: create counter driver-based Openthread alarm_micro.c
Add counter driver based alarm_micro.c implementation to get better
micro-second accuracy for the APIs.

Signed-off-by: sree sreerajatha <sree.sreerajatha@silabs.com>
2026-03-19 11:36:21 +00:00
sree sreerajatha
7c70f455ee modules: openthread: Split milli and micro second implementation
Split the milli/micro second APIs in OpenThread alarm implementation
so that it is easier to have multiple driver implementations
for them.

Signed-off-by: sree sreerajatha <sree.sreerajatha@silabs.com>
2026-03-19 11:36:21 +00:00
sree sreerajatha
866c14619f tests: drivers: counter: Add counter driver test
Add counter driver test so that it can build with BUILD_ONLY_NO_BLOBS
and successfully use RAIL stubs defined in blob_stub.c

Signed-off-by: sree sreerajatha <sree.sreerajatha@silabs.com>
2026-03-19 11:36:21 +00:00
sree sreerajatha
12136b4eda drivers: counter: silabs add counter driver support for Silabs xg24 boards
Added Silabs Kconfig support for counter driver and implemented the
counter APIs using protimer underneath.

Signed-off-by: sree sreerajatha <sree.sreerajatha@silabs.com>
2026-03-19 11:36:21 +00:00
Gerson Fernando Budke
1637e7edd8 MAINTAINERS: Add test patterns for Microchip platforms
Add test board overlay patterns:

MEC Platforms:
- tests/**/boards/*mec*

PIC32 Platforms:
- tests/**/boards/sam_*
- tests/**/microchip/

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
869d761105 MAINTAINERS: Add include file patterns for Microchip platforms
Add include file patterns to cover header files:

MEC Platforms:
- include/zephyr/*/*/*xec*

SAM Platforms:
- include/zephyr/*/*/*sam*
- include/zephyr/*/*/*atmel*

RISC-V Platforms:
- include/zephyr/dt-bindings/reset/mchp_mss*

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
0204cdf07c MAINTAINERS: Add standalone DTS bindings to Standalone Devices
Add patterns to cover standalone Microchip device bindings:
- dts/bindings/*/microchip,cap* (Touch controllers)
- dts/bindings/*/microchip,enc* (Ethernet controllers)
- dts/bindings/*/microchip,mcp* (ADC, DAC, GPIO expanders, RTC)
- dts/bindings/*/microchip,tcn* (Temperature sensors)
- dts/bindings/**/microchip,ksz* (Ethernet switches/PHY)
- dts/bindings/**/microchip,lan* (Ethernet controllers)
- dts/bindings/**/microchip,t1s* (T1S PHY)
- dts/bindings/**/microchip,vsc* (VSC PHY)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
b278e45838 MAINTAINERS: Add dmec DTS bindings to MEC Platforms
Add dts/bindings/*/microchip,dmec* pattern to cover DMEC bindings.
Note: microchip,mec5* is already covered by microchip,mec* pattern.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
565abc4aa7 MAINTAINERS: Add RISC-V DTS bindings to RISC-V Platforms
Add patterns to cover RISC-V DTS bindings:
- dts/bindings/*/microchip,mpfs* (MPFS mailbox, GPIO, I2C, SPI, etc.)
- dts/bindings/*/microchip,coreuart* (Mi-V CoreUART)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
22aadaaa73 MAINTAINERS: Add SAM DTS bindings to PIC32 Platforms
Add patterns to cover SAM-related DTS bindings:
- dts/bindings/*/microchip/pic32*/
- dts/bindings/*/microchip,sam* (SAM PMC, PIO4, GMAC, etc.)
- dts/bindings/*/microchip,*-g* (generation x bindings)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
7e08ec5ff2 MAINTAINERS: Add Microchip Standalone Devices section
Add new section with 'odd fixes' status for standalone Microchip
devices that need maintainer assignment:
- drivers/bbram/*microchip* (MCP7940N RTC with BBRAM)
- drivers/sensor/microchip/mcp9600/ (Thermocouple sensor)
- drivers/sensor/microchip/mcp970x/ (Temperature sensor)
- drivers/sensor/microchip/mtch9010/ (Touch controller)
- drivers/sensor/microchip/tcn75a/ (Temperature sensor)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
ba142e737f MAINTAINERS: Add mchp_tach_xec sensor to MEC Platforms
Add drivers/sensor/microchip/mchp_tach_xec/ to the MEC Platforms
section as it is a MEC-specific tachometer sensor driver.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
b8c8b36871 MAINTAINERS: Add MSS driver pattern to RISC-V Platforms
Add drivers/*/*mchp*mss* pattern to cover Mi-V/MPFS specific
drivers (GPIO, I2C, SPI, Reset) and their Kconfig files.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
f86809d192 MAINTAINERS: Add XEC driver pattern to MEC Platforms
Add drivers/*/*xec* pattern to cover XEC-specific Kconfig files
and source files (bbram_xec.c, spi_xec_qmspi*.c, input_xec_kbd.c).

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
81e55c1d55 MAINTAINERS: Expand SAM driver pattern to include Kconfig
Change drivers/*/*sam*.c to drivers/*/*sam* to cover Kconfig
files and headers in addition to source files.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
6a170231b3 MAINTAINERS: Add ev11l78a board to Microchip MEC Platforms
Add boards/microchip/ev11l78a/ to the Microchip MEC Platforms
section.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
4984f5173b MAINTAINERS: Move mchp driver pattern from MEC to PIC32
Remove drivers/*/*mchp*.c from MEC Platforms (XEC pattern is
sufficient) and add drivers/*/mchp* to PIC32 Platforms to cover
Kconfig.mchp files and generation 1 drivers.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
e7a1a0a22d MAINTAINERS: Add Microchip PIC32 Platforms area
Add new Microchip PIC32 Platforms section to cover the PIC32 family.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Gerson Fernando Budke
e10ce0f5fa MAINTAINERS: Add atmel_rf2xx shield and driver to Peregrine
Add boards/shields/atmel_rf2xx/ and drivers/ieee802154/*rf2xx*
to Peregrine Platforms section to cover the Atmel RF2xx shield
and its associated IEEE 802.15.4 driver files.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-19 11:36:05 +00:00
Camille BAUD
8fe0ca3e80 tests: build_all: Add test for st7586s
Adds build_all test for st7586s

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-19 11:35:53 +00:00
Camille BAUD
a6d0b4658b drivers: display: Introduce ST7586S
Introduces ST7586S 16-levels grayscale display

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-19 11:35:53 +00:00
Andreas Ålgård
2f6289d792 net: dhcpv4_server: Allow application to reject an address
This is useful if the application may wish to reject an address.
This works well alongside the address_provider callback, this way
you can enforce static leases based on the client id (MAC address).

Signed-off-by: Andreas Ålgård <aal@ixys.no>
2026-03-19 11:35:22 +00:00
akshay bansod
baa6058b08 net: sockets: add missing net_log.h header
compilation of socket_obj_core.c fails due to missing
net_log.h header. Fixes #105692

Signed-off-by: akshay bansod <akbansd@gmail.com>
2026-03-19 11:34:38 +00:00
Pisit Sawangvonganan
04b3c3b319 drivers: pinctrl: stm32: fix typo
Fix a typo in `pinctrl_configure_pins` where the variable `pin_cgf`
was used instead of `pin_cfg`. Update all references accordingly.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-03-19 11:33:35 +00:00
Bert Abrath
fe0ad472cd drivers: gpio: sam: only call back when interrupt is actually enabled
ISR bits are set on input level or edge changes, regardless of whether an
interrupt is actually enabled on that line. Therefore, we check whether an
interrupt is actually enabled by masking with IMR. If we didn't do this,
some other enabled interrupt firing could also result in a callback for a
disabled interrupt.

Signed-off-by: Bert Abrath <bert.abrath@basalte.be>
2026-03-19 11:32:53 +00:00
Zhiyuan Tang
e4ff3064a1 dts: realtek: remove ranges property for rtl8752h
Remove ranges property in partition node for rtl8752h, otherwise
the CONFIG_FLASH_LOAD_OFFSET would be wrong.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-19 11:32:29 +00:00
Rex Chen
8342f5aeaf manifest: hal_nxp: Add CSI buffer configure item
Sync hal_nxp to add CSI buffer configure item.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2026-03-19 15:28:53 +09:00
Rex Chen
d2a8820dac drivers: wifi: nxp: Add CSI buffer configure item
Add CSI buffer entry and size configure item.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2026-03-19 15:28:53 +09:00
McAtee Maxwell
9e763da21d tests: add kit_pse84_ai conf file for watchdog testing
- add watchdog to board's .yaml supported section for m33 and m55
- add enablement of &watchdog0 node in board's common .dtsi
- m33/m55: tests/.../wdt_basic_api

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-19 15:28:21 +09:00
McAtee Maxwell
dd4683bbf6 tests: add kit_pse84_eval conf files for watchdog testing
- add watchdog to board's .yaml supported section for m33 and m55
- add enablement of &watchdog0 node in board's common .dtsi
- m33/m55: tests/.../wdt_basic_api

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-19 15:28:21 +09:00
McAtee Maxwell
7a9694c48a tests: modify wdt_basic_api test, to enable platform base NOINIT section
- Move determination of test's NOINIT section to a new Kconfig file
- Transfer #if logic into Kconfig implementation

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-19 15:28:21 +09:00
Yuzhuo Liu
b7643596ca doc: input: document kbd matrix polling DT property rename
Add a migration note for the keyboard matrix devicetree bindings to
reflect the rename of polling interval properties:

- poll-period-ms         -> poll-period-us
- stable-poll-period-ms  -> stable-poll-period-us

Applications must update property names and convert values from
milliseconds to microseconds.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-19 15:28:00 +09:00
Yuzhuo Liu
b0f12282f0 drivers: input: use us for kbd matrix poll-period
Switch the common keyboard matrix binding to use microseconds for its
polling interval properties.

Rename the properties and change their units:
- poll-period-ms         -> poll-period-us
- stable-poll-period-ms  -> stable-poll-period-us

Devicetrees must update the property names and convert
values from milliseconds to microseconds.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-19 15:28:00 +09:00
Duy Nguyen
9d5eb5a0bb dts: rx: Update missing write,erase block size RX26T
Flash node on RX26 is missing write-block-size and erase-block-size

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
29d7529518 drivers: gpio: Add missing port init for RX GPIO
The RX GPIO was originally develop for RX130 MCU which only have port
0 to 5 and A to J, this commit add missing port initialize for other RX
MCU family

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
08ac42a36d boards: rx26t: Fix incorrect label on LED for RX26T
RX26T LED4 was mislabel to LED3

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
025402e981 flash: renesas: rx: Add flash type config for RX26T MCU
Add new configuration to support flash type config on RX26T

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
66d3edce9b compiler: gcc: Update build config for RX board
ZephyrSDK v1.0.0 is updated to support RXv2 and RXv3 instruction
this update the gcc cmake configuration for RX build on Zephyr SDK
for RXv2 and RXv3 MCU

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
134f271af2 dts: rx: Add missing property config for I2C node on RX140 and RX261
This commit add missing dtc config for I2C node on Rx140 and RX261

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00