Commit graph

136,983 commits

Author SHA1 Message Date
Jukka Rissanen
66b68c39dc drivers: wifi: winc1500: Deprecating the driver
This offloaded wifi driver is deprecated and will be removed
in a future release. It is currently scheduled to be removed in
Zephyr 4.6. The reason for deprecation is that there is no
maintainer for this driver.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-02-16 12:52:16 +01:00
Lingao Meng
c51a341181 fs: nvs: fix required_space calculation for flash write block alignment
NVS calculates required_space for an entry by summing data size, ATE size
and CRC size. However, the CRC size is assumed to be 4 bytes and the
calculation does not account for the flash write block size.

On flashes with write_block_size greater than 4 bytes (e.g. 8 or 16),
the data + CRC payload must be padded to the write block size. The
current logic underestimates the required space, which may cause writes
to cross sector boundaries and corrupt adjacent entries or ATEs.

Fix this by aligning the data + CRC payload size to the flash write
block size before adding the ATE size to required_space.

This makes NVS space accounting consistent with flash write granularity
and prevents sector overflow on non-4-byte write block devices.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-02-16 12:52:00 +01:00
TOKITA Hiroshi
c981669481 fb: cfb: fix HTILED glyph byte indexing
Fix draw_char_htmono() to compute byte offsets with row-based
HTILED addressing and keep g_y controlled by the outer loop.
This avoids row-skips and broken rendering near clipping boundaries.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-02-16 12:51:35 +01:00
TOKITA Hiroshi
2374ef62f9 fb: cfb: fix inversion condition in finalize
Fix cfb_framebuffer_finalize() to invert the software framebuffer
only when pixel format polarity and cfb inversion state differ.
This restores the expected behavior for MONO01/MONO10 finalize output.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-02-16 12:51:35 +01:00
TOKITA Hiroshi
38d58b7e30 fb: cfb: add HTILED support to cfb_invert_area
Handle both VTILED and HTILED framebuffer layouts in cfb_invert_area().
Also update the basic cfb test helper to read pixels correctly for
HTILED buffers.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-02-16 12:51:35 +01:00
TOKITA Hiroshi
c4d4ea04a2 tests: subsys: display: cfb: basic: Enable for native_sim/64
Make it allow to run the tests on `native_sim/native/64` platform.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-02-16 12:51:35 +01:00
TOKITA Hiroshi
a151c83c70 tests: subsys: display: cfb: Controlling test execution with fixture
Since there is no way to run this test with `harness: display`
configuration, we will change it so that execution can be controlled
by specifying a fixture.

