Add a callback for the periodic script result so that applications have
a way of detecting dead links.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Add support for hardware reset via GPIO in the ADIN1100 PHY driver.
The reset pin is configured via device tree using the reset-gpios
property.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Clarify HAL return value is of type HAL_StatusTypeDef and may not
be a int. This change aims preventing one from mixing standard "errno"
int return values and STM32 HAL return value finding misleading
implementation in existing code.
No functional change.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add missing test of HAL_FLASHEx_DATAEEPROM_Unlock() return value.
By the way, add a error trace message when failing to relock the
EEPROM after we failed to program it.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Correct eeprom_stm32_write() to return a valid errno instead
of mixing HAL return values and errno return values.
Clarify HAL return value is of type HAL_StatusTypeDef and not an
int in eeprom_stm32_read().
Remove printing of HAL_FLASHEx_DATAEEPROM_Lock() error code since
not very useful.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
These represent the outputted frequencies of the AUXPLL of
different settings set in the device tree set using dt-bindings
in nrf-auxpll.h. This is added to remove the need for 'magic numbers'
in drivers and tests.
Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
Board image needs not to be manually included in the documentation, as
zephyr:board:: directive takes care of this already.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Board image needs not to be manually included in the documentation, as
zephyr:board:: directive takes care of this already.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
My editor (nvim) started to automatically source .editorconfig.
This new feature broke my git workflow when I edit my staging changes
(yes, I edit patches and they still apply).
It took me a bit of time to understand my editor striped the trailing space
(which are meaningful patches) because of .editorconfig.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
The STM32 QSPI, OSPI, and XSPI drivers support sending the ULBPR command
for flash ICs that require unlocking before writing to. This is done
conditionally based on the requires_ulbpr devicetree property.
Previously the driver would always log "Write Un-protected", even if a
write un-protect was not attempted. Fix this so that "Write Un-protected"
is only logged when a write un-protect is attempted and succeeds.
Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
Use build assert to check counts_per_revolution DTS value compile time to
prevent runtime failure and also decrease flash usage slightly.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Enable TRNG in sama7g54_ek.dts files.
Add entropy for TRNG to sama7g54_ek.yaml support list.
Tested with tests/drivers/entropy/api.
Signed-off-by: Tony Han <tony.han@microchip.com>
v2.1.1 onwards of the SDK increases the default. Update the binding to
match. See https://github.com/raspberrypi/pico-sdk/pull/2245
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Update the Raspberry Pi Pico HAL to be based on the latest release of
the upstream SDK (v2.2.0).
SDK v2.2.0 has new include directory structure, so update the relevant
CMakeLists.txt files accordingly.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Sort some entries alphabetically to improve readability and
maintainability. This commit just reorders existing entries and does not
change any include paths.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Add support for the ST MB1835 2.47-inch round DSI TFT-LCD daughter board
designed for STM32 Discovery kits.
Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
Added the removal of the 'amba-ahb-dbus-width' devicetree property
from the binding of the Xilinx GEM Ethernet controller driver to the
current migration guide.
Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
Obtain the value for the AMBA AHB bus width (32 bit/64 bit/128 bit) from
the design_cfg5 register at init-time rather than specifying it in the
respective SoC's DT.
Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
Remove the obsolete DT parameter "amba-ahb-dbus-width" from all GEM
controller instance declarations for both the Zynq-7000 and the
ZynqMP.
The value matching the current target SoC is now being read at
run-time from a design configuration register
Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
This parameter no longer needs to be configured at the SoC level in
the declarations of the GEM controller instances (used to require
different values for the Zynq-7000 and the ZynqMP) as the value matching
the current target SoC is now being read at run-time from a design
configuration register.
Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
Add openamp_rsc_table support on imx93evk Cortex-M33, communication
with Linux which runs on imx93 Cortex-A55.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Add device-tree node for MU1 (Message Unit instance 1), which is used
for communication between Cortex-A55 and Cortex-M33.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
The current calls list should not be queried if the SLC is not
connected. Or the error `-ENOTCONN` will be returned by function
`hf_query_current_calls()`.
Check the connection status of HF before submitting a delay-able
worker. Only the SLC is established, submit the delay-able worker.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Add the command `query_calls` to query the current calls list.
The received current calls list will be printed in callback
`hf_query_call()`.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Add the function `bt_hfp_hf_query_list_of_current_calls()` to support
users to query current call list.
Add the callback `bt_hfp_hf_cb::query_call` to notify the received
current calls.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Allow to configure the MMU for non-cacheable normal memories.
This mode is needed for instance by net samples to access to
to non word-aligned memory.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Add new flag to allow to select normal non-cacheable memory.
This is needed for armV7 to be able to configure non cacheable
memories with "normal" attribute instead of "device" attribute.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Enable i2s_codec samples for frdm_mcxn236.
With 'CONFIG_USE_DMIC=n', you can hear the sine wave
from the codec.
Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Added new test case for pinctrl
Added sam_e54 overlay file, testcase.yaml, CMakeLists.txt and prj.conf
Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
The PMP stack guard test was previously limited to the non-multithreaded
(no-mt) configuration.
This commit updates the test implementation to conditionally handle
stack boundary lookup:
1. When CONFIG_MULTITHREADING is enabled, it uses thread-specific stack
information (e.g., z_interrupt_stacks[_current_cpu->id] for ISR stack
and k_current_get()->stack_info for the main thread stack).
2. New test configurations (arch.riscv.pmp.mt.*) are added to explicitly
run the tests with CONFIG_MULTITHREADING=y.
This ensures PMP stack guards are correctly verified in a multi-threaded
environment.
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Moved the MSI init after the LSE init to respect the initialization flow
of the MSI PLL mode that need LSE to be enabled and ready.
Signed-off-by: Julien Racki <julien.racki-ext@st.com>