标志不匹配irq 32驱动程序A与驱动程序A

时间:2020-07-30 10:43:01

标签: linux linux-kernel linux-device-driver interrupt imx6

通常标志不匹配是针对驱动程序A与驱动程序B的。您能否提供一些要解决的指针。我们正在使用imx6ul板。 用什么方法调试它。 我也检查了其他驱动程序,但都没有注册irq 32。 看来我们已经两次注册了相同的驱动程序。

Errrr:

[ 7.315153] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 7.332058] genirq: Flags mismatch irq 32. 00000004 (20cc000.snvs:snvs-powerkey) vs. 00000004 (20cc000.snvs:snvs-powerkey)
[ 7.343879] snvs_pwrkey 20cc000.snvs:snvs-powerkey: interrupt not available.
[ 7.366705] snvs_pwrkey: probe of 20cc000.snvs:snvs-powerkey failed with error -16
[ 7.394971] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0

DTS

snvs: snvs@020cc000 {
    compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
    reg = <0x020cc000 0x4000>;
    
snvs_rtc: snvs-rtc-lp {
    compatible = "fsl,sec-v4.0-mon-rtc-lp";
    regmap = <&snvs>;
    offset = <0x34>;
    interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
    <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
    };

snvs_poweroff: snvs-poweroff {
    compatible = "syscon-poweroff";
    regmap = <&snvs>;
    offset = <0x38>;
    value = <0x61>;
    mask = <0x61>;
    status = "disabled";
    };
    
snvs_pwrkey: snvs-powerkey {
    compatible = "fsl,sec-v4.0-pwrkey";
    regmap = <&snvs>;
    interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
    linux,keycode = <KEY_POWER>;
    wakeup-source;
    };
    };

0 个答案:

没有答案