This method has already been proven with
`tests/drivers/display/display_read_write`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-02-16 12:51:35 +01:00
Parthiban Veerasooran
697705ef71 drivers: ethernet: phy: microchip_t1s: fix link state & callback handling
Previously, the PHY driver always invoked the link state callback on
every check, even when the link state had not changed, and did not
properly synchronize access to the link state (issue #103826). This could
lead to spurious notifications and potential race conditions.

This patch:
- Calls the registered callback only when the link state actually changes.
- Logs link-up and link-down events correctly.
- Introduces a semaphore to protect the PHY link state.
- Updates link state in phy_mc_t1s_update_link_state() with proper
  synchronization.

This ensures that both link state updates and callbacks reflect actual
changes, preventing unnecessary notifications and improving driver
correctness.

Fixes: #103826

Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
2026-02-16 11:12:14 +01:00
Johan Hedberg
62763f5368 drivers: bluetooth: Take advantage of DEVICE_API_GET()
Use the DEVICE_API_GET() helper macro when extracting the bt_hci API from a
device pointer. This also enforces that the given device pointer actually
implements the API in question.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-02-16 11:11:22 +01:00
Y Huynh
9d9ff802bf dts: rx: renesas: add dtc property to SCI nodes
Add the missing `dtc` property to all Renesas RX SCI nodes. This property
provides a phandle reference to the DTC (Data Transfer Controller), which
allows the SCI driver to make use of DTC-assisted data transfers.

Signed-off-by: Y Huynh <y.huynh.xw@renesas.com>
2026-02-16 11:10:00 +01:00
Gaetan Perrot
649831c8eb drivers: crypto: ataes132a: fix semaphore leak on early return
In ataes132a_aes_ecb_block(), error paths could return after
k_sem_take() without releasing device_sem, leading to a potential
deadlock on subsequent calls.

Ensure k_sem_give() is called on all early-return paths after the
semaphore is taken.

This fixes a potential deadlock when invalid buffer sizes are
detected after acquiring the device semaphore.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-16 11:09:32 +01:00
Gaetan Perrot
4feabb725e drivers: crypto: ataes132a: fix error propagation
Use int return type for command results to avoid truncating negative
errno values and ensure proper error propagation.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-16 11:09:32 +01:00
Lee Trager
1ca5e3e163 drivers: mspi_dw: Mask SPI_CTRLR0_*_L fields in standard mode
The SPI_CTRLR0 register is intended for enhanced SPI modes, however some
implementations continue to process the INST_L and ADDR_L fields in
standard mode. On those platforms the controller to sends its own
instruction/address phase in addition to what the driver sends. This
results in a malformed SPI transaction with extra bytes on the wire.

Explicitly mask these fields in standard mode and only set them otherwise
in enhanced mode.

Signed-off-by: Lee Trager <lee@trager.us>
2026-02-16 11:08:51 +01:00
Vinayak Kariappa Chettimada
c4a4937d9f Bluetooth: Controller: Update ll_data_path_tx_pdu_release()
Update ll_data_path_tx_pdu_release() to have return -ENOTSUP
so that the node_tx is released using the fallback method to
use the MFIFO from LLL to ULL_HIGH context.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-16 11:08:16 +01:00
Vinayak Kariappa Chettimada
23005983dd Bluetooth: Controller: ISO Tx ack data flow review rework
Review rework ISO Tx ack data flow design for context-safety.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-16 11:08:16 +01:00
Vinayak Kariappa Chettimada
a4f4deef44 Bluetooth: Controller: Fix ISO Tx ack data flow for context-safety
Fix ISO Tx ack data flow design for context-safety.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-16 11:08:16 +01:00
Vinayak Kariappa Chettimada
d66dd5cde8 Bluetooth: Controller: Fix BIS to unify with CIS TX ack handling
Fix BIS to unify with CIS TX ack handling.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-02-16 11:08:16 +01:00
Josuah Demangeon
debedcc3d9 MAINTAINERS: bouffalolab: add extra boards
Add boards from 3rd-party vendors that use bouffalo chips.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-02-16 11:07:44 +01:00
Siratul Islam
ac63d0e0a8 dts: bindings: zfm-x0: add Hi-Link HLK sensors
Update the zhiantec,zfm-x0 binding description to include support for
Hi-Link HLK series capacitive fingerprint sensors (HLK-ZW3021,
HLK-ZW0623, HLK-ZW0642), which use the compatible ZFM protocol.

Signed-off-by: Siratul Islam <email@sirat.me>
2026-02-16 00:13:54 +00:00
Yong Cong Sin
e843931194 kernel: check if interrupt is disabled in k_can_yield
`k_yield()` can't be called when interrupt is disabled, update
`k_can_yield()` to reflect that.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2026-02-16 00:13:38 +00:00
Peter Mitsis
ec2e20530c kernel: Disable k_mutex priority inheritance
There is no need to include the k_mutex priority inheritance code
when CONFIG_PRIORITY_CEILING is set to a priority level that is at
or below that of the idle thread.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-02-16 00:13:23 +00:00
Dharun krithik k
5cd371dcab samples: bme280: add overlay for cy8cproto_041tp
Add board overlay for Infineon CY8CPROTO-041TP to support the
BME280 sensor sample. The configuration enables SPI1 and connects
the BME280 sensor with Chip Select on P4.0.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Dharun krithik k
2869c9a4ba boards: cy8cproto_041tp: enable SPI1
Enable SCB1 as SPI master and configure the corresponding peripheral
clock resource.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Dharun krithik k
a6c70e9110 drivers: spi: infineon: add PSoC 4 support
Add support for the Infineon PSoC 4 family to the SPI driver,
Kconfig options, and polling-based transfer completion for slave
mode as PSoC 4 slave hardware does not control transaction start.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Dharun krithik k
433c10db04 drivers: spi: infineon: implement SCB block number lookup
Implement ifx_get_hw_block_num to retrieve the hardware block number
for a given SCB base address. This replaces the dependency on the
UART-specific lookup function ifx_cat1_uart_get_hw_block_num, making
the SPI driver more self-contained and ensuring correct resource
identification for SCB blocks.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Dharun krithik k
db0d22166b drivers: spi: infineon: cleanup and rename
Rename Kconfig options and internal macros to remove "CAT1" specificity,
making the driver more generic for the Infineon family. This is a
non-functional change to prepare for PSoC 4 support.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
Dharun krithik k
640dadf404 dts: infineon: add PSoC4100TP SPI pinctrl definitions
Add pin control definitions for SPI master signals (CLK, MISO, MOSI,
and SELECT lines) for SCB0 and SCB1 on the PSoC4100TP 64-TQFP package.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-02-16 00:13:04 +00:00
farsin NASAR V A
72741b45c1 tests: drivers: sam_e54_xpro: gpio: added gpio test file
Added sam_e54_xpro overlay file for gpio_hogs and
gpio_basic_api test projects.

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2026-02-16 00:12:43 +00:00
Muhammed Asif
3a9444cd40 boards: microchip: sam_e54_xpro: Updates board.yml
- Adds entry of interrupt controller to board yaml file

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-16 00:12:43 +00:00
Muhammed Asif
a51311010c drivers: microchip: interrupt_controller: Add g1 driver for eic
- Adds the g1 driver for eic for microchip devices
- Uses the APIs of the eic driver from gpio driver

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-16 00:12:43 +00:00
Muhammed Asif
5b203fe53f dts: arm: microchip: samd5xe5x: Adds the eic node
- Adds the device tree node to the dts
- Adds the binding yaml file for EIC

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-16 00:12:43 +00:00
Muhammed Asif
664703fe03 dts: arm: microchip: pinctrl: Adds reg of pinctrl node
- Adds the reg of pinctrl node in common dtsi file of
  same5xd5x family

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-16 00:12:43 +00:00
Mahesh Mahadevan
1b23efc612 MAINTAINERS: Add yeaissa as collaborator for NXP areas
Add yeaissa as MCXW and RW6XX platforms

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2026-02-14 08:54:54 +01:00
Benjamin Cabé
c8000c5291 dts: bindings: adc: fix naming of ADI ADC controllers
fixes a bunch of errors (eg ADL1234 instead of AD1234) and inconsistencies
in the naming of the Analog Devices ADC bindings.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-14 08:54:43 +01:00
Benjamin Cabé
4999da4cfb dts: bindings: mbox: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-14 08:54:31 +01:00
Benjamin Cabé
ccca09c82e dts: bindings: mtd: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-14 08:54:19 +01:00
William Tambe
f97b9ad9e9 xtensa: clear LCOUNT special register after saving it
When handling an ISR (which does not have a context from which to
restore its own value of LCOUNT), we must clear LCOUNT to prevents
incorrect zero-overhead execution if calling a function such as
memmove() which could be implemented using zero-overhead loop.

A function such as memmove() implemented using zero-overhead loop
assumes LCOUNT to have properly been setup before being called; but
an ISR calling memmove() in assembly, will likely not know that.

Signed-off-by: William Tambe <williamt@cadence.com>
2026-02-14 08:53:40 +01:00
Emil Gydesen
f73ecee207 .gitignore: Add CMakeStyle.txt
CMakeStyle.txt is sometimes generated when running
checkpatch.pl, and should never be pushed to the repo.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-14 08:53:16 +01:00
Emil Gydesen
c189ff44ee .gitignore: Ignore case for the sorted list
It makes more sense to ignore case here, other
CMake comes before e.g. Check.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-14 08:53:16 +01:00
Farsin Nasar V A
835ea71d83 tests: drivers: counter: Adds pic32cx_sg41 test support files for tcc
- Adds suppport for testing pic32cx_sg41_cult

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-02-14 08:53:06 +01:00
Muhammed Asif
d6732c23ff boards: microchip: pic32cx_sg61_cult: Add TCC node for counter
- Added tcc node with counter support for pic32cx_sg61_cult board

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-14 08:53:06 +01:00
Muhammed Asif
60cdef9a78 boards: microchip: pic32cx_sg41_cult: Adds TCC node for counter
- Adds tcc node with counter support for pic32cx_sg41_cult board

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-02-14 08:53:06 +01:00
Flavio Felder
cd296aa651 boards: heltec: add support for wifi lora 32 v3
add initial support for heltec wifi lora 32 v3

Signed-off-by: Flavio Felder <feu@windowslive.com>
2026-02-14 08:52:48 +01:00
Gaetan Perrot
3c64b79ddb dts: bindings: charger: maxim: max20335: fix typos in bindings
Fix spelling errors in maxim max20335-charger dts bindings
descriptions.

No functional changes.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-13 19:02:08 +00:00
Pete Johanson
f8ba603aab scripts: west: runners: stm32cubeprogrammer: Add --reset-type support
Obsolete the bespoke --reset-mode parameter in favor of the new standard
--reset-type parameter.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-02-13 19:01:50 +00:00
Pete Johanson
8213786f35 script: west_commands: jlink: Add --reset-type support
Add support for setting the reset type for the jlink runner, to support
targets that need a non-default reset type for proper `reset halt`, etc.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-02-13 19:01:50 +00:00
Pete Johanson
944f64870a script: west_commands: core: Add --reset-type parameter
For some devices, the default JLink reset type may not work properly, so
allow overriding the reset type by passing, e.g. --reset-type=12 when
flashing.

Add new field to RunnerCaps to allow runners to specify either a fixed
list of possible types, or True to expose the standard --reset-type
parameter for that runner.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-02-13 19:01:50 +00:00
Derek Snell
d8710ce543 dts: nxp: rw6xx: update exit-latency-us and min-residency-us
- exit-latency-us is SOC wake time.  Updated based on measurements
- exit-latency-us increased for PM3 on frdm_rw612 to match
  measurements on that board.
- min-residency-us depends on use-case, moved to the board DTS, based
  on measurements

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-13 19:01:24 +00:00
Benjamin Cabé
7c7ea87da8 dts: bindings: led: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 19:00:40 +00:00
Benjamin Cabé
9b7c728d91 dts: bindings: regulator: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-13 19:00:03 +00:00