Gpio irq request failed

Hi,

1)agx board, pin C55–>GPIO3_PQ.04

2)sdk_version: 36.4.3

3)modify dts as fowlow:
soc_gpio31_pq4 {
nvidia,pins = “soc_gpio31_pq4”;
nvidia,function = “rsvd0”;
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,io-high-voltage = <TEGRA_PIN_DISABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};

4)error as follow :

[ 8.407084] genirq: Failed to request resources for 6-0025 (irq 259) on irqchip 2200000.gpio

5)but by gpioinfo is : line 104: “PQ.04” unused output active-high, and not find pq4 be used.

Hi 2561477011,

Are you using the devkit or custom board for AGX Orin?
Could you configure the pinmux through spreadsheet instead of modifying device tree directly?

Is genirq your custom driver to register for IRQ?
Please also share the full dmesg and device tree for further check.