Continuous interrupt is happened in the i2c-hid-core.c file.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Continuous interrupt is happened in the i2c-hid-core.c file.

Jump to solution
881 Views
hyun-moyang
Contributor III

Hi All,

I have been porting the I2C-HID-CORE feature in iMX8QM-MEK B/D and Android 11.0.0_1_1_0.

I have set up the DTS file (imx8qm-mek.dts).

============================================== 

&i2c1_lvds0 {

           #address-cells = <1>;

           #size-cells = <0>;

           pinctrl-names = "default";

           pinctrl-0 = <&pinctrl_lvds0_lpi2c1>;

           clock-frequency = <100000>;

           status = "okay";

i2c-hid-dev@20 {

                                  compatible = "hid-over-i20";

                                  reg = <0x20>;

                                  hid-descr-addr = <0x0020>;

                                  interrupt-parent = <&lsio_gpio1>;

                                  interrupts =<5 IRQ_TYPE_LEVEL_LOW>;

            };

};

================================================

when I set up above the DTS file, our iMX8QM MEK B/B have happened the interrupt continuously.

LVDS0_GPIO01 pin is low active for interrupt.

Please help me to resolve the issue.

Regards

HM

0 Kudos
Reply
1 Solution
871 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hyun-mo

 

for that issue may be recommended to check gpio state with oscilloscope and then debug it

using AN12631 AN12631: Normal and Secure Debug for i.MX8/8X Family of Applications Processors – Application Note

 

Best regards
igor

View solution in original post

0 Kudos
Reply
1 Reply
872 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hyun-mo

 

for that issue may be recommended to check gpio state with oscilloscope and then debug it

using AN12631 AN12631: Normal and Secure Debug for i.MX8/8X Family of Applications Processors – Application Note

 

Best regards
igor

0 Kudos
Reply