Skip to content

imx: mach: imx8: fdt: fix industrial GPU frequencies

Stefan Eichenberger u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2imx: mach: imx8: fdt: return libfdt errors from helpersarch/arm/mach-imx/imx8/fdt.c+9 -191 reply
2/2imx: mach: imx8: fdt: support newer GPU0 bus node namearch/arm/mach-imx/imx8/fdt.c+6 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFrancesco Dolcini
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] imx: mach: imx8: fdt: fix industrial GPU frequencies

On the industrial i.MX 8 variant, U-Boot limits the GPU clocks to 625 MHz by patching the device tree of the kernel. This series fixes two issues with that code.

The first patch makes the helpers return the libfdt error codes, so missing nodes are ignored again and real errors are printed with a meaningful message. Before, booting a device tree without the GPU1 nodes printed a misleading error:

Failed to set assigned-clock-rates for GPU1: FDT_ERR_BADPHANDLE

The second patch adds support for the GPU0 bus node name used by mainline Linux and NXP downstream kernels starting with 6.18 (bus@53000000 instead of bus@53100000). Without it, GPU0 runs at the default 700/850 MHz instead of the 625 MHz limit of the industrial SoC.

Stefan Eichenberger (2):
imx: mach: imx8: fdt: return libfdt errors from helpers
imx: mach: imx8: fdt: support newer GPU0 bus node name

 arch/arm/mach-imx/imx8/fdt.c | 35 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 20 deletions(-)
Signature · 1 line
2.56.0