Commit graph

24538 commits

Author SHA1 Message Date
Ryan McClelland
28676ae9be drivers: i3c: shell: fix getmxds fmt3 defbyte check
Fix the checking on the getmxds for format 3.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-03-21 06:31:03 +01:00
Ryan McClelland
30b4b1bdf8 drivers: i3c: shell: fix getcaps fmt2 defbyte check
Fix the checking on the getcaps for format 2.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-03-21 06:31:03 +01:00
Chaitanya Tata
71931a0864 drivers: nrf_wifi: Add a config option for variable bufs override
We need a way to disable the variable buffers override.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-20 21:58:36 +01:00
Chaitanya Tata
a409d31169 drivers: nrf_wifi: Fix get config
Only a single condition is specific to RAW mode, rest should be
unconditional.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-20 21:58:36 +01:00
Tom Hughes
11d70c61e5 everywhere: Replace diagnostic pragmas with TOOLCHAIN_* macros
The TOOLCHAIN_DISABLE_WARNING/TOOLCHAIN_ENABLE_WARNING macros are easier
to read and compiler agnostic.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-03-20 21:57:47 +01:00
Declan Snyder
b990f96feb dts: counter: Remove old kinetis lptmr binding
Remove deprecated nxp,kinetis-lptmr compatible string
which is superseded by nxp,lptmr compatible due to
removing family specific name.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-03-20 17:14:28 +01:00
Declan Snyder
f013e20bc5 soc: nxp: Add missing resolve of system timer cfg
These socs were missing a config line to disable SYSTICK if the LPTMR is
configured for the system timer, similar to how other SOCs do this for
alternative system timers than systick.

This fixes build errors in the case where that lptmr kconfig is enabled.

Also, the LPTMR kconfig should be default no because it is a secondary
option for the system timer, being lower resolution than systick. This
also resolves build errors.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-03-20 17:14:28 +01:00
Nidhal BEN OTHMEN
43c00e5b6c soc: stm32wbax: hci_if: Clean code
Clean the code, rename some constants and variables for more
consistency.

Signed-off-by: Nidhal BEN OTHMEN <nidhal.benothmen@st.com>
2025-03-20 14:22:21 +01:00
Simon Gilbert
42c3a78148 i2c: stm32: Add cache memory support
Add basic cache memory support

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Simon Gilbert
26a8b36513 i2c: stm32: Added DMA stop for various i2c comms conditions
Added stop DMA fot transmit complete or other master end conditions

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Simon Gilbert
446a5ec49d i2c: stm32: Minor refactor of i2c_stm32_transfer function
Tidy up of i2c_stm32_transfer and added TX and RX semaphore inits

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Simon Gilbert
8dbc30a0d5 i2c: stm32: Add macros to get settings from device tree
Add macrobatics to pull DMA settings from device tree

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Simon Gilbert
ce0358692a i2c: stm32: Add dma settings structs to config and data structs
Add initial DMA settings structs to stm32 i2c config and data structs

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Simon Gilbert
5fb27671fa i2c: stm32: Add config option to enable DMA support
Add option to enable DMA support

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
2025-03-20 12:17:50 +01:00
Maximilian Deubel
878ab53698 drivers: sensor: add Bosch BMM350 magnetometer driver
Add driver for Bosch BMM350 magnetometer sensor.

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
2025-03-20 12:17:41 +01:00
Guillaume Gautier
c46f2beee7 drivers: flash: stm32: xspi: fix xspi driver for stm32n6
Add some ifdef to fix compilation error on STM32N6

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-03-20 12:17:32 +01:00
Arunmani Alagarsamy
601a9fab80 drivers: wifi: siwx91x: Add Wi-Fi status and statistics
This commit adds support for Wi-Fi status and statistics
functionalities:
- wifi status	  : Displays the current mode status.
- wifi statistics : Provides details on the transmitted and
                    received packet counts.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-03-20 12:17:22 +01:00
