imx6ul use sdio interrupts in 1-bit mode

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

imx6ul use sdio interrupts in 1-bit mode

663 Views
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

Tags (2)
0 Kudos
3 Replies

606 Views
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!
-----------------------------------------------------------------------------------------------------------------------

606 Views
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 Kudos

606 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ida

 

yes it will be set automatically.

 Best regards
igor

0 Kudos