u-boot/drivers
Christian Marangi aa96cda0a5 clk: fix crash on clk_set_rate clean rate cache
It's currently possible to make the bootloader crash on calling
clk_set_rate caused by the loop in clk_clean_rate_cache.

The loop assume that every child of the clock node are also clock
device but this is not always the case. For example it's common for a
clock to bind to a reset device or also expose a syscon if the clock
register map is also used to apply special configuration.

In such case, on accessing a device as a clock, the bootloader crash. To
correctly handle this, check if the child device is actually a clock and
ignore otherwise.

Fixes: 6b7fd3128f ("clk: fix set_rate to clean up cached rates for the hierarchy")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2025-04-30 07:50:18 -06:00
..
adc adc: rockchip-saradc: Add support for RK3528 2025-04-23 22:12:04 +08:00
ata Merge patch series "MIPS: Boston: Various enhancements" 2025-04-22 15:13:21 -06:00
axi
bios_emulator bios_emulator: fix incorrect printing of address in "jump near immediate" 2024-12-15 11:39:23 -06:00
block Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
bootcount Kconfig: Move CONFIG_BOOTCOUNT_ALTBOOTCMD to Kconfig 2025-02-14 10:19:24 -06:00
bus Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
button button: make button_get_by_label() case insensitive 2025-04-11 15:28:14 +02:00
cache driver: sifive ccache: enable TRUNKCLOCKGATE and REGIONCLOCKGATE 2024-11-06 18:56:51 +08:00
clk clk: fix crash on clk_set_rate clean rate cache 2025-04-30 07:50:18 -06:00
core Merge patch series "Switch to using $(PHASE_) in Makefiles" 2025-04-11 12:16:49 -06:00
cpu cpu: imx8_cpu: Print Speed grade if IMX_TMU 2025-03-25 08:32:16 -03:00
crypto crypto: fsl_hash: fix flush dcache alignment in caam_hash() 2025-03-03 14:18:50 +08:00
ddr ddr: altera: iossm: Enhance debug information for ECC errors 2025-04-22 11:47:41 +08:00
demo
dfu Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
dma arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
extcon
fastboot fastboot: lift restrictions on !NET_LWIP for USB 2025-04-10 09:59:37 +02:00
firmware power-domain: Add support for refcounting (again) 2025-04-28 10:41:19 -03:00
fpga arm64: versal2: Add PL bit stream load support 2025-04-16 13:44:44 +02:00
fuzz
fwu-mdata
gpio gpio: axp: Remove virtual VBUS enable GPIO 2025-04-28 12:45:44 -06:00
hwspinlock
i2c i2c: mediatek: remove duplicate entry in mt_i2c_regs_v1[] 2025-04-22 13:04:22 +02:00
input input: add support for CPCAP power button 2025-04-12 09:44:02 +03:00
iommu Merge patch series "Fix device removal order for Apple dart iommu" 2024-11-24 15:41:32 -06:00
led Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
mailbox Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
memory memory: ti-gpmc: Alloc per driver private struct 2025-03-13 14:23:05 -06:00
mfd
misc cros_ec_sandbox.c: Drop spi.h include 2025-04-28 13:25:00 -06:00
mmc sunxi: mmc: remove usage of struct sunxi_ccm_reg 2025-04-28 12:45:44 -06:00
mtd Revert "mtd: spi-nor: Remove recently added SST special case" 2025-04-29 15:29:00 -06:00
mux Merge patch series "Switch to using $(PHASE_) in Makefiles" 2025-04-11 12:16:49 -06:00
net net: ti: am65-cpsw-nuss: invoke phy_config() in driver's .start callback 2025-04-28 13:24:56 -06:00
nvme Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
pch
pci Merge patch series "Add PCIe support for TI AM64 SoC" 2025-04-24 10:46:17 -06:00
pci_endpoint
phy phy: sun4i-usb: Determine USB OTG detection pin from devicetree 2025-04-28 12:45:44 -06:00
pinctrl pinctrl: rockchip: support rk3576 pinctrl 2025-04-23 22:12:05 +08:00
power Merge tag 'u-boot-imx-master-20250428' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx 2025-04-28 12:45:45 -06:00
pwm pwm: mediatek: add pwm support for MediaTek MT7987 SoC 2025-03-30 09:14:44 -06:00
qe
ram ram: rockchip: Add rk3576 ddr driver support 2025-04-23 22:12:05 +08:00
reboot-mode
remoteproc Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
reset reset: rockchip: implement rk3576 lookup table 2025-04-23 22:12:05 +08:00
rng rng: rockchip: Add support for rkrng variant 2025-04-23 22:12:04 +08:00
rtc rtc: emul_rtc: Make emul_rtc_probe() static 2025-02-10 10:29:10 -06:00
scsi drivers: scsi: Add 'erase' support 2025-04-10 20:55:53 -06:00
serial serial: Setup default base and frequency for Versal platforms 2025-04-16 13:42:06 +02:00
sm
smem
soc soc: Add information to identify the J742S2 SoC family 2025-04-03 11:37:46 -06:00
sound drivers: sound: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
spi drivers: spi: Fix data loss issue in QSPI 2025-04-29 15:28:54 -06:00
spmi spmi: msm: correctly handle multiple mapping entries 2025-04-10 15:43:10 +02:00
sysinfo sysinfo: Add driver for IOT2050 boards 2025-02-28 08:41:54 -06:00
sysreset sysreset: diverge GPIO reset and poweroff configs per-phase 2025-04-12 09:42:36 +03:00
tee
thermal drivers: thermal: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
timer Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
tpm tpm: cr50: Support opening the TPM multiple times 2025-04-14 22:59:01 +03:00
ufs ufs: amd-versal2: Use raw read/write for SLCR/CACHE registers 2025-04-16 13:42:06 +02:00
usb u-boot-dfu-20250425 2025-04-24 10:44:17 -06:00
video video: backlight: add TI LM3532 led controller 2025-04-12 09:44:02 +03:00
virtio blk: Make block subsystems select BLK 2025-01-20 19:26:54 -06:00
w1
w1-eeprom
watchdog watchdog: sunxi: add A523 support 2025-04-28 12:45:44 -06:00
xen
Kconfig
Makefile Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00