This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: How do I change the interrupt number of GPIO,I need to optimize interrupt response

Part Number: AM623

Hi!

   Our platform is rt-linux, sdk-09.00.00.03 version.

   Currently set up a 1ms GPIO interrupt, the interrupt is always executed, but occasionally there will be a moment around 10ms to respond.We need to optimize it. Any good suggestions?

    We used pin 1 interrupt of GPIO0, and the interrupt number was found to be 280 from the system. May I ask how the interrupt number 280 was calculated?  I read the manual and the interrupt number on pin 1 is 1.  The device tree configuration is as follows :

&my_fpga_interrupt0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "my_fpga_interrupt0";
pinctrl-names = "default";
pinctrl-0 = <&my_fpga_interrupt0_pin_default>;
input-gpio = <&main_gpio0 1 GPIO_ACTIVE_LOW>;
interrupt-parent = <&main_gpio0>;
interrupts = <1 IRQ_TYPE_EDGE_RISING>;
status = "okay";
};

I have tried to change it to a different interrupt number, but the GPIO interrupt has not responded.

Is it because a GPIO can only correspond to one interrupt number and cannot be changed to anything else? So how can I optimize it?