summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-04renesas_rzg2l_smarc_defconfig: Enable networking supportPaul Barker
For Ethernet to work on the RZ/G2L board, we need to enable support for the ksz9131 PHY and enable random MAC address generation (as no MAC address is programmed into the board). We also enable the `dhcp`, `mii` and `ping` commands so that Ethernet functionality can be tested and used to boot Linux. Signed-off-by: Paul Barker <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-05-04net: ravb: Add RZ/G2L SupportPaul Barker
The Renesas R9A07G044L (RZ/G2L) SoC includes two Gigabit Ethernet interfaces which can be supported using the ravb driver. Some RZ/G2L specific steps need to be taken during initialization due to differences between this SoC and previously supported SoCs. We also need to ensure that the module reset is de-asserted after the module clock is enabled but before any Ethernet register reads/writes take place. Signed-off-by: Paul Barker <[email protected]>
2025-05-04net: ravb: Add optional reset deassertionPaul Barker
In order to add support for the Renesas RZ/G2L Ethernet IP in a subsequent patch, we introduce optional de-assertion and re-assertion of a reset signal in ravb_probe() and ravb_remove(). Signed-off-by: Paul Barker <[email protected]>
2025-05-04net: ravb: Refactor out R-Car specific codePaul Barker
In order to add support for the Renesas RZ/G2L Ethernet IP in a subsequent patch, we move all R-Car specific code into new functions and introduce a device_ops function pointer table. Signed-off-by: Paul Barker <[email protected]>
2025-05-04net: ravb: Fix RX error handlingMarek Vasut
Correctly handle RX errors in ravb_recv() by returning 0 instead of -EAGAIN on RX error. In case the RAVB driver detects an RX error in ravb_recv(), it must not return the -EAGAIN, but instead must return 0. Both error codes are handled in eth-uclass.c eth_rx() and -EAGAIN is rewritten to 0 at the end of eth_rx(), but negative return code from the .recv() callback does not trigger .free_pkt() callback, which would clean up and re-enqueue the descriptor which holds the currently received corrupted packet. The .free_pkt() must be called for this descriptor, otherwise the follow up received data become corrupted too, even if those packets are correctly received. Returning 0 from the .recv() callback assures the corrupted packet is not processed by the network stack, but is skipped instead. For TFTP loading, an RX error produces the timeout "T" output and resumes the TFTP loading operation shortly afterward, without any data corruption. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Paul Barker <[email protected]>
2025-05-04Merge tag 'u-boot-imx-master-20250503' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/26064 - Add i.MX95 support. - Enable BOOTAUX on the i.MX8M Beacon boards.
2025-05-03arm64: imx: imx8mp-beacon: Enable BOOTAUXAdam Ford
In order to run binaries targeting the Cortex-M7, BOOTAUX is required. Signed-off-by: Adam Ford <[email protected]>
2025-05-03arm64: imx: imx8mn-beacon: Enable BOOTAUXAdam Ford
In order to run binaries targeting the Cortex-M7, BOOTAUX is required. Signed-off-by: Adam Ford <[email protected]>
2025-05-03arm64: imx: imx8mm-beacon: Enable BOOTAUXAdam Ford
In order to run binaries targeting the Cortex-M4, BOOTAUX is required. Signed-off-by: Adam Ford <[email protected]>
2025-05-03Makefile: add some files to CLEAN_FILESAlice Guo
When building the flash.bin of i.MX95 with binman, mkimage.imx-boot.spl, mkimage.imx-boot.u-boot, mkimage-out.imx-boot.spl and mkimage-out.imx-boot.u-boot are created. Add these files to CLEAN_FILES so that they can be removed when running "make clean". Signed-off-by: Alice Guo <[email protected]>
2025-05-03imx95_evk: add i.MX95 19x19 EVK board basic supportYe Li
This patch adds i.MX95 19x19 EVK board basic support. Messaging unit for EdgeLock Secure Enclave, messaging unit for System Manager, uSDHC for SD Card, gpio, lpuart are supported now. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-05-03doc: imx: add document for i.MX95 Image Container FormatAlice Guo
This patch add a document for i.MX95 Image Container Format. Signed-off-by: Alice Guo <[email protected]>
2025-05-03imx: container: add V2X container support for i.MX95Ye Li
This patch adds V2X container support for i.MX95. Since V2X container may not be included in ahab-container.img of i.MX95, check if V2X container exists in order to get the correct image end. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-05-03tools: imx8image: add i.MX95 supportAlice Guo
i.MX95 uses binman to invoke mkimage to create image container. 2 image containers are needed currently. The first one is composed of ahab-container.img, LPDDR firmware images, OEI images, System Manager image and u-boot-spl.bin. The second one is consisted of ARM Trusted firmware and u-boot.bin. Because DDR OEI image and LPDDR firmware images have to be packaged together and named as m33-oei-ddrfw.bin by binman, so imx9_image.sh does not check if m33-oei-ddrfw.bin exists. When using "make imx95_19x19_evk_defconfig; make", imx9_image.sh will delete the line for u-boot.bin in container.cfg. In fact, binman is always called after the u-boot.bin is built, so imx9_image.sh does not check if u-boot.bin exists. Signed-off-by: Alice Guo <[email protected]>
2025-05-03binman: add a new entry type for packing DDR PHY firmware imagesAlice Guo
i.MX95 needs to combine DDR PHY firmware images and their byte counts together, so add a new entry type nxp-header-ddrfw for this requirement. Signed-off-by: Alice Guo <[email protected]>
2025-05-03imx: Kconfig: IMX8_ROMAPI is not configured for i.MX95Alice Guo
i.MX95 only supports low power boot, which means A55 is kicked by M33. There is no ROM runs on A55 in such case so that deselect IMX8_ROMAPI for i.MX95. Signed-off-by: Alice Guo <[email protected]>
2025-05-03imx9: add i.MX95 Kconfig and MakefileYe Li
This patch adds i.MX95 Kconfig and Makefile. i.MX95 uses SCMI. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-05-03spl: imx: use trampoline buffer to load images to secure regionYe Li
When SPL loading image to secure region, for example, ATF and tee to DDR secure region. Because the USDHC controller is non-secure master, it can't access this region and will cause loading issue. So use a trampoline buffer in non-secure region, then use CPU to copy the image from trampoline buffer to destination secure region. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-05-03cpu: imx95: add i.MX95 supportAlice Guo
This patch is used to add the imx type string of i.MX95 ao that the i.MX95 CPU info can be printed. Signed-off-by: Alice Guo <[email protected]>
2025-05-03imx9: scmi: add i.MX95 SoC and clock related codePeng Fan
This patch adds i.MX95 SoC and clock related code. Because they are based on SCMI, put them in the scmi subfolder. Signed-off-by: Alice Guo <[email protected]> Signed-off-by: Frank Li <[email protected]> Signed-off-by: Ji Luo <[email protected]> Signed-off-by: Jindong Yue <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Ranjani Vaidyanathan <[email protected]> Signed-off-by: Ye Li <[email protected]>
2025-05-03scmi_protocols: update struct scmi_base_discover_list_protocols_outYe Li
@protocols is an array of protocol identifiers that are implemented, excluding the Base protocol. Four protocol identifiers are packed into each array element. The number of elements of @protocols is specified by callee-side. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]>
2025-05-03sandbox: add SCMI clock control permissions to sandboxAlice Guo
This patch is used to add SCMI clock control permissions to sandbox for testing. Signed-off-by: Alice Guo <[email protected]>
2025-05-03clk: scmi: check the clock state/parent/rate control permissionsAlice Guo
Clock driver based on SCMI clock management protocol in Linux checks clock state, parent and rate control permissions. To be consistent with the kernel driver, add this check here. CLOCK_GET_PERMISSIONS is from ARM System Control and Management Interface Platform Design Document 3.2. When using common clock framework (CCF), use the clock signal ID to get the clock registered by clk_register() in scmi_clk_probe(), and then obatin the struct clk_scmi variable with container_of(). Signed-off-by: Alice Guo <[email protected]> Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-05-03clk: scmi: add the command CLOCK_PARENT_SETPeng Fan
This patch adds the command CLOCK_PARENT_SET that can be used to set the parent of a clock. ARM SCMI Version 3.2 supports to change the parent of a clock device. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Ye Li <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-05-03scmi_protocols: add SCMI Performance domain management protocol message IDsPeng Fan
SCMI Performance domain management protocol is intended for performance management of groups of devices or APs that run in the same performance domain. The functionality provided by the callee-side can be used by passing the corresponding message_id. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Ye Li <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-05-03scmi_protocols: add SCMI misc protocol protocol_id and message_id for ↵Peng Fan
getting the ROM passover data SCMI misc protocol is intended for miscellaneous functions which are device specific and are usually defined to access bit fields. It is i.MX specific. This patch adds SCMI misc protocol protocol_id and message_id for getting the ROM passover data. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Ye Li <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-05-03firmware: scmi_agent: add SCMI pin control protocol supportAlice Guo
This patch adds SCMI pin control protocol support to make the pin controller driver based on SCMI, such as drivers/pinctrl/nxp/pinctrl-imx-scmi.c, can be bound to the SCMI agent device whose protocol id is 0x19. Signed-off-by: Alice Guo <[email protected]>
2025-05-03pinctrl: nxp: add a pin controller driver based on SCMI pin control protocolAlice Guo
This patch provides a pinctrl driver based on SCMI pin control protocol. Currently, only the PINCTRL_CONFIG_SET command is implemented. Signed-off-by: Ranjani Vaidyanathan <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Ye Li <[email protected]>
2025-05-03firmware: scmi: use scmi_proto_driver_get() function to get SCMI protocol driverAlice Guo
If there is a SoC specific SCMI protocol driver, using scmi_proto_driver_get() function can avoid to add SoC specific code to scmi_agent-uclass.c. Signed-off-by: Alice Guo <[email protected]>
2025-05-03firmware: scmi: support to manage SCMI protocol drivers with a ↵Alice Guo
linker-genetated array U_BOOT_SCMI_PROTO_DRIVER macro is used to add a SCMI protocol driver to scmi_proto_driver list. scmi_proto_driver_get() function can be used to match a SCMI protocol id and its driver. Signed-off-by: Alice Guo <[email protected]>
2025-05-02Merge patch series "k3-j784s4*: Enable ESMs and related PMIC"Tom Rini
Udit Kumar <[email protected]> says: This series enables the ESMs and the associated PMIC. Programming these bits is a requirement to make the watchdog actually reset the board. Series supports WDT reset on all TI platforms based upon J784S4 SOC including cut down (J742S2). Bootlogs for reset AM69: https://gist.github.com/uditkumarti/dca2171aafd6d50c82159346f9a0102f#file-am69-L2466 J784S4: https://gist.github.com/uditkumarti/dca2171aafd6d50c82159346f9a0102f#file-j784s4-L2704 J742S2: https://gist.github.com/uditkumarti/dca2171aafd6d50c82159346f9a0102f#file-j742s2-L2614 Link: https://lore.kernel.org/r/[email protected]
2025-05-02Merge patch series "board: beagle: beagley-ai: Cleanups and stdboot"Tom Rini
Nishanth Menon <[email protected]> says: Just happened to get a BeagleY-AI at desk and happened to test master branch (7dd49a9264a6 drivers: scsi: Add 'erase' support), noticed a few issues which were rather easy to solve.. so, here we go: Link: https://lore.kernel.org/r/[email protected]
2025-05-02arm: dts: k3: binman: Fix DM firmware selectionAndrew Davis
Just like TF-A and OP-TEE, the documentation states a custom path for DM can be provided at build time by setting TI_DM. This should then set ti-dm-path which updates ti-dm node filenames in binman. Two issues prevent this from functioning for most K3 boards. One is when then DM firmware name is inside a blob-ext node instead of a ti-dm node. The second is when the filename in the ti-dm node is a pointer to a blob-ext node. In this case even though the filename is updated, the filename in the blob-ext is not, so build can fail if the default file in the blob-ext cannot be found, even if the updated ti-dm file does exist. Fix both of these for all K3 by removing any indirect ti-dm nodes and making sure all DM nodes are labeled with "ti-dm". Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
2025-05-02arm: mach-k3: use CFG_MAX_MEM_SIZEBryan Brattlof
Rather than hard coding the maximum memory size, lets just define the CFG_MAX_MEM_SIZE so get_effective_memsize() will return the correct value without modification. Signed-off-by: Bryan Brattlof <[email protected]>
2025-05-02board: ti: am33xx: Add support for BeagleBoard Green EcoKory Maincent
SeeedStudio BeagleBone Green Eco (BBGE) is a clone of the BeagleBone Green (BBG). It has minor differences from the BBG, such as a different PMIC, a different Ethernet PHY, and a larger eMMC. The PMIC is not yet supported in mainline, but the work is ongoing. Signed-off-by: Kory Maincent <[email protected]>
2025-05-02configs: am64x_evm_a53: Enable MMC UHS modesJudith Mendez
Enable UHS modes for SD by enabling configs for voltage regulator drivers, IO voltage switching, and configs to support UHS modes. The am64x SoC has an internal LDO which does voltage switching, but the MMC_IO_VOLTAGE config is still required to be able to switch voltage for SD. While we are here, am64x HS400 mode has been descoped as per datasheet [0] even though we still initialize to HS200, clean this up by switching to MMC_HS200_SUPPORT config options. [0] https://www.ti.com/lit/gpn/am6442 Signed-off-by: Judith Mendez <[email protected]>
2025-05-02configs: j784s4_evm_r5: Enable ESM related configsAndrew Halaney
Like other TI platforms, let's enable the ESM. This allows the ESM to be programmed during boot, and the PMIC associated with the ESM output, enabling blocks like the RTI watchdogs to actually cause the system to reset. Signed-off-by: Andrew Halaney <[email protected]> Signed-off-by: Udit Kumar <[email protected]>
2025-05-02board: ti: j784s4: Initialize the ESM & PMIC ESMKeerthy
Initialize the ESM & PMIC ESM. This allows things like the watchdog to reset the board when tripped. Signed-off-by: Keerthy <[email protected]> Signed-off-by: Neha Malcom Francis <[email protected]> Signed-off-by: Andrew Halaney <[email protected]>
2025-05-02arm: dts: k3-am69-r5-evm: Add the PMIC ESM nodeAndrew Halaney
Add the PMIC ESM node which is responsible for triggering the PMIC reset. Suggested-by: Udit Kumar <[email protected]> Signed-off-by: Andrew Halaney <[email protected]>
2025-05-02arm: dts: k3-j784s4-r5-evm: Add the PMIC ESM nodeNeha Malcom Francis
Add the PMIC ESM node which is responsible for triggering the PMIC reset. Signed-off-by: Neha Malcom Francis <[email protected]> Signed-off-by: Andrew Halaney <[email protected]>
2025-05-02doc: beagle: Add BeagleY-AI documentationNishanth Menon
Document the BeagleY-AI usage, build and basic debug hints Reviewed-by: Udit Kumar <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02configs: am67a_beagley_ai_a53: Enable additional featuresNishanth Menon
Enable basic EFI debug features, switch over to stdboot, enable GPIO, LED and PMIC used on this platform. And enable UHS mode support for SD cards in U-Boot. Unlike other BeagleBoard products, BeagleY-AI does not have alternative onboard non-volatile memories, so capsule support does not make sense. Acked-by: Andrew Davis <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02configs:am67a_beagley_ai*: Drop un-necessary config optionsNishanth Menon
Drop SPI, EMMC, GPIO expanders that come with EVM etc. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02configs: am67a_beagley_ai*: Use saveddefconfigNishanth Menon
Drop using j722s_evm defconfig since the evm has numerous features that we do not need on BeagleY-AI platform. As new peripherals get added to EVM support, we end up having to cleanup after in beagle configurations. Instead of doing that, just split up BeagleY's configuration independently out. NOTE: no cleanup has been done to this configuration to allow for reproducibility. The cleanups are done in follow on patches Acked-by: Andrew Davis <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02beagle: beagley-ai: env: Enable DFU env optionsNishanth Menon
Just enable dfu options, We have MMC and RAM as options here. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Udit Kumar <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02beagle: beagley-ai: env: Setup scripts for LED controlNishanth Menon
Most of the users of BeagleY-AI are headless OR do not use serial port. In such cases, it is very useful for the device to provide some level of indication to know what state their board is at. Unfortunately, with a single LED (ignoring the :heartbeat), the options are limited. This is a precursor patch to actually enabling the LED options that will use the same in the follow on patches. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02beagle: beagley-ai: env: Set up the boot devices and boot methodsNishanth Menon
We just have a single MMC on BeagleY-AI. So drop all other boot options, In the meanwhile, we also will use efiboot and standard boot methods consistent with other K3 Beagle products. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Udit Kumar <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02arch: arm: dts: k3-am67a-beagley-ai-u-boot: Mark main_gpio1 as bootph-allNishanth Menon
main_gpio1 controls the voltage for the SDcard from 3.3v to 1.8v. This is required for proper operation of SDcard through various boot stages. Fixes the following seen in the boot log: failed to set vqmmc-voltage to 3.3V Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02board: beagle: beagley-ai: Add pattern match for MAINTAINERSNishanth Menon
just use beagley_ai as pattern match for the files and folders involved. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Udit Kumar <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]> Reviewed-by: Andrew Davis <[email protected]>
2025-05-02Merge patch series "video: Enhancements related to truetype and console"Tom Rini
Simon Glass <[email protected]> says: This series includes some precursor patches needed for forthcoming expo enhancements. - truetype support for multiple lines - make white-on-black a runtime option - support drawing a rectangle