Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge remote-tracking branch 'upstream/main' into beo/3.5.99 #33

Open
wants to merge 10,000 commits into
base: beo/3.5.99
Choose a base branch
from

Conversation

Emil-Juhl
Copy link

Big merge from zephyr-rtos main branch into the branch that we use. Not sure if it should go into this "locked" version branch or if we should consider working on main in here as well.

I'd probably go for the latter.

Anyway, it merged pretty cleanly, though the TI HAL layer has updated upstream - I kept our current version, but we may need to merge in the ti_hal fork as well.

duynguyenxa and others added 30 commits August 19, 2024 09:59
First commit to support serial driver running on r_sci_uart for Renesas
RA devices.

Signed-off-by: The Nguyen <[email protected]>
Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Initial commit to support RA6M5 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Initial commit to support Renesas EK-RA6M5 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Quy Tran <[email protected]>
Initial commit to support RA6M3 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Quy Tran <[email protected]>
Initial commit to support EK-RA6M3 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: default avatarQuy Tran <[email protected]>
Initial commit to support RA6E1 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: default avatarQuy Tran <[email protected]>
Initial commit to support FPB-RA6E1 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Quy Tran <[email protected]>
Initial support for Renesas RA6E2 SOC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Quy Tran <[email protected]>
Initial support for Renesas EK-RA6E2 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Signed-off-by: Quy Tran <[email protected]>
- Initial commit to support RA6M1 SOC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
- Initial commit to support EK-RA6M1 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
- Initial support for RA6M2 SoC

Signed-off-by: Tri Nguyen <[email protected]>
Signed-off-by: Danh Doan <[email protected]>
Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
- Initial support for EK-RA6M2 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
- Initial support for RA6M4 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
- Initial support for EK-RA6M4 board

Signed-off-by: Duy Phuong Hoang. Nguyen <[email protected]>
Add initial support for Renesas FPB-RA6E2 board

Signed-off-by: Quy Tran <[email protected]>
Background of this modification is to make clock control
driver code provided by Renesas vendor to support for Renesas MCU
on Zephyr.

Signed-off-by: Quy Tran <[email protected]>
Change the Renesas RA platform files so that it includes s the RA6 boards

Signed-off-by: Quy Tran <[email protected]>
Sort RA MCU follow device series.

Signed-off-by: Thao Luong <[email protected]>
Add UDC driver for Nuvoton NuMaker series USBD controller

Signed-off-by: Chun-Chieh Li <[email protected]>
Fix typo on HIRC48M. This clock source is required by:
- USB 1.1 OTG PHY
- USBD
- USBH
- OTG

Signed-off-by: Chun-Chieh Li <[email protected]>
Change NuMaker M463/M467 series USBD clock source to HIRC48M.
This makes core-clock and its clock source PLL not required
to be multiple of 48MHz.

Signed-off-by: Chun-Chieh Li <[email protected]>
Add usbd test feature for the numaker_pfm_m467 board

Signed-off-by: Chun-Chieh Li <[email protected]>
Added driver for the fxls8974 accelerometer which is present on the
mimxrt1040_evk board.

Signed-off-by: Krystof Sadlik <[email protected]>
Added fxls8974 pinctrl to the dts file

Signed-off-by: Krystof Sadlik <[email protected]>
Added bindings to enable fxls8974 accelerometer

Signed-off-by: Krystof Sadlik <[email protected]>
Added mimxrt1040_evk to inregration platforms, so that fxls8974 is tested,
and added config for mimxrt1040_evk to sensor_shell

Signed-off-by: Krystof Sadlik <[email protected]>
Added fxls8974 to build_all tests

Signed-off-by: Krystof Sadlik <[email protected]>
Extend pytest-args from configuration yaml file with args
from command line instead of overwriting.

Signed-off-by: Grzegorz Chwierut <[email protected]>
…54l15

Nrf54h20dk and nrf54l15 have UART Flow Control enabled
by default on all cores.
It's a source of problem when mbox sample is run in Twister.
Twister opens serial port only on host core,
thus nobody confirms reception of logs from remote core.
As a result, remote core stucks on printing boot banner.

Twister fails sample due to the timeout while waiting for messages
from remote to host.

Disable Flow Control on remote core when mbox sample is executed
on nrf54h20 or nrf54l15.

Signed-off-by: Sebastian Głąb <[email protected]>
fabiobaltieri and others added 27 commits August 21, 2024 21:06
The reset pin on the chip is optional, add a soft reset call when the
reset pin is not specified for the device.

Signed-off-by: Fabio Baltieri <[email protected]>
The ESAI is already reset during the config_set() function
so no need to also reset it during init().

Signed-off-by: Laurentiu Mihalcea <[email protected]>
Build was failing due to const variable being passed as function param
accepting non-const variable discarding const qualifier. Explicitly cast
to fix the build issue.

Signed-off-by: Tom Burdick <[email protected]>
Refactor the guidelines rule table and add a zephyr rule number
to make it more clear that the coding guideline rules are a
subset of the MISRA-C:2012 rules.

