Commit graph

136,983 commits

Author SHA1 Message Date
Emil Gydesen
59a1c6e0de Bluetooth: BAP: Add bt_bap_ep_get_conn
Add a new function, bt_bap_ep_get_conn, which returns
the ACL connection for the endpoint. This works because
endpoints are specific to an ACL in BAP. The function
returns a pointer with a new reference similar to the
lookup functions from conn.h

The conn pointer was not added to the bt_bap_ep_info
struct, as doing so would be more likely to cause
reference leaks if the caller did not care about the
conn pointer when using bt_bap_ep_get_info. It can be
added later if that is requested.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:40 +01:00
Emil Gydesen
e9f8d73049 tests: Bluetooth: BAP: BA: Update conn params for PAST
When using PAST, it is best not to use an ACL that is a multiple
of the PA or ISO interval to avoid overlaps.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
be9ea4625e tests: Bluetooth: BAP: BSIM: SD/BA: Fix/add some print statements
Modify and add some printk statements for the tests, as some were
missing the newline.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
85b8852980 samples: Bluetooth: BA: Read receive states on connection
Once the BASS has been discovered, the sample will now attempt
to read all the receive states on the remote device.

The receive states will only be logged, and the sample will
not (yet) perform any logic on them (to e.g. determiner whether
it needs to perform a remove source operation before the add
source, or perform a modify source). That behavior is postponed
to a future commit, as the purpose of this is to showcase
reading the receive states.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
f4e14dfb24 Bluetooth: BAP: BA: Refactor discover to not do read
Refactor the bt_bap_broadcast_assistant_discover function
to not read receives at the end of discovery.
This makes the function more true to what it is supposed to
do, and significantly reduces the complexity of the
procedure and the read callback.

Users will be required to, if wanted, to read the
receive state themselves with the existing
bt_bap_broadcast_assistant_read_recv_state.

The start_offset had to be modified to avoid issues with
PA sync.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
f3b63a1bd6 Bluetooth: CCP: Server: Add support for get UCI
Add support for getting the UCI.
For now the UCI will be duplicated by the TBS
implementation, but will be optimizied in the future
so only one copy of the UCI exists.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:28:23 +01:00
Nick Brook
24dc151e5d doc: Correct grammar in board revision documentation
Correct grammar in board revision documentation

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-05 23:39:46 +01:00
Nick Brook
b95b778530 doc: Add concrete board revision usage with qualifiers
The existing documentation was not explicit on how qualifiers should be
combined with board revisions. This commit makes it explicit and adds a
concrete example.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-05 23:39:46 +01:00
Khoa Nguyen
f8d40c2545 boards: renesas: Migrate to use ext-ram instead of sdram.ld
- Update dts to ext-ram since section allocation is updated
in the display driver
- Move the Display, LVGL config definitions from board layer
to shield layer
- Update the LVGL config value to match the new SDRAM allocation
- Remove sdram.ld in the board layer for all Renesas boards
- Update .conf overlay for Renesas devices in display_read_write

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Khoa Nguyen
b3136da487 boards: shields: rtkmipilcdb00000be: Update default LVGL config
Update default value for LVGL config

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Khoa Nguyen
1a047270da drivers: display: Migrate to use generic linker sections for Renesas
Migrate to use generic linker sections for Renesas display driver

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Liam Ogletree
7b9e270831 tests: build_all: Add CS40L5x haptics driver to haptics build test
Adds CS40L5x haptics driver to haptics build test. Adds dummy GPIO,
which is required for CS40L5x's reset-gpio property.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Liam Ogletree
1b61011e44 samples: cs40l5x: Add sample application for CS40L5x haptics driver
Adds a sample application for the CS40L5x haptics driver. This PR
provides a custom shell interface to expose most of the CS40L5x-specific
API functions; basic demonstrations of other functions are provided.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Liam Ogletree
bb8381d2bf drivers: haptics: Add support for CS40L5x haptic driver
CS40L5x is a family (CS40L50/51/52/53) of haptics drivers designed
for trackpads, tablets, and automotive applications.

This PR provides basic functionality for ROM features and serves
as a starting point for the upstream driver. Notably, RAM firmware,
SPI,  and certain CS40L51/52 features (e.g., diagnostics,
closed-loop algorithms) are excluded from this PR.

Tested with internal/external boost configurations. Tested I2C.
Tested all ROM features with each device variant (50/51/52/53),
including ROM playback, "buzz" playback and configuration, custom
haptics playback and configuration, trigger playback and configuration,
runtime haptics logging, and gain configuration.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Bill Waters
5b6ec7a6ee soc: infineon: add pse84 power management
Add power management support for the Infineon PSE84 device

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2026-01-05 23:37:50 +01:00
Thamaraimanalan M
17b583f83c boards: rpi_5: update doc to include 1GB, 2GB, and 16GB variants
The Raspberry Pi 5 product line has expanded since launch. The current
documentation only lists the original 4GB and 8GB models. This commit
updates the board documentation to include the missing variants.

