imx6ul use sdio interrupts in 1-bit mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6ul use sdio interrupts in 1-bit mode

1,058 次查看
ida_jiang
Contributor III

Hello,

     I'm trying to debug a btwifi module via imx6ulevk's sdio. And I want to use the sdio interrupts in 1-bit mode, which uses the sdio data1 pin. As for the dtb, I don't know how to set the configurations such as "interrupt-parent" and "interrupts". Are there any patches ?

     Hope your help! Thanks!

     ps: the defconfig of kernel have set as follows.

           CONFIG_MMC=y

           CONFIG_MMC_SDHCI=y
           CONFIG_MMC_SDHCI_PLTFM=y
           CONFIG_MMC_SDHCI_ESDHC_IMX=y
           CONFIG_MMC_BLOCK=y

标记 (2)
0 项奖励
回复
3 回复数

1,001 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ida

one can use usdhc "bus-wdth" parameter in dts file, for interrupts no additional

changes are needed

imx6ul.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,001 次查看
ida_jiang
Contributor III

Hi igorpadykov

I want to confirm the configuration I set  is right.

I added "data-irq" to my device node. Is the configuration right ?

Or when the kernel configuration has achieved, this interrupt mode would be matched automatically ?

Best Regars,

Ida

0 项奖励
回复

1,001 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ida

 

yes it will be set automatically.

 Best regards
igor

0 项奖励
回复