u-boot/arch
Marek Vasut c02cdd4187 arm64: dts: imx8mn: Include 32kHz oscillator clock in SPL DTs
Since 50cdd3f74a ("clk: imx: clk-imx8mn Fix nand and spi clock parent"),
drivers/clk/imx/clk-imx8mn.c clk_get_by_name(dev, "osc_24m", &osc_24m_clk)
fails with error -22 EINVAL in SPL. This is because clk_get_by_name() in the
end calls fdtdec_parse_phandle_with_args(), which iterates over all phandles
in clock-controller@30380000 { clocks = <&osc_32k>, <&osc_24m>, ... } node
'clocks' property in an attempt to find the "osc_24m" clock, but fails to
resolve the &osc_32k phandle and returns with -EINVAL.

Include the osc_32k clock in SPL DTs as a low risk fix for v2025.01 release.
This way, fdtdec_parse_phandle_with_args() can resolve both the osc_32k and
following osc_24m phandle and successfully look up the osc_24m clock.

Fixes: 50cdd3f74a ("clk: imx: clk-imx8mn Fix nand and spi clock parent")
Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mn-beacon
2024-11-23 15:46:34 -03:00
..
arc
arm arm64: dts: imx8mn: Include 32kHz oscillator clock in SPL DTs 2024-11-23 15:46:34 -03:00
m68k m68k: asm/ptrace.h: include linux/types.h 2024-10-23 06:52:38 +02:00
microblaze
mips CONFIG_SYS_NONCACHED_MEMORY: Move prototypes to include/cpu_func.h for consistency 2024-10-29 16:17:18 -06:00
nios2
powerpc
riscv riscv: Introduce configuration for 64bit version Microblaze V 2024-11-06 19:42:54 +08:00
sandbox test: efi: boot: Set up an image suitable for EFI testing 2024-11-09 10:01:47 +01:00
sh
x86 x86: coreboot: Enable support for the configuration editor 2024-11-03 21:27:12 -06:00
xtensa
.gitignore
Kconfig test: run longjmp() test only on supported architectures 2024-11-13 08:16:47 -06:00
Kconfig.nxp
u-boot-elf.lds