summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-10-10Merge tag 'mmc-power-master-2025-10-10' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-mmc CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/27881 - Use dev_read_u32() for sdhciA-cadence6 - Misc compilation/Kconfig fix
2025-10-10NXP: Make RAMBOOT_PBL only be valid for PowerPC or ls1021ATom Rini
Only PowerPC and LS1021A platforms can make use of RAMBOOT_PBL. Add the dependencies to the symbol. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-10crypto/rng: double the entropy delay interval for retryGaurav Jain
During entropy evaluation, if the generated samples fail any statistical test, then, all of the bits will be discarded, and a second set of samples will be generated and tested. Double the ent_delay to give more chance to pass before performing retry. Signed-off-by: Gaurav Jain <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-10mmc: cv1800b_sdhci: Fix possible warning with MMC_SUPPORTS_TUNING=nTom Rini
The function cv1800b_set_tap_delay is only called by cv1800b_execute_tuning. The latter is where we currently have the #if guard around MMC_SUPPORTS_TUNING, and so with the option disabled we have an unused function warning. Move the guard to cover both functions. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-10power: regulator: Correct dependencies on SPL_REGULATOR_PWMTom Rini
In order to enable and build with SPL_REGULATOR_PWM we need to have both SPL_DM_REGULATOR and SPL_DM_PWM enabled. Build-wise, we can have SPL have PWM regulator support without enabling it in U-Boot itself so drop that dependency. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-10mmc: Fix a potential warning in xPLTom Rini
When xPL_MMC_WRITE is set but also xPL_MMC_TINY is set, the function sd_read_ssr may be unused. Guard it appropriately. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-10mmc: sdhci-cadence6: Use dev_read_u32() for device tree property parsingTanmay Kathpalia
Convert device tree property parsing to use dev_read_u32(), which handles endianness and simplifies the code. Signed-off-by: Tanmay Kathpalia <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2025-10-09Merge patch series "firmware: scmi: various update"Tom Rini
Peng Fan (OSS) <[email protected]> says: Misc update on firmware scmi: - Typo fix - Use io helpers - Use PAGE_SIZE for arm64 - Add IN_USE error code - Add more error info - Support scmi max rx timeout in mailbox - Add myself as scmi maintainer, AKASHI contributed most code, but seems he is not invovled in the developement anymore, I volunteer to help here. Some items on list that I am thinking to add: - align with linux kernel to use cpu_to_le32 and le32_to_cpu, but have not find a good way to use the helpers. - Add SCMI version negotiation as Linux Kernel Link: https://lore.kernel.org/r/[email protected]
2025-10-09MAINTAINERS: Add an entry for SCMIPeng Fan
Add an entry for SCMI and add myself as maintainer Signed-off-by: Peng Fan <[email protected]>
2025-10-09cmd: scmi: Add pin control protocol namePeng Fan
Pin control protocol name was not added into 'protocol_name' array, however Pin control was supported on i.MX95. So add it. Signed-off-by: Peng Fan <[email protected]>
2025-10-09clk: scmi: Replace log_debug with dev_dbgPeng Fan
Use dev_dbg to dump device name, dev_dbg also a encapsulation call to log() and print(). So it is ok to use dev_dbg. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: mailbox: Support arm,max_rx_timeout_msPeng Fan
Per devicetree bindings: arm,max-rx-timeout-ms indicates an optional time value, expressed in milliseconds, representing the transport maximum timeout value for the receive channel. The value should be a non-zero value if set. Support this property if platform set it to a non-default value. This property is a per SCMI property, so all channels share same value. Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2025-10-09firmware: scmi: mailbox: Update timeout to 30msPeng Fan
Following Linux Kernel drivers/firmware/arm_scmi/transports/mailbox.c to set the default timeout to 30ms. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: use PAGE_SIZE alignment for ARM64Peng Fan
For ARMv7, the alignment could be SECTION size. But for ARM64, use PAGE_SIZE. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: Add error code IN_USEPeng Fan
In SCMI spec 3.2, there is an update: Add IN_USE error code for usage with Pin control protocol So add the error decoding for IN_USE. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: smt: Dump more infoPeng Fan
"Buffer too small" is too vague, dump more info to make it easier to debug issues. Change dev_dbg to dev_err when buffer is too small. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: smt: Use io helpersPeng Fan
It is not good practice to directly use "hdr->x" to read/write the hdr, because the SCMI buffer may not mapped as normal memory. Following Linux Kernel, using ioread32/iowrite32/memcpy_[from,to]io for smt header read, write. Signed-off-by: Peng Fan <[email protected]>
2025-10-09firmware: scmi: Typo fixPeng Fan
Typo: 'to' -> 'too' Signed-off-by: Peng Fan <[email protected]>
2025-10-09Merge patch series "fw_loader: Split from fs_loader into separate library file"Tom Rini
This series from Marek Vasut <[email protected]> splits the fw_loader "script" code out from the fs_loader code as the former does not require the latter. Link: https://lore.kernel.org/r/[email protected]
2025-10-09fw_loader: Prefix the FW loader variables with the script prefixMarek Vasut
Add the script name as a prefix to fw_addr and fw_size variables to make sure they are always unique and won't easily conflict with user variables. Signed-off-by: Marek Vasut <[email protected]>
2025-10-09fw_loader: Split from fs_loader into separate library fileMarek Vasut
The script based firmware loader does not use anything from the fs_loader implementation. Separate it into its own library source file and convert the mediatek PHY to use this separate code. This should reduce the amount of code that is pulled in alongside the firmware loader, as the FS loader is no longer included. Signed-off-by: Marek Vasut <[email protected]>
2025-10-09Merge tag 'u-boot-imx-master-20251009' 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/27872 - Several improvements for kontron-sl-mx8mm. - Add rauc to bootmeths to phycore_imx8mp. - Fix imx93_frdm USB vendor ID.
2025-10-09nand: atmel: Rework ATMEL_EBI and DM_NAND_ATMEL interactionTom Rini
The way that the NAND driver under DM_NAND_ATMEL is probed is by the dummy memory driver controlled by ATMEL_EBI. Rather than require that for NAND to work both be enabled, make NAND select ATMEL_EBI and do not prompt for ATMEL_EBI as it only triggers the probe for NAND. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Michael Trimarchi <[email protected]>
2025-10-09mtd: Tighten some mtd driver dependenciesTom Rini
A large number of mtd drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Michael Trimarchi <[email protected]>
2025-10-09arm: dts: imx8mp-toradex-smarc: migrate to OF_UPSTREAMErnest Van Hoecke
Enable CONFIG_OF_UPSTREAM to receive automatic device tree updates for the Toradex SMARC iMX8MP. Remove the now obsolete device tree files: - imx8mp-toradex-smarc-dev.dts - imx8mp-toradex-smarc.dtsi Signed-off-by: Ernest Van Hoecke <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2025-10-09Merge tag 'ubi-for-2026.01-rc1' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-ubi UBI updates for 2025.10 - ubi fixes found by Andrew with Smatch - mtd: ubi: Remove test that always fails - fs: ubifs: Ensure buf is freed before return - fs: ubifs: Need to check return for being an error pointer -fs: ubifs: Fix and rework error handling in ubifs_finddir - fix: limit copy size in ubispl found by Benedikt - extend support for LED activity (use the LED activity also on ubi reads) from Yegor
2025-10-09imx93_frdm: Fix USB vendor IDMathieu Dubois-Briand
NXP manufacturing tools expect the device to have the NXP 0x1fc9 vendor ID instead of 0x0525. This is the value already used by other i.MX8 and i.MX9 boards. Signed-off-by: Mathieu Dubois-Briand <[email protected]>
2025-10-09xilinx: Enable SNTP/DATE commands and RTCMichal Simek
Enable SNTP/DATE commands on all Xilinx boards. Also enable RTC_EMULATION driver for platforms which don't have physical RTC. Enabling DM_RTC is enabling by default also CMD_DATE. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/2605b1618a311efe4f35442c34e7cec973060630.1759393175.git.michal.simek@amd.com
2025-10-09xilinx: mbv: Remove redundancy in MB-V defconfigsPadmarao Begari
Removes redundant configuration options from MB-V platform defconfigs targeting both modes. Common settings are now placed in xilinx_mbv32_defconfig, which is included via the #include <configs/...>. This approach centralizes configuration management, reduces duplication, and makes future maintenance easier. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/585f96d85b656803bd382ac25425d68998f24ed5.1759393175.git.michal.simek@amd.com
2025-10-09video: zynqmp: Prevent use of uninitialised variablesAndrew Goodbody
The variables 'offset_matrix' and 'csc_matrix' will be used uninitialised if video->is_rgb is false. Correct the logic so the attempt to use uninitialised variables is not made. Also remove the use of these variables as they seem to serve no useful purpose just being aliases for arrays. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
2025-10-09xilinx: Replace PHY_VITESSE by PHY_MSCCMichal Simek
Enable MSCC phy driver instead of VITESSE. Vitesse driver is much older and is on the way out that's why switch to MSCC driver which covers VSC8531 which is used on one Versal board. Reviewed-by: Tom Rini <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/0a441e488a29bd1c93677a6f63a4a04a3cc1c9f5.1759216164.git.michal.simek@amd.com
2025-10-09timer: Tighten CADENCE_TTC_TIMER dependenciesTom Rini
This driver implements timer_get_boot_us() which is global namespace and can conflict with other implementations of the function for example in "allyesconfig". Start by limiting this driver to platforms which use it. Signed-off-by: Tom Rini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
2025-10-09arm64: zynqmp: Fix DTOVL warning about graphs in kv/kr260Michal Simek
DTC is generating warnings about missing port like: DTOVL arch/arm/dts/zynqmp-smk-k24-revA-sck-kv-g-revB.dtb arch/arm/dts/zynqmp-sck-kv-g-revA.dtbo: Warning (graph_port): /fragment@5/__overlay__: graph port node name should be 'port' ... That's why change description and add it directly to dpsub mode to contain full description with also port. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/576630cc9696e21bef15bd1f0ca35e396adc4eca.1758529693.git.michal.simek@amd.com
2025-10-09board: xilinx: update guid based on metadataPadmarao Begari
The generated GUID applies to all Xilinx platforms but is not specific to any individual board. For FWU multi bank update, use the image UUID (GUID) from the FWU metadata structure rather than embedding a generated GUID into the U-Boot build. Signed-off-by: Padmarao Begari <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
2025-10-09FWU: Add platform hook support for fwu metataPadmarao Begari
FWU metadata information is unavailable for platform-specific operations since FWU initialization has not yet occurred. The initialization function is invoked as part of the main loop event. To address this, the FWU platform hook function is introduced during FWU initialization, allowing metadata processing with platform-specific operations. Signed-off-by: Padmarao Begari <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
2025-10-09arm64: zynqmp: Add pmw_fan label to k26Michal Simek
Some boards/designs with System Controller which are using SOMs need to change PWM signal polarity that's why create label to be able to reference them. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/7a392d79685e5b122528e8fe7617475c4f6fabab.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Enable DP for kr260, kv260, zcu100, zcu102, zcu104, zcu111Michal Simek
Upstream DP DT binding enforcing dp-connector and port description to operate properly. Co-developed-by: Rohit Visavalia <[email protected]> Signed-off-by: Rohit Visavalia <[email protected]> Co-developed-by: Nithish Kumar Naroju <[email protected]> Signed-off-by: Nithish Kumar Naroju <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/15e863adca11431f68d37d732cd8a453e508ad91.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Introduce DP port labelsMichal Simek
Describe every port by unique label for easier wiring with DT overlays. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/933151f48f236f64ec9e91b9da4f174460a269e6.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Update compatible string for tps546X24Michal Simek
ti,tps546d24 is already described in DT binding and ti,tps546b24 should be described in the same way that's why update compatible string to match them. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/a247b2b57ebe52e9d23525bf4f96c4872288025d.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Enable PSCI 1.0Michal Simek
TF-A is using PSCI 1.0 version for quite a long time but it was never reflected in DT. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/a3372ee9cce7fade7c9f707727e33d1cf569b607.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Fix incomplete comment in zynqmp-sc-vn-p-b2197-00-revA.dtsoMichal Simek
Fix comment inside comment by closing the first one properly. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/779be02a8f0cfa1deab86dbfe8e575ab152d43f3.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Revert usb node drive strength and slew rate for zcu106Radhey Shyam Pandey
On a few zcu106 boards USB devices (Dell MS116 USB Optical Mouse, Dell USB Entry Keyboard) are not enumerated on linux boot due to commit 'b8745e7eb488 ("arm64: zynqmp: Fix usb node drive strength and slew rate")'. To fix it as a workaround revert to working version and then investigate at board level why drive strength from 12mA to 4mA and slew from fast to slow is not working. Signed-off-by: Radhey Shyam Pandey <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/14d3408cf547ac188c07c10abb0ddfaac9d915c4.1756803198.git.michal.simek@amd.com
2025-10-09arm64: xilinx: Add i2c mux idle disconnect propertyPadmarao Begari
Add i2c-mux-idle-disconnect property to an i2c mux node. It is used to configure an i2c mux to disconnect all its channels when idle. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/d75f31d72cadf6d98c0faa51239bf2b239797d2d.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Remove "ti,tps53679" propertyMichal Simek
Linux driver has been updated that only ti,tps53681 dt property is needed and there is no need to provide second compatible string. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/609ee957931242ab6cde93e75eb3bd8afa769f12.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Remove RTC calibration from sm-k26Michal Simek
Default calibration is already in zynqmp.dtsi that's why make no sense to describe it again. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/6331bf84d7afaf8031d9cbb64354fcd8ca343d45.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Remove undocumented arasan, has-mdma propertyMichal Simek
Property was used long ago by internal Xilinx Linux driver but it is not documented in DT binding that's why remove it. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/546788df1a64c41e332463411ad99b1f3b40bc96.1756803198.git.michal.simek@amd.com
2025-10-09arm64: zynqmp: Disable coresight by defaultQuanyang Wang
When secure-boot mode of bootloader is enabled, the registers of coresight are not permitted to access that's why disable it by default. Signed-off-by: Quanyang Wang <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/1ea8e5bdb9bfdcc1fc6670bf4b4e13c40fbdc00c.1756803198.git.michal.simek@amd.com
2025-10-09pwm: cadence-ttc: Insufficient elements in arrayAndrew Goodbody
The Cadence TTC has 3 channels that can each be used for PWM functions. Ensure that the array has sufficient elements to avoid a possible memory access overrun. Use a macro to keep the array size and limit checks in sync so adjust checks to work with this. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
2025-10-09drivers: firmware: update xilinx_pm_request to support max payloadNaman Trivedi
Currently xilinx_pm_request API supports four u32 payloads. However the legacy SMC format supports five u32 request payloads and extended SMC format supports six u32 request payloads. Add support for the same in xilinx_pm_request API. Also add two dummy arguments to all the callers of xilinx_pm_request. The TF-A always fills seven u32 return payload so add support for the same in xilinx_pm_request API. Signed-off-by: Naman Trivedi <[email protected]> Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]> Acked-by: Senthil Nathan Thangaraj <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/5ae6b560741f3ca8b89059c4ebb87acf75b4718e.1756388537.git.michal.simek@amd.com
2025-10-09clk: xilinx: Separate legacy format to own handlerMichal Simek
It is a preparation for adding enhacement format support that's why there is a need to separate current support to own function. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/c4d546553d4f0d69ef75fb1132b7121f36dd306c.1756388537.git.michal.simek@amd.com