Add missing parentheses around macro parameter `m` in
REV_ID_VERSION to prevent operator precedence issues when
a complex expression is passed.
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
Add driver support for NXP MCUX Quadrature Decoder (QDC) sensor.
The driver provides:
- Position tracking via SENSOR_CHAN_ROTATION channel
- Configurable counts per revolution
- Single phase and normal decoder work modes
- Input filtering with configurable count and sample period
- INPUTMUX integration for flexible signal routing
- Modulo count mode support
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
There are many lm75 variants differing in temperature resolution.
Typical values are 9, 10, 11, and 12 bit. They all use the same
format (16 bit signed integer with LSB at 1/256 degree C).
Depending on the on the actual variant some of the LSB are not
defined. The new calculation scheme uses all 16 bits independent
on the actual sensor resolution. In the worst this leads to
some pseudo-resolution in case the undefined bits are not
reported as 0 by the sensor.
Signed-off-by: Lutz Dittrich <dittrich@netwake.com>
The parameter page is not ECC protected, but can return ECC errors under
some conditions. These errors should be ignored so drivers can
initialize.
Signed-off-by: Atilla Filiz <atilla@fi-tech.be>
SDK 1.0.0's GCC compiler flags a warning about 'cfg' being used without
being set. The compiler is wrong, but let's assign the variable to NULL
to avoid the warning.
Signed-off-by: Keith Packard <keithp@keithp.com>
Add an entropy driver for Bouffalo Lab BL70X that reads
random data from the SEC TRNG block and wires it into
Zephyr's entropy API.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Add the support of DBI bus color coding configuration, also
pass down height/width/pitch of the frmae buffer descriptor
during frame update. Some DBI controller may need this configuration.
Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
Fixes the counter running after initialization and the counter running
after calling counter_set_top_value, regardless of previous state.
Also adjusts the tests.
Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
Add software state check (!data->wdt_started) to wdt_feed() validation
to ensure feed operations are only allowed after wdt_setup() has been
called.
Signed-off-by: Harini T <harini.t@amd.com>
Add systimer compensation for time spent in light sleep while stalled.
Add sys_clock_idle_exit() for dticks announcement when leaving
light sleep.
Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Add support for the Sony IMX219 CSI sensor.
This sensor supports resolution of 3280x2464 in RGGB bayer format
either 8 or 10 bits and using 2 or 4 CSI lanes.
Only 10 bits on 2 CSI lanes is currently supported, and only in
1920x1080 pixel resolution using cropping using the video_set_format(),
and will need to be converted to video_set_selection() instead.
Signed-off-by: Josuah Demangeon <me@josuah.net>
Co-authored-by: Alan Shaju <alanshaju@rideltech.com>
Co-authored-by: Alain Volmat <alain.volmat@foss.st.com>
Switch to zephyr-keep-sorted-start/stop to keep checking the new
driver imports are always sorted, which reduces chances of git
conflict while adding new drivers from separate branches.
Signed-off-by: Josuah Demangeon <me@josuah.net>
Only VIDEO_CID_ANALOGUE_GAIN and VIDEO_CID_GAIN were defined. Also add
the complementary VIDEO_CID_DIGITAL_GAIN.
Signed-off-by: Josuah Demangeon <me@josuah.net>
MRAM programs via direct memory-mapped writes, which the ARM MPU
blocks unless MPU_ALLOW_FLASH_WRITE is enabled. Fixes a Data Access
Violation on ra8x2 when running the flash common test suite.
Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
Set register bit GMAC_NCFGR.GBE to configure GMAC for 1000Mbps operation.
Gigabit mode is not supported by SAM E70/S70/V70/V71 family, it is
supported by SAMA7G54.
Signed-off-by: Tony Han <tony.han@microchip.com>
When IPED encryption is enabled, AHB-mapped reads can hang.
Switch flash_flexspi_nor_read() to use FlexSPI IP read
transactions and handle unaligned requests with aligned
chunk reads plus memcpy to the caller buffer.
This removes the SoC-specific workaround and avoids
hangs in encrypted regions.
Signed-off-by: Albort Xue <yao.xue@nxp.com>
Add the additional required busy wait needed when accesseng SPI registers
during setup of a new SPI transaction.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
Use EDMA instead of DMA0 when CONFIG_SOC_SERIES_MCXE31X is set.
This matches the MCXE31 HAL instance for EDMA_SetModulo().
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Return core clock for MCUX_FLEXIO_CLK in get_rate.
This lets nxp_flexio_get_rate() configure FlexIO LCDIF.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Add scheduled scan apis support for supplicant.
Add kconfig options to set default iteration and scheduled scan
min interval.
Signed-off-by: Fengming Ye <frank.ye@nxp.com>
Fix condition to initialize ramcfg device for stm32N6xx AXISRAM
configuration as IF_ENABLED() requires a evaluated value of 1
as positive case.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
The initialization priority was hardcoded to 0. However, the initialization
takes a relatively long time (1 to 2 seconds on RW612). With this change,
the initialization priority properly follows CONFIG_ETH_INIT_PRIORITY.
Signed-off-by: Sebastiaan Merckx <sebastiaan.merckx@verhaert.com>
Adds support for the Modulino Latch Relay I2C/QWIIC board.
Adds an example which turns a connected relay on/off periodically.
Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
this commit removes mspi_stm32_xspi_config_mem() and
mspi_stm32_ospi_config_mem() from their respective
*_dev_config() implementations.
we could remove these configurations by enabling mxicy,mx25u
compatible in STM32 board overlays. This compatible activates
the flash_quirks_mxicy_mx25u entry defined in
flash_mspi_nor_quirks.h
This quirks structure implements the required flash-specific
configuration, so XSPI/OSPI driver configuration flow could be
simplified.
Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Add CONFIG_LORA_SX126X_NATIVE_SLEEP (default y) to allow disabling
sleep mode power management. When disabled, the radio stays in
standby for faster response times at the cost of higher idle current.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>