Commit graph

28,390 commits

Author SHA1 Message Date
Tomi Fontanilles
d9b7fe379a modules: mbedtls: PKCS5: depend on, do not select MD
To avoid dependency loops.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-14 09:22:13 -06:00
Gaetan Perrot
d3868911f8 drivers: flash: spi_nor: fix typo in an error log message
Fix a typo in an error log message in mxicy_configure.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:17:34 -06:00
Andrzej Głąbek
8a190d77fb drivers: mspi_dw: Add support for data only packets
The SSI core requires special handling of packets that are supposed
to contain only data (no instruction and data phases):
- for TX packets, the first data frame needs to be sent as the address
  (the instruction and address cannot be both set to zero length for TX,
  otherwise the transfer will not be performed correctly)
- for RX packets, a dummy write to the data register (DR) is needed to
  start the transfer.
Implement the above in the function that starts a packet transfer.
Rename also the `packet_frames` variable there to `data_frames` to avoid
confusion.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Andrzej Głąbek
bbf0187913 drivers: mspi_dw: Remove needless packet parameter
FIFO handling functions in the driver are supplied with a `packet`
parameter that is in fact not used anymore. Remove it to simplify
matters.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Alain Volmat
1da7503904 drivers: video: stm32-dcmi: correct set_frmival handling
Correct set_frmival in order to avoid having un-optimized
frmival selection due to rounded values.
Computation has been done in usec, leading to incorrect
frmival selection due to value being rounded internally.
As an example, code was selecting 1/60 from sensor then 4 time
frame drop by DCMI instead of selecting directly 1/15 from
sensor.
Use msec instead to hide those rounding issue and avoid
as well 64bit variables.
This also put the first video_frmival_nsec outside of the
loop to avoid having to do the processing everytime.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-14 13:02:01 +00:00
Abhinav Kulkarni
b1edb19033 drivers: wifi: nxp: Added WLS support
Added configuration to enable wifi location services.

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2026-01-14 09:57:28 +01:00
Matin Lotfaliei
8dbaca4131 drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result arg
drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result argument

Commit bc8d66d538931e650dd2855fabe768720dcb4b02 introduced
a result argument to some RTIO callback handlers.
Update for the BMA4XX sensor.

