Commit graph zephyr/drivers
Author SHA1 Message Date
Sylvio Alves
d8b842035b drivers: wifi: esp_hosted: fix iface_status signature
The wifi_mgmt iface_status callback gained a struct net_if
pointer parameter, but esp_hosted_status was left with the old
signature, causing an incompatible pointer type error at driver
registration. Add the missing net_if parameter to match the
callback interface.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-14 16:40:26 -04:00
Paulo Santos
8a542ffb86 modem: cellular: revert baudrate on power-on pulse
The power-on pulse re-powers a modem that returns to its default UART
rate, since AT+IPR is not persisted across a power cycle. When the host
UART was switched to CONFIG_MODEM_CELLULAR_NEW_BAUDRATE the two ends no
longer agree, so re-initialization runs at a mismatched rate and never
completes.

Revert the host UART to the original baudrate before pulsing the power
pin, mirroring the reset path (0ba20dd96c). Guarded by original_baudrate
so it is a no-op for modems that do not switch rate.

Signed-off-by: Paulo Santos <pauloxrms@gmail.com>
2026-07-14 16:40:17 -04:00
Raffael Rostagno
3a9897061e drivers: i2c: esp32: Add PM support
Register sleep retention for HP I2C ports when peripheral power-down
is enabled, and hold pm_policy_state locks during transfers, bus
recovery, and target mode.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-07-14 16:40:00 -04:00
Ryan McClelland
39ab71e612 drivers: sensor: adxl367: fix base_timestamp_ns to first sample time
Adjust base_timestamp_ns backward from the trigger timestamp by
(N-1)*period so it reflects the time of the first FIFO sample,
matching the lsm6dsv16x reference implementation.

Fixes: #98720
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
(cherry picked from commit f73d9b122431cd7bcfeb24b67c170241a1a61d98)
2026-07-14 16:39:38 -04:00
Tony Han
d6891796c9 drivers: rtc: sam: update to not hold spinlock during a blocking call
Update to avoid holding the spinlock before the blocking k_sem_take()
calls. Acquiring the spinlock only for the short register-write
sequences, allowing the ISR to fire and give the semaphores during the
blocking waits.