Arunmani Alagarsamy
2f29cb67b7 drivers: wifi: siwx91x: Add AP station disconnect functionality
This commit adds support the following wifi commands:
- wifi ap disconnect: Disconnect a specific station from the AP.
- wifi ap stations: List connected devices.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-03-20 12:17:22 +01:00
Arunmani Alagarsamy
7fc0a7b2d4 drivers: wifi: siwx91x: Add Access Point (AP) mode support
This commit introduces Access Point (AP) mode support
It enables the following AP-related commands:
- ap enable: Enable the AP mode.
- ap disable: Disable the AP mode.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-03-20 12:17:22 +01:00
Arunmani Alagarsamy
b578b06970 drivers: wifi: siwx91x: Add run time opermode
This commit enables the device to change its operating mode
at runtime.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-03-20 12:17:22 +01:00
Sergei Ovchinnikov
32b79cfd1c drivers: mfd: mfd_npm2100: add open drain and pull up config to int pin
Add possibility to configure open drain and pull up on nPM2100's
interrupt output through DTS flags.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2025-03-20 12:16:51 +01:00
Hao Luo
3b0d11dc65 drivers: i2c: Add cache support for ambiq i2c driver
This commit adds cache support for ambiq i2c driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-03-20 09:33:02 +01:00
Hao Luo
76d0552e09 drivers: spi: Add cache support for ambiq spic driver
This commit adds cache support for ambiq spic driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-03-20 09:33:02 +01:00
Khaoula Bidani
0364dd3512 drivers : rtc: clean up usage of "select USE_STM32_LL"
clean up usage of select USE_STM32_LL_RCC and
select USE_STM32_LL_PWR from Kconfig.stm32
this modifications due to the include unconditionally of
stm32xxxx_ll_rcc.h and stm32xxxx_ll_pwr.h in HAL.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-03-20 09:32:56 +01:00
Khaoula Bidani
c91e54ebb0 drivers : ipm: clean up usage of "select USE_STM32_LL_ipcc"
clean up usage of select USE_STM32_LL_IPCC from Kconfig.stm32
this modifications due to the include unconditionally of
stm32xxxx_ll_ipcc.h in HAL.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-03-20 09:32:56 +01:00
Khaoula Bidani
6fe0430017 drivers : entropy: clean up usage of "select USE_STM32_LL_rng"
clean up usage of select USE_STM32_LL_RNG from Kconfig.stm32
this modifications due to the include unconditionally of
stm32xxxx_ll_rng.h in HAL.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-03-20 09:32:56 +01:00
Khaoula Bidani
4d3cce4872 drivers : counter: clean up usage of "USE_STM32_LL"
clean up usage of select USE_STM32_LL_RCC, USE_STM32_LL_EXTI
and USE_STM32_LL_PWR from Kconfig.stm32
this modifications due to the include unconditionally of
stm32xxxx_ll_rcc.h, stm32xxxx_ll_exti.h and
stm32xxxx_ll_pwr.h in the HAL.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-03-20 09:32:56 +01:00
Khaoula Bidani
d6ebf10ef8 drivers : spi: clean up usage of "select USE_STM32_LL_spi"
clean up usage of select USE_STM32_LL_spi from Kconfig.stm32
this modifications due to the include unconditionally of
stm32xxxx_ll_spi.h in the HAL.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-03-20 09:32:56 +01:00
Jun Lin
a60d88e5cc drivers: bbram: npcx: bypass npcx49nf errata rev1.5 No.2.30
This commit workarounds the BBRAM status register write issue in npcx4:
A write operation to the BKUP_STS register might disable write to all
the Battery-Backed RAM (BBRM). The workaround is to perform a fake read
from the BKUP_STS register after every write to this register.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-03-20 07:21:23 +01:00
TOKITA Hiroshi
0206dc2aaf drivers: i2c: dw: Enable PINCTRL conjuction with dt prop 'pinctrl-0'
If there is a pinctrl-0 property, PINCTRL will be enabled in
conjunction with it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-20 07:21:03 +01:00
Josuah Demangeon
61a1cdf03f drivers: video: emul_imager: use a "PRIV" video CID
Use a video control ID in the private range rather than using an existing
CID, as the emulated imager does not effectively applies these properties
to the image feed and are just for API test purpose.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-03-20 07:20:55 +01:00
Josuah Demangeon
283e502b07 drivers: video: emul_imager: remove the test pattern support
Remove the test pattern generator implemented inline in video_emul_imager,
as this feature is overlapping with VIDEO_SW_GENERATOR, and does not add
value to the driver.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-03-20 07:20:55 +01:00
Josuah Demangeon
b0712d0022 drivers: video: emul_imager: deduplicate the registers
Deduplicate the registers of "modes": only a single definition of each:
pixelformats, resolutions, framerate.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-03-20 07:20:55 +01:00
Josuah Demangeon
dfdbcbb12a drivers: video: emul_imager: remove dev->name from logs
Depending on the log mode selected, the device name will be visible
for every log message, so not useful to add it again in the log payload.
Various other log improvements also added.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-03-20 07:20:55 +01:00
Josuah Demangeon
a86da87a52 drivers: video: emul: store only one line of data
Only store a single line of the full frame. This allows to support a
large enough frame size to remove the Kconfig option, which simplifies
the implementation (fewer checks needed).

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-03-20 07:20:55 +01:00
Ofir Shemesh
1be0d07b56 drivers: ethernet: phy_mii: Return -ENOTSUP for fixed-link config
Return -ENOTSUP in phy_mii_cfg_link when a fixed-link configuration is set,
indicating that MDIO read/write operations are not supported.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
2025-03-19 18:51:42 -04:00
Ofir Shemesh
2eabbcc084 drivers: ethernet: nxp_enet: Handle -ENOTSUP for fixed-link in PHY config
Modified nxp_enet_phy_configure to handle -ENOTSUP returned by the PHY
driver, indicating a fixed-link setup. If -ENOTSUP is returned, a warning
is logged, and PHY configuration is skipped without causing initialization
to fail.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
2025-03-19 18:50:55 -04:00
Corey Wharton
1dd9308e2f drivers: i2c_dw: issue transfer abort on timeout
On timeout, it's possible for the controller to be in a bad state.
This change initiates the transfer abort sequence which can recover
from these cases and make the bus usable again.

