大家好。 其目的是什么:
平台查询=<1>
...in dts 文件? 它是否与 wlcore.h 中的 WLCORE_quirk_定义相关?
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.
大家好。 其目的是什么:
平台查询=<1>
...in dts 文件? 它是否与 wlcore.h 中的 WLCORE_quirk_定义相关?
我们使用的是内核5.10.72。 此选项出现在某些文档中、也出现在该论坛上的帖子、例如:
特别是最后一篇文章、指出这与中断有关。
此处也包括但注释掉了:
/cfs-file/__key/communityserver-discussions-components-files/968/devicetree.txt
这是什么?
是的、显然从4.1及以后的版本中删除了这一内容:
commit 6f921fab5844941f7605b7f1a265f5fc7fe969a7
Author: Luciano Coelho <luca@coelho.fi>
Date:   Wed Mar 18 18:38:25 2015 +0200
    wlcore: set irq_trigger in board files instead of hiding behind a quirk
    
    The platform_quirk element in the platform data was used
    to change the way the IRQ is triggered.  When set,
    the EDGE_IRQ quirk would change the irqflags used
    and treat edge trigger differently from the rest.
    
    Instead of hiding this irq flag setting behind the quirk,
    have the board files set the irq_trigger explicitly.
    
    This will allow us to use standard irq DT definitions
    later on.
    
    Signed-off-by: Luciano Coelho <luca@coelho.fi>
    [Eliad - rebase, add irq_trigger field and pass it,
    update board file changes]
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
    Acked-by: Kalle Valo <kvalo@codeaurora.org>
    Acked-by: Sekhar Nori <nsekhar@ti.com>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 6b5a97da9fe3..916589ca8d44 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1385,8 +1385,8 @@ static const short da850_wl12xx_pins[] __initconst = {
 
 static struct wl12xx_platform_data da850_wl12xx_wlan_data __initdata = {
        .irq                    = -1,
+       .irq_trigger            = IRQ_TYPE_EDGE_RISING,
        .board_ref_clock        = WL12XX_REFCLOCK_38,
-       .platform_quirks        = WL12XX_PLATFORM_QUIRK_EDGE_IRQ,
 };
因此、我认为在 DTS 中使用"中断"关键字来指定 IRQ 标志就足够了。 我们目前正在使用以下工具:
中断=<14 IRQ_TYPE_LEVEL_HIGH>;
您知道边沿触发中断是否更适合 imx6? 以上所有这些链接都指定了 IMX6的平台奇怪-用于表示"平台不支持电平触发中断"-这表明...? 如何检查 IRQ 配置是否正常工作?