I am trying to interface Infineon 43012 chip with SDIO and FMAC driver. but the Linux tegra kernel is showing following warning in DMESG logs and the device is not coming up.
[ 3800.347516] ------------[ cut here ]------------
[ 3800.347680] WARNING: CPU: 1 PID: 4059 at drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:7912 brcmf_setup_wiphybands+0xb8c/0xc08 [brcmfmac]
[ 3800.348138] Modules linked in: brcmfmac(E) brcmutil(E) cfg80211(E) fuse lzo_rle lzo_compress zram realtek loop nvgpu snd_soc_tegra186_asrc snd_soc_tegra210_ope snd_soc_tegra210_iqc snd_soc_tegra186_dspk snd_soc_tegra186_arad snd_soc_tegra210_mvc aes_ce_blk ofpart crypto_simd cryptd cmdlinepart aes_ce_cipher ghash_ce qspi_mtd sha2_ce snd_soc_tegra210_afc snd_soc_tegra210_admaif snd_soc_tegra210_dmic snd_soc_tegra210_adx sha256_arm64 mtd snd_soc_tegra210_amx snd_soc_tegra210_mixer snd_soc_tegra_pcm snd_soc_tegra210_i2s snd_soc_tegra210_sfc snd_soc_tegra210_adsp snd_hda_codec_hdmi snd_soc_tegra_machine_driver sha1_ce snd_soc_tegra_utils snd_hda_tegra nvadsp snd_soc_spdif_tx leds_gpio snd_hda_codec pwm_fan snd_soc_simple_card_utils snd_soc_tegra210_ahub ina3221 snd_hda_core max77620_thermal tegra_bpmp_thermal userspace_alert tegra210_adma nv_imx219 spi_tegra114 spi_tegra210_qspi nvmap binfmt_misc ip_tables x_tables [last unloaded: cfg80211]
[ 3800.348706] CPU: 1 PID: 4059 Comm: kworker/1:2 Tainted: G W OE 5.10.104-tegra #1
[ 3800.348724] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 3800.348786] Workqueue: events request_firmware_work_func
[ 3800.348821] pstate: 60c00009 (nZCv daif +PAN +UAO -TCO BTYPE=–)
[ 3800.348929] pc : brcmf_setup_wiphybands+0xb8c/0xc08 [brcmfmac]
[ 3800.348963] lr : brcmf_setup_wiphybands+0xb20/0xc08 [brcmfmac]
[ 3800.348971] sp : ffff8000150638f0
[ 3800.348979] x29: ffff8000150638f0 x28: 0000000000000003
[ 3800.348997] x27: ffff800009221040 x26: ffff80000922e000
[ 3800.349016] x25: ffff0000c0ec2b1c x24: ffff0000bea38820
[ 3800.349033] x23: ffff0000c0b52940 x22: ffff0000c0996000
[ 3800.349049] x21: ffff0000bea38820 x20: ffff00009a6d4800
[ 3800.349065] x19: ffff800009226968 x18: 0000000000000000
[ 3800.349081] x17: 0000000000000000 x16: 0000000000000000
[ 3800.349107] x15: 0000000000000000 x14: 0000000000000000
[ 3800.349123] x13: 0000000000000000 x12: ffff8000141fd000
[ 3800.349140] x11: ffff0001ffdeff20 x10: 0000000000000a80
[ 3800.349165] x9 : ffff8000150635b0 x8 : 0000000000000010
[ 3800.349180] x7 : ffff000000000000 x6 : ffff0000bea389cb
[ 3800.349197] x5 : 0000000000000001 x4 : 0000000000000027
[ 3800.349213] x3 : ffff0000c0b6c880 x2 : 0000000000000000
[ 3800.349228] x1 : 0000000000000000 x0 : 00000000ffffffcc
[ 3800.349248] Call trace:
[ 3800.349309] brcmf_setup_wiphybands+0xb8c/0xc08 [brcmfmac]
[ 3800.349351] brcmf_cfg80211_attach+0xc14/0x1498 [brcmfmac]
[ 3800.349383] brcmf_attach+0x174/0x430 [brcmfmac]
[ 3800.349416] brcmf_sdio_firmware_callback+0x8bc/0xa50 [brcmfmac]
[ 3800.349447] brcmf_fw_request_done+0xa4/0x210 [brcmfmac]
[ 3800.349458] request_firmware_work_func+0x54/0xe0
[ 3800.349485] process_one_work+0x1c8/0x4a0
[ 3800.349494] worker_thread+0x54/0x428
[ 3800.349508] kthread+0x148/0x168
[ 3800.349530] ret_from_fork+0x10/0x1c
[ 3800.349540] —[ end trace edb12e5be87f1256 ]—
[ 3800.349922] ------------[ cut here ]------------
[ 3800.349980] WARNING: CPU: 1 PID: 4059 at drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:7914 brcmf_setup_wiphybands+0x8a8/0xc08 [brcmfmac]
[ 3800.350322] Modules linked in: brcmfmac(E) brcmutil(E) cfg80211(E) fuse lzo_rle lzo_compress zram realtek loop nvgpu snd_soc_tegra186_asrc snd_soc_tegra210_ope snd_soc_tegra210_iqc snd_soc_tegra186_dspk snd_soc_tegra186_arad snd_soc_tegra210_mvc aes_ce_blk ofpart crypto_simd cryptd cmdlinepart aes_ce_cipher ghash_ce qspi_mtd sha2_ce snd_soc_tegra210_afc snd_soc_tegra210_admaif snd_soc_tegra210_dmic snd_soc_tegra210_adx sha256_arm64 mtd snd_soc_tegra210_amx snd_soc_tegra210_mixer snd_soc_tegra_pcm snd_soc_tegra210_i2s snd_soc_tegra210_sfc snd_soc_tegra210_adsp snd_hda_codec_hdmi snd_soc_tegra_machine_driver sha1_ce snd_soc_tegra_utils snd_hda_tegra nvadsp snd_soc_spdif_tx leds_gpio snd_hda_codec pwm_fan snd_soc_simple_card_utils snd_soc_tegra210_ahub ina3221 snd_hda_core max77620_thermal tegra_bpmp_thermal userspace_alert tegra210_adma nv_imx219 spi_tegra114 spi_tegra210_qspi nvmap binfmt_misc ip_tables x_tables [last unloaded: cfg80211]
[ 3800.350839] CPU: 1 PID: 4059 Comm: kworker/1:2 Tainted: G W OE 5.10.104-tegra #1
[ 3800.350846] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 3800.350873] Workqueue: events request_firmware_work_func
[ 3800.350896] pstate: 60c00009 (nZCv daif +PAN +UAO -TCO BTYPE=–)
[ 3800.350944] pc : brcmf_setup_wiphybands+0x8a8/0xc08 [brcmfmac]
[ 3800.351014] lr : brcmf_setup_wiphybands+0xb20/0xc08 [brcmfmac]
[ 3800.351024] sp : ffff8000150638f0
[ 3800.351031] x29: ffff8000150638f0 x28: 0000000000000003
[ 3800.351049] x27: ffff800009221040 x26: ffff80000922e000
[ 3800.351065] x25: ffff0000c0ec2b1c x24: ffff0000bea38820
[ 3800.351082] x23: ffff0000c0b52940 x22: ffff0000c0996000
[ 3800.351098] x21: ffff0000bea38820 x20: ffff00009a6d4800
[ 3800.351114] x19: ffff800009226968 x18: 0000000000000000
[ 3800.351129] x17: 0000000000000000 x16: 0000000000000000
[ 3800.351144] x15: 0000000000000000 x14: 0000000000000000
[ 3800.351167] x13: 0000000000000000 x12: ffff8000141fd000
[ 3800.351184] x11: ffff0001ffdeff20 x10: 0000000000000a80
[ 3800.351204] x9 : ffff8000150635b0 x8 : 0000000000000010
[ 3800.351221] x7 : ffff000000000000 x6 : ffff0000bea389cb
[ 3800.351335] x5 : 0000000000000001 x4 : 0000000000000027
[ 3800.351384] x3 : ffff0000c0b6c880 x2 : 0000000000000000
[ 3800.351415] x1 : 0000000000000000 x0 : 00000000ffffffcc
[ 3800.351433] Call trace:
[ 3800.351467] brcmf_setup_wiphybands+0x8a8/0xc08 [brcmfmac]
[ 3800.351527] brcmf_cfg80211_attach+0xc14/0x1498 [brcmfmac]
[ 3800.351579] brcmf_attach+0x174/0x430 [brcmfmac]
[ 3800.351612] brcmf_sdio_firmware_callback+0x8bc/0xa50 [brcmfmac]
[ 3800.351643] brcmf_fw_request_done+0xa4/0x210 [brcmfmac]
[ 3800.351661] request_firmware_work_func+0x54/0xe0
[ 3800.351675] process_one_work+0x1c8/0x4a0
[ 3800.351684] worker_thread+0x54/0x428
[ 3800.351693] kthread+0x148/0x168
[ 3800.351704] ret_from_fork+0x10/0x1c
[ 3800.351726] —[ end trace edb12e5be87f1257 ]—