misc: npcm_host_intf: Disable pending KCS/BPC interrupts
authorJim Liu <jim.t90615@gmail.com>
Thu, 7 Aug 2025 05:32:23 +0000 (13:32 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 18 Aug 2025 22:40:24 +0000 (16:40 -0600)
commit987880581646d5836d2485e5f7a5af6ce8600da1
treeaab4889f4f783490dcc0db1ba7930e6becd4011e
parent121927e37be0725139d5b07d08361ac266685808
misc: npcm_host_intf: Disable pending KCS/BPC interrupts

If there is an unhandled KCS/BPC pending interrupt after reboot,
the KCS/BPC Linux driver may trigger interrupts immediately upon
registering the irq. However, since the driver is not yet initialized
to handle them, this can lead to unexpected behavior.

To prevent this, disable KCS/BPC interrupts in u-boot to avoid pending
interrupts from being raised before the Linux driver is fully initialized.

Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
arch/arm/dts/nuvoton-common-npcm8xx.dtsi
drivers/misc/npcm_host_intf.c