Hello Francesco, On Sat, 03 Jan 2026 22:22:12 +0100 Francesco Valla <[email protected]> wrote:
> One of the two on-board PTN5110 TCPC USB Power Delivery controller on > the i.MX93 FRDM board shares its interrupt line whith the PCAL6524 power > controller (GPIO3-27). Since the PTN5110 starts after POR with the > interrupts enabled, this can lead to an interrupt storm on OS startup if > only the driver for the PCAL6524 is loaded, because none is servicing > (and clearing) the interrupt requests from the PTN5110. > > Maks and clear all interrupts as part uring board initialization; they > can be re-enabled later by a proper OS driver if required. > > Co-developed-by: Joseph Guo <[email protected]> > Signed-off-by: Francesco Valla <[email protected]> Thanks a lot for this patch, I confirm it fixes the issue I was having with the kernel experiencing spurious IRQs. I don't really have any comments on the technical approach: it's never nice to poke into a device registers directly from a board file and outside of the driver for that specific device, but I don't know if there's a better approach for this specific problem. So in any case: Tested-by: Thomas Petazzoni <[email protected]> Thanks again! Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com