Signed-off-by: Corey Wharton <xodus7@cwharton.com>
2025-03-19 20:31:25 +01:00
Peter van der Perk
d2160e4f3b kinetis-tpm: don't enable AON/WU clocks on IMX9596
On IMX9596 the AON/WU clocks aren't controllable are on by default.
But TPM1 and TPM3 uses the clocks, by not enabling these clocks
on both TPM1/TPM3 will initialize succesfully.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-03-19 20:26:55 +01:00
Ram Mahesh
66b2a6ad2d drivers: ethernet: stm32: Add get_config() support
Implementation of get_config() api added
Fixes: #84898

Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
2025-03-19 20:26:09 +01:00
Armin Brauns
bd98e0199b drivers: flash_stm32_qspi: fix DT accessor for flash size
The flash size is the second part (size) of the first reg value, not the
first part (address) of a nonexistent second reg value.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2025-03-19 20:25:37 +01:00
Benjamin Cabé
c1531b24e7 drivers: sensors: adxl367: fix clang compilation error
Added missing braces to case statements causing clang compilation errors

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-19 20:25:20 +01:00
Fin Maaß
fb43d75062 drivers: ethernet: phy: add zephyr-keep-sorted-start
add zephyr-keep-sorted-start to ethernet phy
CMakeLists.txt.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-03-19 17:16:17 +01:00
Fin Maaß
814421162f drivers: ethernet: dsa: move to own subdirectory
move dsa drivers to its own subdirectory

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-03-19 17:16:17 +01:00
Zafer SEN
7efbc7cde3 drivers: modem: modem_cellular: fix HL7800 communication timeout
HL7800 may enter sleep, blocking init without proper config.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2025-03-19 17:14:41 +01:00
Lin Yu-Cheng
2d541a0777 driver: input: add input driver for rts5912
Add input driver for Realtek rts5912.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2025-03-19 17:11:23 +01:00
Kapil Bhatt
9f7307fe84 drivers: wifi: Set reorder buffer size to half of RX buffers
For different values of reorder buffer throughputs are consistent,
Setting reorder buffer size to half of the RX buffers configured.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-03-19 08:51:09 -04:00
Fabian Blatz
1ba9e4d707 drivers: display: sdl: Add support for L8 pixel format
Adds support for the 8bit grayscale pixel format to the SDL
display driver.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-03-19 10:58:06 +01:00
Krzysztof Chruściński
f2e1ac0da5 drivers: adc: nrfx_saadc: Add support for AIN8-AIN13 on nrf54h20
Extend support in dt bindings and in the driver to allow use of
AIN8 to AIN13 analog inputs.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-03-19 10:57:33 +01:00
Kapil Bhatt
1179014e10 drivers: nrf_wifi: Disable mgmt buffer offload
During raw scan, Need to disable NRF_WIFI_MGMT_BUFF_OFFLOAD.
UMAC will send beacon and probe responses directly to the host,
regardless of the mgmt_buff_offload flag's value.
Host needs to resubmit buffers to LMAC.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-03-19 10:57:27 +01:00