Hi,
On a Jetson AGX Thor Developer Kit (P3834-0008 module on the P4071-0000 carrier), with JetPack 7.2 / L4T R39.2.0 and 7.2.1 / R39.2.1, the power sequencer’s interrupt storms on every boot and the kernel turns it off about 79 s after the driver loads:
irq 234: nobody cared (try booting with the "irqpoll" option)
handlers:
[<...>] irq_default_primary_handler threaded [<...>] regmap_irq_thread
Disabling IRQ #234
/proc/interrupts shows it as “c800000.pmc 0 Level nvvrs-pseq-irq”, about 1,270 interrupts a second from the moment nvidia-vrs-pseq loads. The sequencer’s status registers (INT_SRC1, INT_SRC2, INT_VENDOR) read 0 the whole time, and the driver never logs “CAUTION: interrupt status reg”.
What we tried, by rebinding the driver to re-enable the interrupt and toggling AOWAKE_CTRL.INTR_POLARITY (which nvidia,invert-interrupt in tegra264-p3834-common.dtsi sets) at runtime:
- Inversion on (as shipped): storm.
- Inversion off: quiet.
- Inversion off, with an RTC alarm set through /sys/class/rtc/rtc0/wakealarm: the sequencer flags it (INT_SRC1 = 0x08), but no interrupt reaches Linux.
So the line into PMC wake 0 appears to stay at one level regardless of the sequencer.
As a workaround we now build the devkit’s device tree without nvidia,invert-interrupt on the PMC: the storm is gone and irq 234 stays at 0, but the sequencer’s interrupts (RTC alarm, watchdog, thermal) still never reach Linux.
From the Thor pinmux spreadsheet, wake0 is PMU_INT_N on module pin B10 (POWER_INT_N). On the P4071 schematic (P4071_A02, page 10) that is PWR_IRQ_N, which goes through Q149 (gate on AURIX_3V3, R1390 pull-up) to AURIX_FUNC_IRQ_N. If AURIX_3V3 is off, Q149’s body diode would hold PWR_IRQ_N low. AURIX’s LEDs DS1 and DS3 are dark on our unit.
Questions:
- On the P4071 devkit, is the VRS power sequencer’s interrupt meant to reach the SoC on PMU_INT_N / POWER_INT_N, and is that line shared with AURIX?
- Is AURIX powered on a standard P4071-0000 devkit, and if not, is PWR_IRQ_N expected to be held low?
- Is there a recommended device tree for the devkit so that the sequencer’s RTC alarm, watchdog and thermal interrupts work, or should nvidia,invert-interrupt be dropped on this carrier?
Thanks