Issue details:
SDIO CLK configured in auto mode is turning down immediately after the cmd.
Is there any configurable parameter which will extended CLK status high even though no activity in bus for Auto ON Mode??
We found in the other platform that CLK Turning OFF is not that immediate.
could be configured for more idle time which will check for the bus inactivity before Turning OFF.
Want to know for VIM3 how to configure for more idle time or etc which will keep the CLK some more time in AUTO MODE and we don’t want to configure for ALWAYS ON mode.
I have few use case like
Sending the event(I guess async interrupt support is not there without CLK, event will not reach)
Memory access for which I need CLK to be ON(verified with ALWAYS ON mode)
I tapped the SDIO lines along with CLK.
I observe the CLK status from oscilloscope.
Bring up the WI-FI and then send any CMD and check the CLK status.
CLK is turning OFF quickly.
I have captured the trace and found the default it is operating in auto mode, since CLK-GATE is enabled CLK is turning down immediately after the command.
in other platform even though it is auto mode but clk-gate is not enabled it is staying there .
I am measuring some power number hence i want to configure on AUTO MODE with CLK-GATE disabled but not the ALWAYS ON mode.
For this i need your help in disabling the CLK-GATE in AUTO MODE.
I am have connected the wi-fi card into SDCARD slot not the SDIO slot using below converter.
Regarding the dts changes..As mentioned in previous comments i have made the similar changes
I have removed the sdcard_clk_gate_pins and kept the sdcard_pins & sd_1bit_pins
with the above changes i see below error while loading the driver
brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
brcmfmac: brcmf_sdio_verifymemory: error -84 on reading 2048 membytes at 0x00056000
brcmfmac: brcmf_sdio_download_firmware_43022: dongle image file download failed
brcmfmac: brcmf_sdio_remove: Setting IO Card Reset (RES) bit in IOAbort register, after this point no SDIO access is allowed till full SDIO init
brcmfmac: brcmf_sdio_htclk: Failed access turning clock off: -110