Signed-off-by: Matin Lotfaliei <matinlotfali@gmail.com>
2026-01-14 09:57:16 +01:00
Muhammad Waleed Badar
ec758c9d1c drivers: wifi: esp32: use macro for mac address len
Replace magic number used for mac address lenght with
WIFI_MAC_ADDR_LEN macro

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-14 09:56:20 +01:00
Carlo Caione
5e35f14b1e drivers: lora: rename lora_basics_modem directory to lora-basics-modem
Rename the lora_basics_modem backend directory to lora-basics-modem
for consistency with the module naming convention.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Carlo Caione
a309b3c127 drivers: lora: rename loramac_node directory to loramac-node
Rename drivers/lora/loramac_node to drivers/lora/loramac-node to align
with the module naming convention (modules/loramac-node).

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Albort Xue
08df06727c drivers: clock_control: Consolidate NXP Kconfig files
Multiple individual Kconfig files for NXP clock control drivers are
consolidated into a single Kconfig.nxp file. This improves
maintainability by grouping all NXP-related clock control
configurations in one location.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-14 09:55:20 +01:00
Gaetan Perrot
e0ee5cd6e9 drivers: i3c: i3c_npcx: fix redundant NULL check
npcx_i3c_do_ccc() dereferences the device pointer before checking it
against NULL, making the defensive check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:54:24 +01:00
Manojkumar Konisetty
efce139fcd drivers: I2C: Add Infineon PSOC4 I2C slave support
De-initialize the SCB when switching between I2C master
and slave modes

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
6725a9a39b drivers: i2c: update Infineon PDL I2C driver
Implement I2C configure() handling in the driver
to apply speed settings and default hardware options.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Charles Hardin
cc29ac7871 drivers: ethernet: lan9250: remove/simplifiy the runtime structure
Remove the unused variable tid_int and lock. Also, match the other drivers
by dropping the back reference to the device structure and just pass
in the dev for the thread and dereference the context from there.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2026-01-13 14:12:00 -06:00
Camille BAUD
03eab92f89 drivers: i2c: Fix BFLB I2C again again
Maybe the last time? associated issue outlines details

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 14:11:03 -06:00
Qingsong Gou
60943ec684 drivers: mipi_dbi: add lcdc mipi-dbi driver for sf32lb
Add lcdc mipi-dbi driver for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Ryan McClelland
6e227712d8 drivers: i3c: cdns: make idle timeout a kconfig
Rather than having a hardcoded timeout for entering idle, make it
a KConfig.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-13 14:07:26 -06:00
Fin Maaß
075f2e7361 drivers: gpio: litex: rework litex gpio driver
rework litex gpio driver.
It is now also supported to change direction.
now uses the reg names to detect if what modes the gpio
controller supports.
use the reg names directly from litex.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 17:26:08 +01:00
Henrik Brix Andersen
7440bca13d drivers: pwm: shell: add command for getting cycles per second
Add PWM shell command for getting the number of cycles per second for a
given PWM controller/channel.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-13 15:21:21 +01:00
Benedek Kupper
12cd3703eb drivers: adc: stm32: only set CR2/DMA bit once on STM32F1
As reported in #101190, running adc_sequence sample on stm32f103c8 with 8
ADC channels causes all subsequent conversions after the first to be one
channel shifted. This is because writing to CR2 with ADON=1 and no other
changes triggers a conversion (which is why the bug happens on all
but the first sequence). Adding this check will ensure that CR2 is only
written when the DMA bit changes.

Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
2026-01-13 15:21:05 +01:00
Michał Stasiak
a1ccb9647f drivers: nrf: use NRF_ERRATA_DYNAMIC_CHECK macros
It is now the proper way of checking whether
an anomaly workaround should be performed.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-01-13 13:35:39 +01:00
Tomasz Moń
6fc1cd52af nrf_usbd_common: use NRF_ERRATA_DYNAMIC_CHECK macros
Upcoming MDK will make nrf52 errata check functions exist only for
nRF52 and therefore the code will no longer compile for nRF5340. Replace
nrf52 errata checks with new NRF_ERRATA_DYNAMIC_CHECK().

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-01-13 13:35:25 +01:00
Kai Vehmanen
72d06609af drivers: dai: intel: hda: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
43e45a2b50 drivers: dai: intel: dmic: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
82f28ff774 drivers: dai: intel: alh: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
6110b9728f drivers: dai: fix dai_config_set() syscall validation
Make a in-kernel copy of 'cfg' parameter before passing the struct
to kernel z_impl_dai_config_set() implementation. This ensures
user-space will not have access to the object when kernel part
of the syscall is running.

Also add separate handling for the case where bespoke configuration
object is NULL. While no current driver works without a bespoke
configuration, this is not forbidden in the API and the generic syscall
handler should not assume a bespoke object is passed.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
8fb3da57f3 drivers: dai: intel: ssp: handle no properties case for properties_copy()
dai_ssp_get_properties() can return NULL if there are no properties
defined for the device. Handle this case correctly in ssp driver's
dai_ssp_get_properties_copy() by returning -ENOENT in this case.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
a64a4325e7 drivers: dai: intel: ssp: fix indentation for dai_ssp_get_properties_copy
Fix function indentation to match coding style.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Hieu Nguyen
a437d3057a drivers: pwm: Initial support for RZ/A2M
Add PWM driver support for Renesas RZ/A2M

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-13 13:32:06 +01:00
Mathieu Choplain
239fab93bc kconfig: treewide: use auto-generated Kconfig compatible macro variables
Replace some manually-defined DT_COMPAT_<> Kconfig macro variables with
their automatically generated counterparts. In most cases, this is
straightforward as the manually defined macro is named identically to the
one generated by the build system.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-13 13:30:54 +01:00
Ravi Dondaputi
baef40786c drivers: wifi: nrf_wifi: Use filter_ssid for connect scan
Modify the scan logic to use filter_ssids for connect scan
and use ssids for other cases.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
45029ab469 drivers: nrf_wifi: Fix the port authorization logic
For non-STA mode the vif level authorized flag is unused, simply allow
all group traffic and for unicast traffic check respective peer status.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
3905d7a939 drivers: nrf_wifi: Set VIF type for non-STA
This is used in SoftAP/P2P GO modes.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
ce937488b3 drivers: nrf_wifi: Workaround for failing tests
Test automation framework fails if there are any error prints, and we
had seen issues with networking that sends packets to the driver before
the assocation is up (either not checking dormant status or in a window
where dormant status is being updated).

