summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-13memory: ti-gpmc: Alloc per driver private structVignesh Raghavendra
Driver uses dev_get_priv() but never allocates it in its declaration leading to various crashes. Fix this by explicitly allocating the storage. Fixes: 9b0b5648d6e4 ("memory: Add TI GPMC driver") Signed-off-by: Vignesh Raghavendra <[email protected]>
2025-03-13board: ti: j784s4: Update Resource Management configsVaishnav Achath
Update rm-cfg.yaml and tifs-rm-cfg.yaml to account for the changes added in the K3 Resource Partitioning Tool v1.18 The change enables resource sharing between A72_2 and MAIN_0_R5_0 for the BCDMA CSI RX and TX channels, J784S4 supports upto 12 CSI cameras and 16 channels would not be enough for all such use cases for RTOS and Linux, thus sharing of resources in needed. Resource sharing between A72 and R5 for BCDMA CSI channels allow Linux to use 32 channels at a time. Signed-off-by: Vaishnav Achath <[email protected]> [[email protected]: rebased and sent on behalf] Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2025-03-13cmd: Drop last reference to CMD_REISERFSTom Rini
While the code was removed in commit 3766a249a3c0 ("fs: drop reiserfs") this reference in the Makefile was missed. Remove it now. Fixes: 3766a249a3c0 ("fs: drop reiserfs") Reviewed-by: Peter Robinson <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-03-13mach-k3: common_fdt: create a reserved memory nodeBryan Brattlof
Some device trees may not have a reserved-memory node. Rather than exiting early we should create a new reserved-memory node along with the memory carveout for the firmware we (U-Boot) have placed. Signed-off-by: Bryan Brattlof <[email protected]> Acked-by: Andrew Davis <[email protected]>
2025-03-13test: event: Correct usage of IS_ENABLED() macro in test/common/event.cTom Rini
This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini <[email protected]>
2025-03-13tools: add HOSTCFLAGS from openssl pkg-configRaymond Mao
HOSTCFLAGS of some tools components (image-host, rsa-sign and ecdsa-libcrypto) depend on the directory where openssl is installed. Add them via pkg-config. This fixes a potential build failure in tools when openssl in installed in varied directories. Signed-off-by: Raymond Mao <[email protected]> Reviewed-by: Peter Robinson <[email protected]>
2025-03-13Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08'Tom Rini
We had missed removing the coreboot directory once done, fix this. Signed-off-by: Tom Rini <[email protected]>
2025-03-13mailbox: add i.MX Messaging Unit (MU) driverPeng Fan
This patch provides a driver for i.MX Messaging Unit (MU) using the commom mailbox framework. This is ported from Linux (v6.12.8) driver drivers/mailbox/imx-mailbox.c. Its commit SHA is: 39d7d6177f0c ("mailbox: imx: use device name in interrupt name") Signed-off-by: Viorel Suman <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Ye Li <[email protected]>
2025-03-13ARM: dts: imx: Drop bogus regulator extras on DH i.MX6 DHCOM DRC02Marek Vasut
The regulator extras should be placed in the USB H1 regulator node, the /regulator-usb-h1-vbus. They are already present there in the upstream DT, so delete this bogus node entirely. Signed-off-by: Marek Vasut <[email protected]>
2025-03-13imx8m: soc: cope with existing optee nodeVincent Stehlé
On i.MX8M SoCs, the /firmware/optee Devicetree node is created just before booting the OS when OP-TEE is found running. If the node already exists, this results in an error, which prevents the OS to boot: Could not create optee node. ERROR: system-specific fdt fixup failed: FDT_ERR_EXISTS - must RESET the board to recover. failed to process device tree On the i.MX8M systems where CONFIG_OF_SYSTEM_SETUP is defined, the ft_add_optee_node() function is called before booting the OS. It will create the OP-TEE Devicetree node and populate it with reserved memory informations gathered at runtime. On on most i.MX8M systems the Devicetree is built with an optee node if CONFIG_OPTEE is defined. This node is indeed necessary for commands and drivers communicating with OP-TEE, even before attempting OS boot. The aforementioned issue can happen on the Compulab IOT-GATE-iMX8, which is the only in-tree i.MX8M system where both CONFIG_OPTEE and CONFIG_OF_SYSTEM_SETUP are defined (see the imx8mm-cl-iot-gate* defconfigs). Deal with an existing optee node gracefully at runtime to fix this issue. Signed-off-by: Vincent Stehlé <[email protected]> Reviewed-by: Peng Fan <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Tom Rini <[email protected]> Cc: Tim Harvey <[email protected]>
2025-03-13toradex: apalis/colibri imx6: Select correct DTB for SoM v1.2+Ernest Van Hoecke
When "fdtfile" is not set, use the "variant" environment variable to select the correct DTB. Apalis/Colibri iMX6 V1.2 replaced the STMPE811 ADC/Touch controller which is EOL with the TLA2024 ADC and AD7879 touch controller. They thus require a different DTB, which we can easily select with the variant env variable. Signed-off-by: Ernest Van Hoecke <[email protected]> Reviewed-by: Francesco Dolcini <[email protected]>
2025-03-13board: toradex: apalis/colibri imx6: Detect new v1.2 SoM variantErnest Van Hoecke
Apalis/Colibri iMX6 V1.2 will replace the STMPE811 ADC/Touch controller which is EOL by the TLA2024 ADC and AD7879 touch controller. To support this new version, we detect the presence of the TLA2024 during boot and set a new environment variable named "variant". This will allow us and users to select the correct DT easily. By probing via I2C we have a robust detection method instead of relying on the existing "board_rev" environment variable which is set by the config block. Users can use "variant" in their DT selection and do not have to map the board revision to a device tree. "variant" environment variable behaviour: * Empty or absent for all versions below v1.2 (STMPE811) * "-v1.2" for all versions starting from v1.2 (TLA2024 + AD7879) Usage example: setenv fdtfile imx6q-apalis${variant}-${fdt_board}.dtb Signed-off-by: Ernest Van Hoecke <[email protected]> Reviewed-by: Francesco Dolcini <[email protected]>
2025-03-13imx9: container.cfg: Guard tee.bin inclusionFabio Estevam
Guard the inclusion of tee.bin with the CONFIG_OPTEE symbol to fix the following build warning: CHECK u-boot-container.cfgout WARNING './tee.bin' not found, resulting binary may be not-functional BINMAN .binman_stamp OFCHK .config Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-03-13mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to KconfigTom Rini
The flag for enabling the ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE quirk can be handled easily enough in Kconfig. This lets us remove a function but not obviously correct usage of the IS_ENABLED() macro. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-03-13video: renesas-r69328: fix reset gpio directionSvyatoslav Ryhel
The reset GPIO signal operates with a low-active logic. The driver needs to be adjusted to correctly handle this. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: renesas-r69328: add missing mode flagsSvyatoslav Ryhel
Add missing MIPI DSI mode flags. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: renesas-r61307: fix reset gpio directionSvyatoslav Ryhel
The reset GPIO signal operates with a low-active logic. The driver needs to be adjusted to correctly handle this. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: renesas-r61307: adjust compatibleSvyatoslav Ryhel
Vendor prefix of Hitachi should be "hit" to comply Linux vendor prefix list. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: renesas-r61307: add missing mode flagsSvyatoslav Ryhel
Add missing MIPI DSI mode flags. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: lg-ld070wx3: add missing LPM flagSvyatoslav Ryhel
Add missing MIPI_DSI_MODE_LPM mode flag. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: endeavoru-panel: add missing LPM flagSvyatoslav Ryhel
Add missing MIPI_DSI_MODE_LPM mode flag. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: endeavoru-panel: move backlight request after probeSvyatoslav Ryhel
Due to the use of the Tegra DC backlight feature by the HTC ONE X, backlight requests MUST NOT be made during probe or earlier. This is because it creates a loop, as the backlight is a DC child. To mitigate this issue, backlight requests can be made later, once the backlight is actively used. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: fix reset gpio directionSvyatoslav Ryhel
The reset GPIO signal operates with a low-active logic. The driver needs to be adjusted to correctly handle this. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: add power suppliesSvyatoslav Ryhel
Convert enable GPIO into a set of supplies according to datasheet. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: set default minimum tx_clkSvyatoslav Ryhel
If TX_CLK is not set or gives an error, use SSD2825_REF_MIN_CLK. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: make pixel format calculation more obviousSvyatoslav Ryhel
Use switch condition to get pixel format. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: add HS delays configurationSvyatoslav Ryhel
Set HS Zero and Prepare delays from device tree. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: move post configuration from transfer functionSvyatoslav Ryhel
Reconfigure post panel enable bridge configuration. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: convert to use of_graphSvyatoslav Ryhel
Use OF graph parsing helpers to get linked panel. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: ssd2825: convert to video bridge UCLASSSvyatoslav Ryhel
Switch from PANEL_UCLASS to VIDEO_BRIDGE_UCLASS since now its user has bridge support. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: tc358768: remove need in clock nameSvyatoslav Ryhel
Bridge uses only one clock and enforcing name to be set may cause issues in the future. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: tc358768: simplify power supplies requestSvyatoslav Ryhel
Simplify power supply request logic. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: tc358768: convert to use of_graphSvyatoslav Ryhel
Use OF graph parsing helpers to get linked panel. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: tc358768: convert to video bridge UCLASSSvyatoslav Ryhel
Switch from PANEL_UCLASS to VIDEO_BRIDGE_UCLASS since now its user driver has bridge support. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: bridge: dp501: convert to video bridge UCLASSSvyatoslav Ryhel
Switch from PANEL_UCLASS to VIDEO_BRIDGE_UCLASS since now its user driver has bridge support. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dsi: respect speed mode used for DSI commands transferSvyatoslav Ryhel
Use DSI message flag to set correct speed mode for message transfer. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dsi: convert to video bridge UCLASSSvyatoslav Ryhel
Switch from PANEL_UCLASS to VIDEO_BRIDGE_UCLASS since now Tegra DC driver has bridge support. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: pwm-backlight: convert into DC childSvyatoslav Ryhel
Establish the backlight as a DC display controller child. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dc: support binding child devicesSvyatoslav Ryhel
Implement child binding helper within DC bind to support DC PWM backlight feature. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dc: remove unused video operationsSvyatoslav Ryhel
Video operations are not required by the Tegra Display Controller and should therefore be removed. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dc: get DSI/HDMI clock parent if internal DSI/HDMI is usedSvyatoslav Ryhel
If device uses native Tegra DSI or HDMI, DC clock MUST use the same parent as DSI/HDMI clock uses. Hence remove need in device tree configuration and satisfy this condition by default. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dc: convert to use of_graphSvyatoslav Ryhel
Use OF graph as a main bridge/panel source, preserving backwards compatibility with phandle implementation. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: dc: add video bridge supportSvyatoslav Ryhel
Rework existing DC driver configuration to support bridges (both external and internal DSI and HDMI controllers) and align video devices chain logic with Linux implementation. Additionally, this should improve communication between DC and internal DSI/HDMI controllers. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: provide driver support for the HDMI controllerSvyatoslav Ryhel
Tegra platforms feature native HDMI support. Implement a driver to enable functionality. This driver will initially support Tegra 2 and 3, with future extensibility. Co-developed-by: Jonas Schwöbel <[email protected]> Signed-off-by: Jonas Schwöbel <[email protected]> Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13video: tegra20: implement a minimal HOST1X driver for essential clock and ↵Svyatoslav Ryhel
reset setup Introduce a simplified HOST1X driver, limited to the basic clock and reset initialization of the bus. Signed-off-by: Svyatoslav Ryhel <[email protected]>
2025-03-13Merge patch series "xPL-stack cleanup"Tom Rini
Simon Glass <[email protected]> says: This series was split from the VBE part H series. It adjusts the logic for selecting the top of the stack so that it is more consistent across xPL phases. Link: https://lore.kernel.org/r/[email protected]
2025-03-13arm: Support a separate stack for VPLSimon Glass
VPL has the same needs as TPL in situations where the stack is at the top of SRAM. Add an option for this and implement it for arm Signed-off-by: Simon Glass <[email protected]>
2025-03-13spl: Use CONFIG_VAL() to obtain the SPL stackSimon Glass
Now that we have the same option for SPL and TPL, simplify the logic for determining the initial stack. Note that this changes behaviour as current SPL_STACK is a fallback for TPL. However, that was likely unintended and can be handled with Kconfig defaults if needed. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]> Suggested-by: Tom Rini <[email protected]>
2025-03-13spl: Add an SPL_HAVE_INIT_STACK optionSimon Glass
At present there is a hex value SPL_STACK which both determines whether SPL has its own initial stack and the hex value of that stack. Split off the former into SPL_HAVE_INIT_STACK with SPL_STACK depending on that and only providing the latter. Signed-off-by: Simon Glass <[email protected]> [trini: Resync defconfig files]
2025-03-13tpl: Rename TPL_NEEDS_SEPARATE_STACK to TPL_HAVE_INIT_STACKSimon Glass
The most common word for features that make a platform work is to use 'HAVE_xxx'. Rename this option to match. Update the help to use the word 'phase' rather than 'stage', since that is the current terminology. Also clarify that, absent this setting, the stack pointer generally comes from the value used by U-Boot proper, rather than SPL. Move the option just above TPL_STACK which depends on it. Signed-off-by: Simon Glass <[email protected]>