The check of "Context switching while holding lock" is introduced by
commit 5183fc5693 ("kernel: assert no spinlock is held on swap when
!USE_SWITCH")

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-07-14 16:39:09 -04:00
David Boullie
30953b3fa2 drivers: counter: silabs: Fix protimer counter driver
Fixes a bug in the protimer counter driver where the top callback
was not being called when the top value was reached.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2026-07-14 16:38:51 -04:00
David Boullie
654006d521 drivers: ieee802154: Add CSL support for Silabs EFR32
Modify existing Silicon Labs EFR32 driver and defconfigs
in order to support Coordinated Sampled Listening.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2026-07-14 16:38:51 -04:00
David Boullie
1fb769ba84 drivers: ieee802154: silabs_efr32: Fix Enhanced ACK path
Add steps to remove stale metadata from Enhanced ACK path,
along with correctly using key identifier context.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2026-07-14 16:38:51 -04:00
Muhammad Waleed Badar
1ce2060f56 drivers: usb: uhc_dwc2: fix warning on 64-bit platforms
Use the `%zu` format specifier when printing `size_t` values instead of
`%u`. On 64-bit platforms, using an incorrect format specifier is
causing compiler warnings due to type mismatches.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-07-14 18:00:45 +02:00
Roman Leonov
178caea19d drivers: uhc_dwc2: esp32: update quirks to latest binding
Rename the existing full-speed uhc quirk to the speed specific
espressif,esp32-usb-otg-fs compatible, that was introduced
in #111508.

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
2026-07-14 17:59:50 +02:00
Ryan McClelland
d8eabd542d drivers: sensor: icm4268x: fix base_timestamp_ns to first sample time
Pre-count FIFO frames for the requested channel and adjust
base_timestamp_ns backward from trigger time by (N-1)*period so it
reflects the time of the first sample, matching the lsm6dsv16x
reference implementation.

Fixes: #98720
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
(cherry picked from commit 750d08206d5ec13a7c171ede9cea00dcc8aab9f6)
2026-07-14 17:59:17 +02:00
Anas Nashif
2b0713959e drivers: flash: fix flash_sim memory-region section name
Use LINKER_DT_NODE_REGION_NAME_TOKEN() when assigning the flash simulator
backing array section.

Using LINKER_DT_NODE_REGION_NAME() passes a quoted string into
Z_GENERIC_SECTION(), which produces a literal section named "FlashSim"
instead of FlashSim. The linker memory-region section matcher expects the
token form, so the array was not placed in the configured RAM region.

This is needed to be able to build with zephyr/llvm on some platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-07-14 17:58:51 +02:00
Alberto Escolar Piedras
4b2a0898ad drivers: gpio: tla2528: Remove double const
DEVICE_API already includes const, with another const,
clang warns us about the double specifier.

Remove it to avoid the warning.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-14 17:57:24 +02:00
Alberto Escolar Piedras
05333a61b1 drivers: adc: adc_tla2528: Remove double const
DEVICE_API already includes const, with another const,
clang warns us about the double specifier.

Remove it to avoid the warning.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-07-14 17:57:24 +02:00
Oliver Schmidhauser
e72986dc95 drivers: adc, gpio, mfd: add TLA2528 driver
Adds support for the TI TLA2528 I2C ADC with GPIOs.
The TLA2528 is a 12-bit 8-channel ADC, where each channel can also be
configured as a GPIO in- or output in push-pull or open-drain.

Signed-off-by: Oliver Schmidhauser <oliver.schmidhauser@leica-geosystems.com>
2026-07-14 09:56:45 -04:00
Zafer SEN
b4a61c4bfe drivers: modem: hl78xx: allow GNSS timeout updates during active search
Allow hl78xx_gnss_set_search_timeout() to update the GNSS search
timeout while a search is already in progress.

When GNSS is searching, a new timeout value now reschedules the
active timeout work item. Setting the timeout to 0 disables the
active search timeout. Additional timer cleanup is performed when
leaving the search state and when GNSS stop events are received.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-07-14 09:55:50 -04:00
Sylvio Alves
9efa09f562 drivers: mbox: esp32 mailbox support on esp32c5 and esp32p4
Add esp32c5 and esp32p4 support to the esp32 mailbox driver. The HP and
LP cores signal each other through the PMU software interrupt, the same
mechanism used on the esp32c6, with the esp32p4 LP interrupt status bit
handled per its register layout.

The esp32p4 LP core uses a multi-vectored interrupt controller that
jumps directly to the handler, so tag the LP PMU handler with
LP_CORE_ISR_ATTR so it saves and restores registers and returns with
mret; on the single-vector esp32c5 and esp32c6 the attribute is empty.
Also shrink the esp32p4 LP ulp_ram region so it stops before the shared
ulp_shm block that holds the mailbox coordination data, matching the HP
view and preventing the loader from clobbering it.

Mark the esp32c5 and esp32p4 mailbox nodes okay to match the other socs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-14 09:54:55 -04:00
cyliang tw
765153a292 drivers: spi: fix numaker uspi driver without FIFO buffer
On USCI the shallow buffer is not SPI FIFO buffers RX words.
The pipelined pattern can't work. So revised spi_numaker_usci_txrx.
More, USCI SPI only supports 4–16 bit words, not accepts 24/32.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-07-14 09:53:31 -04:00
Tony Han
dae6d18e5c drivers: ethernet: sam_gmac: fix phy-connection-type value for rgmii
The value 2 of "phy-connection-type" is for "gmii" and it is misused
for "rgmii".
Fix the value the driver and update "phy-connection-type" from "gmii"
to "rgmii" in the dts file for sama7g54-ek board.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-07-14 09:51:19 -04:00
Sylvio Alves
9b29792fc4 drivers: clock_control: esp32: fix esp32p4 deep-sleep timer wake
Keep the XTAL powered during sleep when it is the RTC_FAST source by
enabling the RTC_FAST_USE_XTAL sleep sub-mode, and align P4 clock init
(rc_fast bias) with the reference. Add a deep_sleep sample overlay.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-14 09:45:04 +02:00
Zafer SEN
b9ce3fea46 drivers: modem: fix include paths after driver reorganization
Fix relative include paths after moving standalone modem drivers into
per-driver subdirectories.

Update legacy HL7800, Quectel BG9x, ST87Mxx, u-blox SARA R4, and WNC
M14A2A sources to include shared modem helper headers from the new
directory depth.

Also clean up the ST87Mxx Kconfig select ordering after the move.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-07-14 09:44:47 +02:00
Zafer SEN
a3fdc94fd7 drivers: modem: reorganize standalone vendor drivers
Move standalone vendor modem drivers into per-driver subdirectories.

Relocate the legacy HL7800, Quectel BG9x, ST87Mxx, u-blox SARA R4, and
WNC M14A2A source and Kconfig files under dedicated directories. Rename
the SIMCOM Kconfig file to Kconfig.simcom for consistency with the other
driver directories.

Update the standalone modem CMake and Kconfig files to reference the new
paths.

This keeps the vendor_standalone directory organized and leaves the
expanded HL78XX driver in its own directory alongside the other modem
drivers.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-07-14 09:44:47 +02:00
Mykyta Poturai
d2acad5c56 drivers: xen: dom0: add CPU hotplug sysctl
This sysctl can be used to turn physical CPUs on or off at runtime.

Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
2026-07-14 09:42:13 +02:00
Jakub Zymelka
f8832c51b5 drivers: adc: nrfx_saadc: Add support for VDD reference
Add support for VDD reference in SAADC SHIM.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-07-14 09:37:39 +02:00
Ryan McClelland
7faec1e3d8 drivers: sensor: adi: adxl362: fix reading_count in stream decoder
adxl362 hardcoded reading_count = 1 despite its decode loop being
capable of filling multiple readings[] entries up to max_count.

The memset and header initialization were also inside the loop body,
which zeroed previously decoded readings on each iteration. Split the
decode into separate SENSOR_CHAN_DIE_TEMP and accel loops, moving the
memset and header setup (base_timestamp_ns, shift) before each loop and
setting reading_count to the actual decoded sample count afterwards.

While here, fix two coupled bugs exposed once multiple readings are
reported:
- the temperature path memset used sizeof(struct sensor_three_axis_data)
  on a struct sensor_q31_data buffer, zeroing past the end of the
  smaller struct; use sizeof(struct sensor_q31_data) instead.
- sample_num was never incremented in the loop, so every reading was
  given an identical timestamp_delta; increment it per decoded sample.

Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-07-13 16:17:46 -05:00
Ryan McClelland
a7bbae9c4c drivers: sensor: adi: adxl372: fix reading_count in stream decoder
adxl372 hardcoded reading_count = 1 despite its decode loop being
capable of filling multiple readings[] entries up to max_count.

Set reading_count to the actual decoded sample count after the loop
completes.

Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-07-13 16:17:46 -05:00
Ryan McClelland
24481b75c2 drivers: sensor: adi: adxl355: fix reading_count in stream decoder
adxl355 hardcoded reading_count = 1 despite its decode loop being
capable of filling multiple readings[] entries up to max_count.

Set reading_count to the actual decoded sample count after the loop
completes.

Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-07-13 16:17:46 -05:00
Ryan McClelland
a85e3b69fd drivers: sensor: adi: adxl345: fix reading_count in stream decoder
adxl345 hardcoded reading_count = 1 despite its decode loop being
capable of filling multiple readings[] entries up to max_count.

Set reading_count to the actual decoded sample count after the loop
completes.

Assisted-by: Claude:claude-sonnet-4.6
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-07-13 16:17:46 -05:00
Gobi M
cd2c862c85 drivers: sensor: bme280: return error on pressure compensation failure
Avoid silently reporting an invalid pressure value when pressure
compensation encounters a division-by-zero condition.

Use the existing return value 0 from bme280_compensate_press() to
detect a compensation failure in bme280_sample_fetch_helper(), Log an
error, and return -EIO instead of storing an invalid pressure reading.

This ensures callers to receive an appropriate error when pressure
compensation cannot be completed successfully.

Signed-off-by: Gobi M <gobi@aerlync.com>
2026-07-13 16:17:05 -05:00
Daniel DeGrasse
d4a941962d drivers: flash: soc_flash_rv32m1: use legacy method to get flash node
Use legacy method to get the SOC flash node for the rv32m1 flash driver,
because users of this flash driver define multiple child nodes with the
soc-nv-flash compatible. This prevents use of the
SOC_NV_FLASH_CHILD_NODE helper macro, which relies on one compatible
with the child being present.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@analog.com>
2026-07-13 11:36:19 -07:00
Michael Zimmermann
b24720772d drivers: entropy: gecko_trng: init on read for gecko-sdk as well
When the trng peripheral is not enabled, the read becomes an infinite loop
for gecko-sdk based SoCs.

I don't have a reliable way to reproduce this and thus don't know what the
root cause is. The only thing I found, is that while it's stuck in an
infinite loop, the clock is enabled in the CMU register, but the TRNG is
disabled in it's control register. So hopefully, this fixes the issue.

Signed-off-by: Michael Zimmermann <michael.zimmermann@sevenlab.de>
2026-07-13 16:45:00 +02:00
Holt Sun
8e0ba3bb3c drivers: counter: mcux_ctimer: add capture support
Add support for the counter capture API to the MCUX CTIMER driver.
The driver stores capture callbacks per channel, maps Zephyr edge
flags to CTIMER capture modes, enables capture interrupts, and reports
captured TC values from the CTIMER CR registers.

Capture is mutually exclusive with alarms on the same channel because
both features share the counter channel namespace. Add optional
pinctrl and INPUTMUX routing support so boards can route CTIMER capture
sources from devicetree without changing the public counter API.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-07-13 16:43:16 +02:00
Daniel DeGrasse
7acfb6145f drivers: flash: unify SOC_NV_FLASH_NODE logic
Many drivers in tree use a similar pattern to find their child node with
the compatible "soc-nv-flash". Rather than continuing to duplicate this
logic, define a common handler that is instance based in the flash_priv
header file, and include this from each flash driver.

Assisted-by: Claude: claude-opus-4-6
Signed-off-by: Daniel DeGrasse <daniel.degrasse@analog.com>
2026-07-13 16:42:32 +02:00
Zhaoxiang Jin
c6e5329d7b drivers: regulator: nxp vref: add new vref variant support
update nxp vref driver to support new variant.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-07-13 16:39:17 +02:00
Alain Volmat
22b33e9a25 drivers: video: ensure to enable GPIO when needed by modules
Ensure to select GPIO whenever a driver requires a gpios
line for reset or powerdown.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-07-13 10:23:19 +01:00
Phi Bang Nguyen
e8a80a3117 drivers: video: Improve video_import_buffer
Return the whole video_buffer structure instead of just the index.
This helps to make index transparent to application and also make the
buffer accessible from the application.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2026-07-13 10:22:19 +01:00
Pieter De Gendt
26572fc0db drivers: wifi: nrf_wifi: Hold interface dormant until authorized
In STA mode the interface was brought operational at association, before
the controlled port was authorized, so the IP stack transmitted data
during the 802.1X handshake window which the driver then dropped with
-EPERM.

Advertise WPA_DRIVER_FLAGS_CONTROL_PORT and implement the tx_control_port
op so EAPOL frames are handed to the driver directly instead of going
through the networking stack. With EAPOL off the data path, keep the
interface dormant from association until the controlled port is
authorized, withholding data TX during authorization while the handshake
still completes.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Assisted-by: Claude:claude-opus-4.8
2026-07-13 10:22:07 +01:00
DineshKumar Kalva
21958f13cf dts: amd: acp_7_x: add TDM DAI and DMA device tree nodes
Add three TDM DAI instances (tdm_dai0/1/2) and one unified
acp_tdm_dma DMA controller node to the ACP 7.X device tree.

Update dma-channels default to 6 (2 per instance x 3 TDM
instances) in Kconfig.acp_tdm.

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Signed-off-by: Sneha Voona <sneha.voona@amd.com>
2026-07-13 10:21:57 +01:00
DineshKumar Kalva
dd529c2824 drivers: dma: amd: tdm: add ACP 7.X TDM DMA support
Extend the ACP TDM DMA driver for ACP 7.X:
- Include ACP 7.X chip headers (acp7x_fw_scratch_mem.h,
  acp7x_chip_offsets.h, acp7x_chip_reg.h).
- Update ACP_TDM1_FIFO_SIZE from 512 to 768 bytes
- Add ACP_PDM_2_Enable check in acp_pdm_streams_stopped() for
  ACP 7.X (2 PDM instances)
- Guard acp_sdw_all_streams_stopped() under CONFIG_SOC_ACP_7_0
  since ACP 7.X has no SDW logic implemented.
- Add acp_get_sample_len_from_frame_fmt() helper for 7.X
- Propagate frame_fmt from acp_tdm_context into dma_start for
  per-sample-length ITER/IRER configuration
- Default channel count changed from 8 to 6 (2 per TDM instance
  x 3 instances for ACP 7.X)

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Signed-off-by: Sneha Voona <sneha.voona@amd.com>
2026-07-13 10:21:57 +01:00
DineshKumar Kalva
46c81149a9 drivers: dai: amd: tdm: add ACP 7.X TDM DAI support
Extend the existing TDM DAI driver for ACP 7.X:
- Add tdm_dai.h header with shared struct definitions
  (dai_amd_tdm_params, acp_tdm_dai_config) and include guard
- Include ACP 7.X chip headers via #elif for CONFIG_SOC_ACP_7_X
- Add sample_format field to dai_amd_tdm_params for per-format
  clock configuration (16/24/32-bit slots)
- Configure tdm_lrclk_div_val/tdm_bclk_div_val per sample_format
  under CONFIG_SOC_ACP_7_X
- Use acp_tdm_frmt union for TXFRMT/RXFRMT register access

Signed-off-by: DineshKumar Kalva <DineshKumar.Kalva@amd.com>
Signed-off-by: Sneha Voona <sneha.voona@amd.com>
2026-07-13 10:21:57 +01:00
Aleksandrs Sevastjanovs
1f97fa9d32 drivers: display: ssd16xx: enable SSD1680 RAM ping-pong
SSD1680 supports RAM ping-pong for display mode 2 through the display
option register. Enable F[6] when switching to the partial refresh
profile so partial updates can use the controller's buffer swap behavior.

Expose this as a "ram-ping-pong-mode2" devicetree property on the
SSD1680-specific binding.

Signed-off-by: Aleksandrs Sevastjanovs <sevalks@gmail.com>
2026-07-13 09:49:22 +02:00
Allen Zhang
537f952b2f drivers: clock_control: nxp_mcxw7x: gate SIRC on DT sirc-supported
Replace the CONFIG_SOC_MCXW70AC / CONFIG_SOC_MCXW716C Kconfig guards
that conditionalize SIRC hardware access with a new DT boolean
property 'sirc-supported' on the nxp,mcxw7x-clock binding.

MCXW70 and MCXW71 carry the SIRC hardware block; MCXW72 (MCXW727C)
does not - its SIRCCSR register block was removed from the SDK
headers, making kCLOCK_ScgSircClk, CLOCK_UnlockSircControlStatusReg,
scg_sirc_config_t, kSCG_SircEnableInSleep and CLOCK_InitSirc
undefined at build time for frdm_mcxw72.

Set sirc-supported in the MCXW70 and MCXW71 clk_ctrl DT nodes.
Leave it absent on MCXW72 so DT_INST_PROP(0, sirc_supported)
evaluates to 0 at compile time, bypassing all three affected sites:
  - get_rate() FRO_6M: fall back to the fixed 6000000U constant
  - clock_control_init(): skip CLOCK_UnlockSircControlStatusReg()
  - clock_control_init(): skip the SIRC LP-mode init block,
    which also bypasses enable_sirc_in_lp_mode

Move enable-sirc-in-lp-mode out of nxp_mcxw7x_common.dtsi (where
it was incorrectly inherited by MCXW72) into the MCXW70/MCXW71
per-variant DTS nodes.

Tested: west build -p=always -b frdm_mcxw72 tests/lib/cpp/cxx
builds cleanly after this change.

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2026-07-13 09:46:57 +02:00
Sylvio Alves
4b1e696ed0 soc: espressif: fix undefined kconfig references
Zephyr driver and soc code referenced five CONFIG symbols that were
only declared in the hal module, so a compliance run without the
module in place flagged them as undefined.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-07-12 20:02:20 -04:00
Mathieu Choplain
b35b9456d4 drivers: usb: udc: stm32: use DT_ENUM_HAS_VALUE()
Replace IS_EQ() + DT_ENUM_IDX() with the simpler and more explicit
DT_ENUM_HAS_VALUE() macro.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-07-12 20:02:10 -04:00
Mathieu Choplain
23c84fa1ef drivers: *: stm32: replace COND_CODE_1() chains with COND_CASE_1()
The COND_CASE_1() allows writing chained/nested COND_CODE_1() checks in
a simpler way. Replace such patterns in the STM32 drivers with this new
utility macro.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-07-12 20:02:10 -04:00
Mathieu Choplain
e43da5f205 drivers: *: stm32: replace COND_CODE_1() with IF_ENABLED() when relevant
In some STM32 drivers, the COND_CODE_1() macro is used with an empty
expression as the `_else` expansion. The `IF_ENABLED()` macro should be
used in this situation since it allows simplifying the code, so perform
the replacement.

While at it, in `dsi_stm32.c`, fix leakage of empty expressions due to
misplaced `;` symbols (outside the block guarded by `IF_ENABLED()`).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-07-12 20:02:10 -04:00
Fin Maaß
69268c3972 net: ethernet: add NET_L2_ETHERNET_EXTRA_TX_PKT_HEADROOM
add a Kconfig, that has to be selected by the
ethernet driver, when extra headroom on tx
is needed, that way we don't need to include that
code when only using NET_L2_ETHERNET_RESERVE_HEADER.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-07-12 20:01:40 -04:00
Flavio Ceolin
ef10214f20 crypto: ataes132a: Fix counter reg
Use shift operand instead of wrong boolean operator
to access (16) counter addresses [0xf100 - 0xf17f]
properly.

Signed-off-by: Flavio Ceolin <flavio@hubble.com>
2026-07-12 20:01:09 -04:00
Flavio Ceolin
bd2b24cd7a crypto: ataes132a: Fix zone config reg
Use shift operand instead of wrong boolean operator
to access (16) zone config addresses [0xf0d0 - 0xf0ff]
properly.

Signed-off-by: Flavio Ceolin <flavio@hubble.com>
2026-07-12 20:01:09 -04:00
Flavio Ceolin
d0e0dff28f crypto: ataes132a: Fix counter config reg
Use shift operand instead of wrong boolean operator
to access (16) counter config addresses [0xf060 - 0xf07f]
properly.

Signed-off-by: Flavio Ceolin <flavio@hubble.com>
2026-07-12 20:01:09 -04:00