Add a workaround to suppress the print till the issue root cause is
fixed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Triveni Danda
f71d52c4dd drivers: wifi: nrf_wifi: Fix invalid pointer access
Fix pointer dereferencing by accessing the pointer only
after initialization, preventing fault exceptions.

Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
02756ea9da drivers: wifi: nrf_wifi: Suppress 11b rates in P2P scan
Add an identifier to P2P scan request. RPU can use this to
differentiate it from regular scan requests and suppress
11b rates.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
8a5b39fd27 drivers: wifi: nrf_wifi: Add cookie handling support
Add cookie event callbacks to track RoC and cancel-RoC
requests and its responses from firmware.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
fbc0429906 drivers: wifi: nrf_wifi: Add P2P powersave support
Add ops to handle P2P powersave configuration.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
1da38b7d0a drivers: wifi: nrf_wifi: Add per-peer authorized flag
Add per-peer authorized parameter. Port authorization command
from supplicant will set this flag and will be used by driver
to allow or nor allow data traffic.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
04a9692a91 drivers: nrf_wifi: Add default value to p2p mode Kconfig
The Kconfig NRF70_P2P_MODE should be enabled when
WIFI_NM_WPA_SUPPLICANT_P2P is enabled.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
041766d9cb drivers: wifi: nrf_wifi: Register frame without match
For frames like Probe Requests, there is no match criterion.
Re-arrange the checks to support registering of frames without
providing any matching info.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
ed56b9b97c drivers: wifi: nrf_wifi: Allow off channel TX for probe responses
For frames sent down by supplicant in station mode, inform RPU
to allow off-channel transmission. This is needed for sending
P2P probe responses.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
a9176ad7cb drivers: wifi: nrf_wifi: Add RoC support
Add ops for remain-on-channel and cancelling remain-on-channel.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
3ac9a46aba drivers: wifi: nrf_wifi: Set P2P capability
In P2P mode, inform supplicant that the driver is P2P capable.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
d9015cf5d0 drivers: wifi: nrf_wifi: Set SSID for P2P discovery
Use `ssids` instead of `filter_ssids` to set the SSID in probe
requests. `filter_ssids` are to filter scan results to include
only the specified SSIDs.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Gaetan Perrot
65f43b919e drivers: videos: ov767x: fix typos in comments
Fix typos in comments in ov767x_init_regtbl.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:30:03 +01:00
Bjarki Arge Andreasen
4c0b2622a6 drivers: can: can_nrf: add missing soc.h include
The can_nrf driver uses defines from soc.h which happened to be
included by some other header when building for cpuapp, but not
when building for cpuflpr. Include soc.h explicitly.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-13 10:29:31 +01:00
Gaetan Perrot
a0c17db18e drivers: video: remove redundant rad_val initialization
Remove the unused initialization without changing behavior.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:27:39 +01:00
Gaetan Perrot
4655fa18d4 drivers: video: ov7725: fix uninitialized struct
Fix uninitialized struct fmt to fix Coverity issue.
CID: 524756

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:26:59 +01:00