Hi,
IRQ interrupt is associated with the IRQ pin. But you want to use Port P interrupt.
These are two different interrupts.
Regarding the Port P interrupt, you only need to enable the interrupt in PIEP register, select polarity in PPSP register and use correct interrupt vector.
Regards,
Daniel