Removed timers3 from stm32wba.dtsi as the WBA2x series
does not have this timer. Moved it to stm32wba52.dtsi instead.
Signed-off-by: Julien Racki <julien.racki-ext@st.com>
Add FLASH_LAYOUT_STM32WBA2X define to select
the right area for the engineering bytes for the WBA2X series.
Signed-off-by: Julien Racki <julien.racki-ext@st.com>
Add CAN-FD devicetree nodes for MSPM0 G-Series SoCs that include
the peripheral: mspm0g310x, mspm0g350x and mspm0gx51x.
Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
Add devicetree bindings for the TI MSPM0 G-Series MCAN module.
Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
Signed-off-by: Jackson Farley <j-farley@ti.com>
The BLE driver and Radio Timer driver register ISRs for interrupts that are
not declared in the Devicetree. Since CONFIG_NUM_IRQS is now determined
automatically based on IRQn appearing in active Devicetree nodes, this now
causes build failures.
Add missing interrupts in the SoC DTSI to fix build failures.
Further cleanup of the aforementionned drivers to actually obtain IRQn from
DT properties should be done at a later time.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
We need to add properties such as interrupts in DT for these devices.
Add them to the binding by including `base.yaml`.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
In order to use HIBERNATE sleep mode, retention of RAM block used
for hibernating the VPR core need to be enabled. Contrary to all other
blocks, retention for this block is usually by default disabled.
Add property to vpr coprocessor node which indicates if hibernation
is going to be used. It need to be used on nRF54L to achieve low
idle current. On nRF54H20 it is not needed as DEEPSLEEP mode gives
good idle current (~5 uA).
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Adds a missing include of base.yaml which meant some properties
were not available when using the CMake dt functions
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Update the MCUX WWDT driver to partially use the Zephyr clock control API
instead of direct HAL clock APIs for clock on and get rate.
Keep using HAL clock APIs for set clock divider because the set rate API
accepts clock frequency and it may cause two external calls to get WWDT
frequency.
Support multiple instances.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Add clock controller references to WWDT device tree nodes across
multiple NXP SoC families. This enables proper clock management
for WWDT peripherals now that the MCUX SYSCON driver supports
WWDT clock control.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
The Arducam mega is a low power, rolling shutter camera, supports
connecting one or more cameras to any microcontroller. It provides
high-quality image capture and processing capabilities, making it
highly suitable for various application fields, including machine
vision, image recognition, and robotics, among others. In current
implementation connecting multiple instances of the same camera
system is problematic.
Co-authored-by: Lee Jackson <lee.jackson@arducam.com>
Signed-off-by: Krystian Balicki <kristos_b@wp.pl>
Add sleep hold flag to allow setting groups of pins to
automatically hold pad value during low power states (light/deep sleep).
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
The change allows to keep FPROTECT, that can handle max of
62k partition size, enabled out of the box.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Add initial support for nuvoton numaker m335x SoC series
including basic init and device tree source include.
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
Some counters continue running in low power modes (for example i.MX SNVS
LP).
Optionally store and load the epoch offset from an NVMEM cell.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a polled I2C input driver for the Adafruit Mini I2C Gamepad
with seesaw (product 5743, https://www.adafruit.com/product/5743).
The driver initializes the device, configures button GPIOs, polls
button and joystick state, and reports events through the input
subsystem. Interrupt (IRQ) support is not implemented.
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
This patch adds a new driver for the ADXL355 three-axis digital
accelerometer, implementing configuration, sampling,
and full-scale range controls according to the
ADXL355 datasheet (Analog Devices).
Features:
- I2C and SPI register access
- Sampling frequency (ODR) configuration
- Full-scale range selection (±2g/±4g/±8g)
- Standby/measure power modes
- Optional FIFO streaming support via RTIO
- Basic trigger and interrupt handling
Power management is supported via PM_DEVICE callbacks
to place the sensor in standby mode when suspended
and resume continuous measurement on resume.
References:
- ADXL354/ADXL355 Datasheet (Analog Devices)
https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_adxl355.pdf
Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
Use a code spell-checking tool to detect and fix spelling errors in
`.yaml` files under `dts/bindings`.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
Use the new and appropriate "st,stm32h5-pinctrl" compatible for the pinctrl
in DTSI for STM32H5 series.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Add a new binding for the pinctrl controller of STM32H5 series.
The specificity of this series is that the "High-Speed Low-Voltage" (HSLV)
feature is configured per pin. This feature allows to increase the maximum
speed of the IO pins at low voltage.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Introduce DT_FOREACH_REG and DT_INST_FOREACH_REG macros to enable
iteration over reg entries in devicetree nodes by invoking a user-
supplied macro per entry. Add support for macros accepting a
separator and variadic arguments with the new DT_FOREACH_REG_SEP,
DT_FOREACH_REG_VARGS, and DT_FOREACH_REG_SEP_VARGS macros, as well
as their DT_INST_ variants.
The DT_FOREACH_REG macro mirrors the behavior of the ranges property.
Update the devicetree macro generation logic in gen_defines.py to
emit the new macro variants. Document the additions by expanding the
Augmented Backus-Naur Form grammar in macros.bnf. Add detailed
comments with usage examples and parameter details for all new macros.
Expand test coverage with new overlay nodes and dedicated tests to
verify macro correctness and behavior, across various node scenarios
including multi-register, single-register, and nodes lacking reg
properties.
Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>
Signed-off-by: Svitlana Drozd <svitlana_drozd@epam.com>
This adds the soc files for the Synaptics SR100 SoC.
Signed-off-by: Łukasz Kędziora <lkedziora@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Andreas Weissel <andreas.weissel@synaptics.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This adds the pinctrl driver for Synaptics SR100-series SoCs.
Signed-off-by: Łukasz Kędziora <lkedziora@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Andreas Weissel <andreas.weissel@synaptics.com>
This adds the clock control driver for Synaptics SR100-series SoCs.
Signed-off-by: Łukasz Kędziora <lkedziora@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Andreas Weissel <andreas.weissel@synaptics.com>
Rename stm32h5e/h5f SRAMs node labels in the SoC DTSI files to better
match the SRAMs names in the literature.
Update stm32h5f5j_dk board accordingly.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Restore the UART9 node on the stm32h5e/f series.
The instance exists like on other stm32h5 devices.
Signed-off-by: Francois Ramu <francois.ramu@st.com>
For all STM32 ADC instances that support the injected channel feature, add
the newly created property to indicate that.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Add a property to the STM32 ADC bindings to indicate whether the ADC
instance supports the injected channel feature.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>