Commit graph

136,983 commits

Author SHA1 Message Date
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
Kai Vehmanen
cf318bb1f2 drivers: dai: fix optional use of dai_get_properties_copy()
Handle the case if driver is not implementing get_properties_copy().

Document the behaviour and add a note that the method is optional and
users need to be handle the case that not all drivers will have this
method defined.

Also add documentation on error codes. Drivers should use -ENOENT if
no properties are defined for the device. This matches behaviour of
dai_get_properties() returning NULL if there are no properties.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Farsin Nasar V A
72b2a51f3e boards: microchip: pic32cx_sg61_cult: add hwinfo to supported list
- Update pic32cx_sg61_cult.yaml to reflect G1 hwinfo support on the board.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Farsin Nasar V A
31dbbf6aad boards: microchip: pic32cx_sg41_cult: add hwinfo to supported list
- Update pic32cx_sg41_cult.yaml to reflect G1 hwinfo support on the board.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Farsin Nasar V A
419b6d6658 dts: arm: microchip: Add HWINFO node
- Added hwinfo node in the pic32cx_sg.dtsi file

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Hieu Nguyen
6b266684c5 tests: drivers: pwm: Add support for RZ/A2M-EVK
Add test support for PWM driver of RZ/A2M-EVK

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
Hieu Nguyen
d88dc4e751 boards: renesas: rza2m_evk: Add PWM support
Add PWM support for board RZ/A2M-EVK

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
Hieu Nguyen
e58a100bbf dts: renesas: Add PWM support for RZ/A2M
Add GPT nodes and PWM child nodes to RZ/A2M devicetree

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
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
Bjarki Arge Andreasen
ae275eb4a1 boards: nordic: nrf54h20dk: cpurad: enable lfclk
The lfclk is required for bluetooth, so enable it by default for the
radio core. Applications are only affected if they enable
CLOCK_CONTROL, in which case either only the lfclk or all clocks are
enabled, so enabling lfclk alone is the lowest common denominator.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-13 13:31:11 +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
Jamie McCrae
e31140859d doc: build: snippets: writing: Add details on board revision support
Adds details of how to use the newly added board revision support
in snippets

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +01:00
Jamie McCrae
f1772b94f1 tests: cmake: snippets: Add board revision check
Adds a check that snippets are correctly applied to named boards
with the correct board revision

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +01:00
Jamie McCrae
c1a4c78c5c scripts: snippets: Add support for board revisions
Allows snippets to specify additional files for specific revisions
of boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +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
Chaitanya Tata
797a87c29c modules: hostap: Fix SoF in softap mode
Due to recent changes, the stack usage is increased, fix the SoF.

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
Kapil Bhatt
85b8e880aa net: wifi: Add P2P power save shell command support
Add shell command support for P2P power save.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
094d30cc05 net: wifi: Add API support for P2P power save
Add API support for P2P power save.

Signed-off-by: Kapil Bhatt <kapil.bhatt@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
Kapil Bhatt
bd1aec4ffc net: wifi: Add Wi-Fi direct P2P GO mode shell command
Add shell commands support for P2P GO mode.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
4e5783f39a net: wifi: Add API support for P2P GO mode
Add structures and API support for P2P Go mode.

Signed-off-by: Kapil Bhatt <kapil.bhatt@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
Ravi Dondaputi
7b6930b746 modules: hostap: Add support for P2P GO mode ops
Enable build time configs required for supporting P2P GO mode.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
aff682032f doc: networking: Add Wi-Fi P2P info
Add Wi-Fi P2P mode build command and info.

Signed-off-by: Kapil Bhatt <kapil.bhatt@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
Kapil Bhatt
9428fe090f net: wifi: Add Wi-Fi direct P2P connect shell command support
Add shell command support for P2P connect.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
c2649b5887 net: wifi: Add Wi-Fi direct P2P connect API support
Add structures and API support for P2P connect.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
ca9e1eba5d modules: hostap: Remove obsolete conditional
We now support a single MbedTLS shim for hostap, so, this extra check is
not needed, we can always use DH5 groups from Mbedtls.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
000e41b2e8 modules: hostap: Define heap and stack for P2P support
Increase required heap and stack size for P2P. More stack was required
during WPS negotiation.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@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
Kapil Bhatt
2805347dfa net: wifi: Add Wi-Fi direct P2P discovery shell command support
Add shell command support for P2P discovery.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
84db77c46b net: wifi: Add Wi-Fi direct P2P discovery API support
Add supplicant api and  mgmt ops support for P2P discovery.

Signed-off-by: Kapil Bhatt <kapil.bhatt@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
Nakul Chauhan
a7cea5d58a native_simulator: Get latest from upstream
Align with native_simulator's upstream main
215ee859eee5e49dc09eda8f17a956ee7318caf2

Which includes:
215ee85: native timer_model: Fix printf format specifier warnings w
         debug logs

Signed-off-by: Nakul Chauhan <nakulchauhan111@gmail.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-13 10:29:44 +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
Bjarki Arge Andreasen
f241ecedec boards: nordic: nrf54h20dk: rm hfxo/lfxo from common dtsi
The hfxo and lfxo should only be enabled for the cpuapp and cpurad
as these cores are the only ones which have access to the clock.
Leaving it enabled will break cpuppr and cpuflpr builds if
CONFIG_CLOCK_CONTROL is enabled as the drivers are not compatible.

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