Jump to content

Mainline:Broadcom Kona/BCM590xx/Interrupts

From dissonant.dev wiki
Revision as of 19:30, 31 January 2025 by Knuxify (talk | contribs) (Created page with "The BCM590xx PMIC exposes a series of interrupts. This page describes the operation of these interrupts. == Interrupt overview == The BCM59054 has '''128 IRQs'''; the BCM59056 has '''64 IRQs'''. On both chips, interrupt handling is the same. === Interrupt masking === Interrupts can be masked/unmasked by writing the relevant bit to <code>INTxMSK</code> registers. A value of <code>0</code> indicates that the interrupt is masked; a value of <code>1</code> indicates that...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The BCM590xx PMIC exposes a series of interrupts. This page describes the operation of these interrupts.

Interrupt overview

The BCM59054 has 128 IRQs; the BCM59056 has 64 IRQs. On both chips, interrupt handling is the same.

Interrupt masking

Interrupts can be masked/unmasked by writing the relevant bit to INTxMSK registers. A value of 0 indicates that the interrupt is masked; a value of 1 indicates that the interrupt is unmasked.

Checking the status of an interrupt

Interrupts report their status in INTx registers.

List of interrupts

TODO. See enum bcmpmu59xxx_irq in include/linux/mfd/bcmpmu59xxx.h in downstream for BCM59054 interrupts, enum bcmpmu_irq in include/linux/mfd/bcmpmu_56.h for BCM59056 interrupts.

See also