Signed-off-by: Thamaraimanalan M <devthamaraimanalan.m@gmail.com>
2026-01-05 21:42:57 +01:00
Cezar Burlacu
8af187eeff dts: arm: st: fix stm32h523/33Xe sram2/3 addresses
stm32h523/33Xe devices have different addresses than stm32h562/72/73xx
(RM0481 fig. 21).

Tested on a custom board with stm32h523cet6 where the board crashed when
accessing sram3.

Signed-off-by: Cezar Burlacu <cezar@embeddedp.ro>
2026-01-05 21:42:26 +01:00
Tom Burdick
e9fc413688 boards: kit_pse84_eval: Documentation fixes
A few fixes to the PSOC Edge 84 Eval kit documentation by re-using
Zephyr sphinx commands.

Adds a very critical note that a switch hidden under and LCD needs to
be flipped before you can successfully program the board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-05 21:41:58 +01:00
Henrik Brix Andersen
141e6f1a27 doc: update copyright notice in the documentation
Update copyright notice to reflect current year.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-05 17:17:34 +00:00
Fabio Baltieri
99d5823956 samples: net: bridge: check for eth_bridge_iface_add errors
Check for errors on eth_bridge_iface_add, these can add if, for example,
an interface does not support promisc mode.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-05 17:17:12 +00:00
Fabrice DJIATSA
4588f22892 tests: drivers: pwm: pwm_api: add support for nucleo_wb09ke
Assign the pwm2 node to the require pwm-test alias.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
e29521087a tests: drivers: counter_basic_api: add support for nucleo_wb09ke
Enable all timer and counter nodes.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
4727415b25 dts: arm: st: wb0: add support for timer kernel clock
PR #93198 introduced the support for the timer kernel
clock for most STM32 series.

it was missing for STM32WB0 serie.

These changes are required for the related timer tests/samples
to pass.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
4d6eaa6f63 drivers: flash: wb0x: update function to get flash size
For STM32WB0x series, LL_GetFlashSize returns the flash size in words,
not bytes. The previous implementation incorrectly interpreted this
value, leading to a large discrepancy between the expected size (512 KB)
and the computed size (64 MB) in the test_get_size ztest.

This change updates the logic to correctly compute the flash size in
bytes, ensuring accurate results in size-related operations.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
d4d3c0f998 tests: drivers: rtc: rtc_api: add support for nucleo_wb09ke
add node alias for RTC and enable RTC alarm and calibration.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
dfff4162ae tests: boot: add support for nucleo_wb09ke
- update board dts flash0 node to match the layout required
  for the SWAP USING OFFSET algorithm.
- Update related test/sample yaml files to enable CI testing

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
f7262a5656 tests: drivers: spi: spi_loopback: add support for nucleo_wb09ke
Enable DMA in the overlay file and set the appropriate transfer
duration in the conf file

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Camille BAUD
78f6b8dcb7 drivers: display: clean up ssd1306
clean up and improve ssd1306 driver code

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-05 17:16:45 +00:00
Camille BAUD
b350791855 drivers: display: Improve SSD1306 error handling and reporting
returning -1 doesn't constitute proper error reporting.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-05 17:16:45 +00:00
Ibrahim Abdalkader
ca6aed203c drivers: sdhc: stm32: skip semaphore wait on HAL error
When HAL_SDIO_WriteExtended_DMA or HAL_SDIO_ReadExtended_DMA returns
an error, interrupts are not enabled so the semaphore would never be
given, and it will always timeout.

Some drivers expect certain functions to fail during normal operation.
For example, WHD calls whd_kso_enable during sleep/wakeup cycles which
can fail. This would waste 200ms (CONFIG_SD_CMD_TIMEOUT default) on
every such failure.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-05 17:16:36 +00:00
CHEN Xing
35f03c3415 boards: microchip: sam: sama7g54_ek: enable hwinfo support
Enable hwinfo support for sama7g54_ek board

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
CHEN Xing
b2581a29bb dts: arm: microchip: sam: add otpc device to sama7g5
Add otpc device, used by hwinfo driver

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
CHEN Xing
4fa82d086e soc: microchip: sam: sama7g5: update mmu for otpc
Update mmu region for otpc

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
Martin Meyer
95b0c72bf2 drivers: sensor: ti: opt300x: extend support to otp3004 sensors
The ti,opt3004 ambient light sensor is having same I2C interface
as ti,opt3001.

Signed-off-by: Martin Meyer <meyer.m90@gmail.com>
2026-01-05 17:16:13 +00:00
Christoffer Gjedsted Brask
f8dba1baee doc: zbus: clarify observer priority, fixed spelling and grammar
Changed the parameter description for _observers in ZBUS_CHAN_DEFINE and
ZBUS_CHAN_DEFINE_WITH_ID. The original description was hard to interpret
and appeared to be split by "@see struct zbus_channel".