Signed-off-by: Simon Hein <[email protected]>
Introduced `GPIO_DEVICE_INIT_RA_IF_OKAY` which utilizes `COND_CODE_1`
to reduce the chain of #if DT_NODE_HAS_STATUS(...) #endif

Signed-off-by: Pisit Sawangvonganan <[email protected]>
Moving RT118x kconfigs to series level instead of family level,
and cleaning up redundant declarations, and adding missing
HAS_MCUX_FLEXSPI selection.

Signed-off-by: Declan Snyder <[email protected]>
There are some SOCs which use the same pinctrl
device, but are not really overall that similar to the kinetis
family of SOCs, so prepare to reuse this code by other SOC families.

Signed-off-by: Declan Snyder <[email protected]>
Doesn't seem like there is any reason to be changing the
serial and ADC driver init priorities in the SOC defconfigs.
By default, clock control has priority 30, dma has priority 40,
and serial/adc have priority 50. This seems already to be the order
that is needed, and the original goal of these overrides, which
don't seem necessary anymore.

Signed-off-by: Declan Snyder <[email protected]>
The Kconfig defaults should be in Kconfig.defconfig.

MFD should not be made dependent on the LP flexcomm being
enabled, since MFD can be for other things than just flexcomm.
Change from depends on to an if.

Signed-off-by: Declan Snyder <[email protected]>
Check compliance is not allowing changes to this file
without running clang-format.

Signed-off-by: Declan Snyder <[email protected]>
NXP is not supporting these derivative parts in the zephyr upstream,
these references to them should therefore be removed in order to avoid
confusion.

Signed-off-by: Declan Snyder <[email protected]>
Some flash/memc drivers like flexspi will want to default the
value of the log level to off to avoid RWW hazard while XIP,
to do this, the logging template must be sourced after the driver
kconfig files so that the default value from the driver is able
to be checked, since logging template introduces an unconditional
default otherwise.

Signed-off-by: Declan Snyder <[email protected]>
Single point of control over this kconfig's effect.

Signed-off-by: Declan Snyder <[email protected]>
Move all dependencies of the family config to series level,
and put a disclaimer saying not to use the family config.

Change all occurrences of the family config in code to the
MCXNX4X series config.

Signed-off-by: Declan Snyder <[email protected]>
Currently this code related to how to configure the
flash size and address when using flexspi to XIP is copy
pasted in all sort of places and ways all over the tree,
let's clean this up and have single point of control over
this configuration.

Signed-off-by: Declan Snyder <[email protected]>
Delete some unused kconfigs in RW SOC family.

Signed-off-by: Declan Snyder <[email protected]>
The CONFIG_USB_MCUX_CONTROLLER_TYPE choice config
is not necessary, let's just remove it. Theoretically,
if there was an SOC with the EHCI and LPCIP3511, then
it might cause a build error, but there is no SOC
which is supported on this legacy driver that has that.

Remove all settings of it in the SOC files.

Signed-off-by: Declan Snyder <[email protected]>
Consolidate the ROM RAMLOADER config to be in one place,
add a new Kconfig file to be included by the SOCs with the feature.

Signed-off-by: Declan Snyder <[email protected]>
Move default of monolithic and fw loader, options, etc to the
common kconfig files rather than defaulting in soc file.

Signed-off-by: Declan Snyder <[email protected]>
No need for this to be expanded out so much.

Signed-off-by: Declan Snyder <[email protected]>
Converted to use CONFIG_SOC_MIMX9352 instead of
CONFIG_SOC_MIMX9352_A55 to support also M33 core.

Signed-off-by: Yangbo Lu <[email protected]>
Converted to use CONFIG_SOC_MIMX9352 instead of
CONFIG_SOC_MIMX9352_A55 to support also M33 core.

Signed-off-by: Yangbo Lu <[email protected]>
Added basic device tree file for i.MX93 Cortex-M33.

Signed-off-by: Yangbo Lu <[email protected]>
Added basic soc support for i.MX93 Cortex-M33.

Signed-off-by: Yangbo Lu <[email protected]>
Added basic board support for imx93_evk M33.

Signed-off-by: Yangbo Lu <[email protected]>
Updated the clocks that get initialized for the MCXN947
when using the LPTMR. The LPTMR allows the user to select
and Input clock, however said input clock must be
initialized before the user can select it.
Update description for clk-source in binding file.

Signed-off-by: Emilio Benavente <[email protected]>
…-to-beo

Got conflicts in:
Conflicts:
	drivers/adc/Kconfig
	drivers/can/Kconfig
	drivers/gpio/Kconfig
	drivers/serial/CMakeLists.txt
	drivers/serial/Kconfig
	drivers/spi/CMakeLists.txt
	drivers/spi/Kconfig
	samples/drivers/adc/adc_dt/boards/lp_mspm0g3507.overlay
	scripts/ci/check_compliance.py
	west.yml

which seemed trivially fixed. If we do end up with issues, maybe check this
stuff out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.