- Basic Info:
hardware: jetson-agx-orin-devkit
JetPack : 6.2
Jetson Linux : 36.4.3
- issue: in device driver request irq line error
Porting wk2xxx driver got error while request irq, detail error message as attach console.txt
console.txt (44.4 KB)
using H53 as irq line config as below
![]()
using request irq function as below
irq-gpios = <&gpio TEGRA234_MAIN_GPIO(P, 1) IRQ_TYPE_LEVEL_LOW>;
of_get_named_gpio_flags(dev->of_node, “irq-gpios”, 0,&irq_flags);
irq = gpio_to_irq(*irq_gpio);
gpio_request(*irq_gpio , “irq_gpio”))
in function request irq which may result in below error, I cann’t quite get understand, seems like the gpio can not be using as irq line or am I config wrong?
[ 24.284341] wk2xxxuart: probe of 3100000.serial failed with error -5
[ 24.454564] CPU:0, Error: cbb-fabric@0x13a00000, irq=191
[ 24.454571] **************************************
[ 24.454572] CPU:0, Error:cbb-fabric, Errmon:2
[ 24.454578] Error Code : TIMEOUT_ERR
[ 24.454579] Overflow : Multiple TIMEOUT_ERR
[ 24.454587]
[ 24.454587] Error Code : TIMEOUT_ERR
[ 24.454588] MASTER_ID : CCPLEX
[ 24.454589] Address : 0x3100098
[ 24.454590] Cache : 0x1 – Bufferable
[ 24.454591] Protection : 0x2 – Unprivileged, Non-Secure, Data Access
[ 24.454592] Access_Type : Read
[ 24.454593] Access_ID : 0x14
[ 24.454594] Fabric : cbb-fabric
[ 24.454594] Slave_Id : 0x3b
[ 24.454595] Burst_length : 0x0
[ 24.454595] Burst_type : 0x1
[ 24.454596] Beat_size : 0x2
[ 24.454596] VQC : 0x0
[ 24.454597] GRPSEC : 0x7e
[ 24.454597] FALCONSEC : 0x0
[ 24.454600] AXI2APB_9_BLOCK_TMO_STATUS : 0x20
[ 24.454602] AXI2APB_9_BLOCK5_TMO : 0x80
[ 24.454603] **************************************
[ 24.454620] WARNING: CPU: 0 PID: 0 at drivers/soc/tegra/cbb/tegra234-cbb.c:608 tegra234_cbb_isr+0x144/0x190
[ 24.284096] gpio gpiochip0: (tegra234-gpio): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
[ 24.284098] gpio gpiochip0: (tegra234-gpio): unable to lock HW IRQ 93 for IRQ
[ 24.284100] genirq: Failed to request resources for 3100000.serial (irq 301) on irqchip 2200000.gpio