Commit 1be7718c59 wrongly set the RTC
clock source to an external oscillator which is not present in the only
board using this SoC at the moment. Instead use the 32 KHz internal
oscillator which is enabled at PoR and always available.
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
We're pulling in the following patch from MCUX-SDK:
devices: MIMX8UD7: add soc layer definitions required for using EDMA rev2
so add it to the list of pulled patches.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Using the EDMA rev2 driver requires having a `fsl_edma_soc_rev2.h`
header file which contains information related to the EDMA instances
found on the SOC. As such, to make the driver usable add the aforementioned
header file.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
The case statement for selecting the WDT1
clock sel is missing a possible case
that selects 1MHZ.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
We're pulling in the following patch from MCUX-SDK:
devices: MIMX8UD7: add definition for LPUART_RX_TX_IRQS
so add it to the list of pulled patches.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Add definition for the `LPUART_RX_TX_IRQS` macro. This is
required by the `fsl_lpuart` driver to work. The definition
of the macro is just an array of `NotAvail_IRQn` because the
HIFI4 DSP doesn't receive interrupts from any of the LPUART
instances.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Three LPC devices were using the NO WAIT EN BIT
macro definition when the devices had the WAIT
EN BIT for PWM on their individual device
header file.
Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
If the Zephyr ESAI driver is enabled this also means we should
include the HAL ESAI driver since the former depends on the
latter.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
There was an error in the init and deinit functions where the
LPFlexcomm registers was getting modified even if the flag
LPFLEXCOMM_INIT_NOT_USED_IN_DRIVER was set.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
CONFIG_SOC_MIMX8QM_ADSP and CONFIG_SOC_MIMX8QXP_ADSP
were renamed to match the soc name, so update here also.
While here, remove CONFIG_SOC_MIMX8QM_A53 since is not
defined and used anywhere.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Update patch list to contain the patches that introduce
support for i.MX8ULP's HIFI4 DSP core.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
The CMAKE file for driver_common expects each device to have
a `driver_reset.cmake` file. As such, add one for i.MX8ULP
so that the Zephyr build will work.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Modify `fsl_device_registers.h` header file such that it includes
the appropriate headers required for the HIFI4 DSP core.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
__Vectors is not defined in non-SDK projects such as Zephyr which like
to call SystemInit function. This causes build failures as a result.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
These files are added till we switch the build framework
to use the all_lib_device.cmake build file
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Enable support for the highly integrated NXP triradio solution "RW612",
designed for a broad array of applications, including, but not limited to:
connected smart home devices, gaming controllers,
enterprise and industrial automation, smart accessories,
and "smart energy".
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Move used job descriptors in the CAAM driver from the stack to
noncacheable section.
This change has not been accepted by the SDK team and needs to
be maintained here.
Signed-off-by: David Leach <david.leach@nxp.com>
With HWMv2, when trying to load the scfw_api for 8QM or
8QXP I get:
```
include could not find requested file:
driver_scfw_api
```
So update the path for scfw_api based on MCUX_DEVICE_PATH.
For ADSP we don't have separate devices (i.e. MIMX8QX6_dsp
or MIMX8QM6_dsp), because will duplicate a lot of code.
For these we use the core devices (i.e. MIMX8QX6 or MIMX8QM6).
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Update MCUX SOC variable name logic to use CONFIG_SOC to determine
the MCUX_DEVICE name, and append the core ID based on
CONFIG_MCUX_CORE_SUFFIX value
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
SoC S32Z27 folder is renamed to S32Z270 to align with
changes to `CONFIG_SOC_S32Z270`.
Compatibility with hwmv1 is maintained until support is merged to
main.
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
re-apply patch after sdk refresh.
without this kStatus_USB_Error was always returned for
kUSB_DeviceControlRun and kUSB_DeviceControlStop control types. let's
do it as for ehci/khci.
this change fixes the tests/subsys/usb/device/usb.device test for
lpcxpresso55s69_cpu0.
this is from https://github.com/nxp-mcuxpresso/mcux-sdk-middleware-usb/pull/6
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
this is taken from
git@github.com:nxp-mcuxpresso/mcux-sdk-middleware-usb.git, tag
MCUX_2.14.0.
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
The software content register file (scr-hal.txt) provides information
about the NXP HAL. e.g. origin, license, location.
It is added for clarity.
Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
This commit includes NXP mailbox driver when Zephyr MBOX API is used.
This is required for the mbox driver wrapper around NXP mailbox.
Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>