Fixed several spelling and grammar issues.

Signed-off-by: Christoffer Gjedsted Brask <cgb@develco.dk>
2026-01-05 16:07:31 +01:00
Gaetan Perrot
92607b3bf8 drivers: modem: hl78xx: hl78xx_cfg: fix APN NULL check
hl78xx_set_apn_internal() was calling strlen(apn) before checking
the APN pointer against NULL, making the defensive check
ineffective.

Reorder the code so the NULL check is performed before dereferencing
the APN pointer.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-05 16:07:15 +01:00
Zhaoxiang Jin
4ddcd4bf3c doc: releases: update LPCMP deprecation notes for 4.4
Simplified the LPCMP driver migration notes by removing outdated
information about the devicetree compatible renaming. The compatible
nxp,lpcmp is now shared between both the sensor API-based and
comparator API-based LPCMP drivers, so the previous note about
renaming to nxp,sensor-lpcmp is no longer accurate.

Moved the comparator API-based LPCMP driver information to the
'New Drivers' directory.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Zhaoxiang Jin
510253d12a drivers: sensor: mcux_lpcmp: Removed redundant help information
Removed redundant help information

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Zhaoxiang Jin
af536abe7d dts: drivers: remove nxp,sensor-lpcmp.yaml
1. Removed nxp,sensor-lpcmp.yaml and merged its
properties into nxp,lpcmp.yaml. Now a single
dt-binding (compatible: nxp,lpcmp) is shared
by two drivers: the sensor API-based LPCMP
driver and the comparator API-based LPCMP driver.

2. Updated the driver and samples accordingly.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Andy Lin
8558b935b1 coredump: arm: Callee registers for armv6-m and v8-m baseline
Ensure callee registers included in coredump.
Push callee registers onto stack for
CONFIG_ARMV6_M_ARMV8_M_BASELINE as well
when CONFIG_EXTRA_EXCEPTION_INFO enabled.

Effectively a complement to df6b8c3 by mholden.

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
2026-01-05 16:06:19 +01:00
Florian Mahon
8893c3f964 boards: rpi_pico2: doc: Add Wi-Fi firmware blob setup instructions
Add missing documentation for the required Wi-Fi firmware blob download
step when building for the Pico 2W variant (rpi_pico2/rp2350a/m33/w).

The Infineon CYW43439 Wi-Fi chip requires proprietary firmware files
that must be fetched before building. Without this step, users
encounter CMake errors about missing firmware files.

Added a new section explaining:
 - The requirement to run 'west blobs fetch hal_infineon'
 - What files are downloaded (43439A0.bin and 43439A0.clm_blob)
 - That this only needs to be done once per workspace

 This resolves a common issue where new users following the
 documentation cannot build Wi-Fi applications successfully.

Signed-off-by: Florian Mahon <florian.mahon@gmail.com>
2026-01-05 13:55:32 +01:00
Fabrice DJIATSA
a5bbbeea9a tests: boot: update testcase.yaml files
Add the stm32l562e_dk board as an allowed platform to
execute tests in CI.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 11:39:55 +01:00
Fabrice DJIATSA
58b6187510 boards: st: stm32l562e_dk: update flash0 node
Swap using offset requires that slot1 has one extra sector
size compared to slot0.

These changes are necessary to execute MCUboot tests and fix
issues detected in common flash test drivers.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 11:39:55 +01:00
Benjamin Cabé
f9fdd9fc50 include: dac: add doxygen docs for dac161s997 extended API
Adds doxygen documentation for the extended API of the TI DAC161S997
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-05 11:38:41 +01:00
Benjamin Cabé
213c0cd98c include: dac: add doxygen group for device-specific DAC API extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific DAC API extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-05 11:38:41 +01:00
Jan Behrens
01fc126473 drivers: counter: stepper: test: Added RPI Pico PIT to existing tests
Added the RPI Pico PIT driver to the counter_basic_api test suite.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Jan Behrens
47b988c8dc drivers: counter: test: Added RPI Pico PIT tests
Added a test suite for the RPI Pico PIT driver that tests both
functionality and erroneus inputs.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Jan Behrens
2f654b6e14 drivers: counter: Added RPI Pico PIT counter driver
Added a counter driver for the RPI Pico/RP2040 that implements
programmable interval timer (PIT) functionality using the PWM HAL.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Thomas Stranger
7eb623c035 github: dependabot: configure cooldown time for updates
This will delay non security dependabot updates to packages,
giving automated tools and researchers more time to catch updates
with malicious intent, thus reducing the supply chain security risks.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-01-05 09:21:03 +01:00
Holt Sun
f18be66783 boards: lpcxpresso55s28: add CRC peripheral support
Add CRC hardware peripheral support to NXP LPC55S2X SoC family and
enable it on the lpcxpresso55s28 board

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00