Allow WWDT callbacks without warning configuration when
WDT_FLAG_RESET_NONE is selected.
This restores callback-at-expiry behavior for reset-none
flows while keeping reset-enabled modes on the guarded
warning-interrupt path.
Signed-off-by: Holt Sun <holt.sun@nxp.com>
Initialize `transfer_count`, `is_write`, and `byte_mode` variables to
prevent potential use of uninitialized variables.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
If CTS hardware flow control is in use, prevent an
infinite loop of callbacks.
Enable the CTS interrupt if TX is unavailable from
CTS blocking.
Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
Add input driver support for CRSF (Crossfire) receivers, originally
developed by Team BlackSheep (TBS) and used by ExpressLRS (ELRS) and
others.
The driver allows mapping up to 16 CRSF channels to Zephyr input events,
supporting both absolute axes (joysticks) and key events (switches), and
operates over a standard non-inverted UART interface.
Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
The HTU21D is register-compatible with the SHT21 and uses the same
measurement commands. Add it as another DT_DRV_COMPAT entry in the
existing Si7006 driver rather than a standalone driver.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Shell support with STM logging was broken as it was not used by any
test or sample. Applying fixes and improvements.
When shell was used with STM logging then the last log often was not
printed on time as it got stuck in the ETR buffer until more data was
written. Fixed by adding a periodic initial processing of the ETR
buffer content (in k_work context). If pending message is found then
shell thread is notified. We don't want to do the processing in shell
thread unless we are sure that there is at least one message to process
because shell thread erases line and prints prompt during each call to
the log processing function.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Short (0 and 1 arguments) logs where not using colors.
Align flags used for log_output formatting for both paths
used for log processing.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
At some point CONFIG_LOG_FRONTEND_STMESP_EARLY_BUF_SIZE default value
was set to 0 on cpuapp. It meant that log entries which happend before
STM and Coresight initialization were lost. Add buffer which is used
to store those logs.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
When CONFIG_PCIE_CONTROLLER is enabled,
the chosen zephyr,pcie-controller also needs to
be enabled.
Also on platforms where this chosen is set the
pcie controller is needed for the pcie to work,
therefor enable it by default.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
By default the DWMAC ethernet controller is configured
to drop all multicast packets. Currently, HW filtering is
not supported, so we need to configure the controller to
pass all multicast packets.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
When present, configure the pin as input and use GPIO for card presence
instead of SDIF_DetectCardInsert(). Useful if the board uses a pin other
than SD0_CARD_DET_N for card detection.
On the LPC55S28 we needed it to work around an issue where configuring
PIO1_13 as SD0_CARD_DET_N stalled Flexcomm6 I2C transfers. The same pin
works when muxed as GPIO.
Signed-off-by: Fabian Otto <fabian.otto@rohde-schwarz.com>
This will allow to reuse fcntl middle layer in other parts besides NSOS,
such as planned Native Simulator host FS mounting.
Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Add ethernet_api start() and stop() callbacks to support the Zephyr
net iface down/up workflow.
stop() disables MAC RX, stops DMA RX and TX channels,disables MAC TX,
and resets all descriptor ring indices.
start() seeds the RX DMA ring and enables MAC RX and TX.
Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
The Transmitter Configuration register (offset 0x408) TX enable bit is
bit 28 as per the AXI Ethernet Subsystem product guide (PG138), not bit 11.
Fixes: 4342d7108b ("drivers: ethernet: Add Xilinx AXI Enet driver")
Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
- Added autanalog MFD support in PSE84 DTS files
- Refactored autanalog ADC in PSE84 to use a common
MFD for handling the global AC configuration
- Constructed AC to use phandle in the overlay
for a better the user experience.
- Added support for a basic and advanced mode
with custom AC
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
Enable Active-High polarity for SPI chip-select in Xilinx AXI QSPI Driver.
Required e.g. for SD-Card support.
Signed-off-by: Martin Anschütz <martin.anschuetz@vert-tec.io>
Introduce a new Kconfig option `I2C_BUS_RECOVERY` to provide
a common switch for enabling I2C bus recovery support.
This ensures consistent behavior across drivers and simplifies
configuration for platforms requiring i2c bus recovery.
Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
Remove unnecessary kconfig dependency and change help message to not
try to list exhaustively the supported platforms.
We can instead just depend on the DT node being present and enabled,
otherwise we will need to keep adding platforms here over time, both
in the depends line and in the help message.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Add counter RTC driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.
This driver supports:
- Basic counter operations
- Alarm configuration and callbacks
Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
When modem driver starts up, it should only open DLC channels
that it is reading.
Otherwise the remote end might send URC messages into these channels,
causing Chat module to read outdated buffered messages when it
switches reading from DLC1 to DLC2.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
When int16_t *_min and *_max are > INT16_MAX apart, subsequent
int16_t *_range silently overflows, leading to unexpected axis
samples. Promote *_range to int32_t to fix.
Signed-off-by: David Chalco <david@chalco.io>
imx_usdhc.c does not use any symbols from fsl_cache.h, and
fsl_usdhc.h does not require it transitively.
Remove the unused include to avoid build failures on targets where
the cache HAL header is not available, such as MCXN947 CPU1 virtual
board builds.
Signed-off-by: Hake Huang <hake.huang@nxp.com>
Use one file per vendor quirk. No modification to any content,
only the same code being moved to separate files.
Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
When PPP is terminated, add small delay before attempting
to run AT commands to restart the PPP.
Assume same delay is OK as switching from CMUX to plain AT
mode.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>