LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2019, 02:48 AM   #1
Sphinix
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Rep: Reputation: Disabled
Wi-Fi SDIO and Suspend/Resume functionality


Hi ,

I am working on Power Management on an i.MX8 board with Linux running on it. It has Wi-Fi BT Combo card interface with Wi-Fi uses SDIO to interface with the host and BT has UART interface. The whole system is put into suspend mode using the echo mem > /sys/power/state command . This happens smoothly. Serial is the wakeup source and the system is resumed by pressing any key. The system is resuming back but the SDIO is facing some reset related problem during resume. When I digged in a bit the SDIO data lines and CMD lines are being reset and the operation is not getting completed and a timeout happens with the below error messages continuously appearing in a infinite while loop
Code:
  22.040606]  cache: parent cpu1 should not be sleeping
[   22.062441] CPU1 is up
[   22.174396] mmc1: Reset 0x6 never completed.
[   22.178679] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   22.185137] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   22.191588] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   22.198043] mmc1: sdhci: Argument:  0x13000100 | Trn mode: 0x00000013
[   22.204500] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000012
[   22.210954] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   22.217408] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   22.223862] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   22.230319] mmc1: sdhci: Int enab:  0x00000000 | Sig enab: 0x00000000
[   22.236773] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   22.243229] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   22.249683] mmc1: sdhci: Cmd:       0x0000353a | Max curr: 0x00ffffff
[   22.256142] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   22.262591] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   22.269045] mmc1: sdhci: Host ctl2: 0x00000000
[   22.273504] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   22.279955] mmc1: sdhci: ============================================
[   22.678507] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[   32.392688] mmc1: Timeout waiting for hardware cmd interrupt.
[   32.398445] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   32.404890] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   32.411336] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   32.417782] mmc1: sdhci: Argument:  0x00000c00 | Trn mode: 0x00000013
[   32.424228] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   32.430665] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   32.437102] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   32.443540] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   32.449987] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   32.456432] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   32.462870] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   32.469316] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   32.475763] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   32.482208] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   32.488645] mmc1: sdhci: Host ctl2: 0x00000000
[   32.493086] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   32.499530] mmc1: sdhci: ============================================
[   32.605984] mmc1: Reset 0x2 never completed.
[   32.610253] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   32.616690] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   32.623128] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   32.629566] mmc1: sdhci: Argument:  0x00000c00 | Trn mode: 0x00000013
[   32.636003] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   32.642440] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   32.648878] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   32.655315] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   32.661753] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   32.668190] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   32.674628] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   32.681074] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   32.687511] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   32.693948] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   32.700385] mmc1: sdhci: Host ctl2: 0x00000000
[   32.704825] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   32.711261] mmc1: sdhci: ============================================
[   32.817706] mmc1: Reset 0x4 never completed.
[   32.821975] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   32.828413] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   32.834851] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   32.841289] mmc1: sdhci: Argument:  0x00000c00 | Trn mode: 0x00000013
[   32.847726] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   32.854172] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   32.860609] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   32.867047] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   32.873485] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   32.879922] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   32.886360] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   32.892797] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   32.899234] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   32.905671] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   32.912108] mmc1: sdhci: Host ctl2: 0x00000000
[   32.916548] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   32.922984] mmc1: sdhci: ============================================
[   43.144683] mmc1: Timeout waiting for hardware cmd interrupt.
[   43.150433] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   43.156879] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   43.163325] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   43.169762] mmc1: sdhci: Argument:  0x80000c08 | Trn mode: 0x00000013
[   43.176208] mmc1: sdhci: Present:   0x01fd8009 | Host ctl: 0x00000013
[   43.182645] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   43.189083] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   43.195521] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   43.201967] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   43.208413] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   43.214851] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   43.221296] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   43.227734] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   43.234171] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   43.240608] mmc1: sdhci: Host ctl2: 0x00000000
[   43.245048] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   43.251492] mmc1: sdhci: ============================================
[   43.357946] mmc1: Reset 0x2 never completed.
[   43.362215] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   43.368653] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   43.375091] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   43.381528] mmc1: sdhci: Argument:  0x80000c08 | Trn mode: 0x00000013
[   43.387966] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   43.394403] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   43.400840] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   43.407278] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   43.413716] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   43.420153] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   43.426591] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   43.433037] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   43.439474] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   43.445911] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   43.452348] mmc1: sdhci: Host ctl2: 0x00000000
[   43.456788] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   43.463224] mmc1: sdhci: ============================================
[   43.569668] mmc1: Reset 0x4 never completed.
[   43.573937] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   43.580376] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   43.586814] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   43.593251] mmc1: sdhci: Argument:  0x80000c08 | Trn mode: 0x00000013
[   43.599689] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   43.606126] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   43.612563] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   43.619001] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   43.625439] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   43.631876] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   43.638314] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   43.644760] mmc1: sdhci: Cmd:       0x0000341a | Max curr: 0x00ffffff
[   43.651197] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   43.657634] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   43.664071] mmc1: sdhci: Host ctl2: 0x00000000
[   43.668511] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   43.674947] mmc1: sdhci: ============================================
[   53.896680] mmc1: Timeout waiting for hardware cmd interrupt.
[   53.902429] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   53.908867] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   53.915313] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   53.921751] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[   53.928188] mmc1: sdhci: Present:   0x01fd8009 | Host ctl: 0x00000013
[   53.934625] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   53.941063] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   53.947500] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   53.953938] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   53.960375] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   53.966813] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   53.973259] mmc1: sdhci: Cmd:       0x00000000 | Max curr: 0x00ffffff
[   53.979696] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   53.986134] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   53.992570] mmc1: sdhci: Host ctl2: 0x00000000
[   53.997010] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   54.003446] mmc1: sdhci: ============================================
[   54.109897] mmc1: Reset 0x2 never completed.
[   54.114169] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   54.120607] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   54.127045] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   54.133482] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[   54.139920] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   54.146357] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   54.152795] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   54.159232] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   54.165669] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   54.172107] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   54.178545] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   54.184991] mmc1: sdhci: Cmd:       0x00000000 | Max curr: 0x00ffffff
[   54.191428] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   54.197874] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   54.204311] mmc1: sdhci: Host ctl2: 0x00000000
[   54.208751] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   54.215187] mmc1: sdhci: ============================================
[   54.321630] mmc1: Reset 0x4 never completed.
[   54.325900] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   54.332339] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   54.338777] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   54.345214] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[   54.351652] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   54.358089] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   54.364526] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   54.370964] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   54.377401] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   54.383839] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   54.390277] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   54.396722] mmc1: sdhci: Cmd:       0x00000000 | Max curr: 0x00ffffff
[   54.403160] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   54.409597] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   54.416034] mmc1: sdhci: Host ctl2: 0x00000000
[   54.420474] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   54.426910] mmc1: sdhci: ============================================
[   64.648681] mmc1: Timeout waiting for hardware cmd interrupt.
[   64.654426] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   64.660864] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   64.667302] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   64.673739] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000013
[   64.680177] mmc1: sdhci: Present:   0x01fd8009 | Host ctl: 0x00000013
[   64.686614] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   64.693052] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   64.699489] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   64.705927] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   64.712364] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   64.718802] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   64.725247] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[   64.731685] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   64.738122] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   64.744559] mmc1: sdhci: Host ctl2: 0x00000000
[   64.748999] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   64.755435] mmc1: sdhci: ============================================
[   64.861896] mmc1: Reset 0x2 never completed.
[   64.866166] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   64.872605] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   64.879042] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   64.885480] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000013
[   64.891926] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   64.898363] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   64.904801] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   64.911238] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   64.917676] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   64.924113] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   64.930551] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   64.936988] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[   64.943426] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   64.949872] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   64.956308] mmc1: sdhci: Host ctl2: 0x00000000
[   64.960748] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   64.967184] mmc1: sdhci: ============================================
[   65.073629] mmc1: Reset 0x4 never completed.
[   65.077898] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   65.084336] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   65.090774] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   65.097212] mmc1: sdhci: Argument:  0x000001aa | Trn mode: 0x00000013
[   65.103649] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   65.110086] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   65.116524] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   65.122961] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   65.129399] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   65.135836] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   65.142274] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   65.148720] mmc1: sdhci: Cmd:       0x0000081a | Max curr: 0x00ffffff
[   65.155157] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   65.161595] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   65.168031] mmc1: sdhci: Host ctl2: 0x00000000
[   65.172471] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   65.178907] mmc1: sdhci: ============================================
[   75.400682] mmc1: Timeout waiting for hardware cmd interrupt.
[   75.406433] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   75.412871] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   75.419317] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   75.425754] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[   75.432192] mmc1: sdhci: Present:   0x01fd8009 | Host ctl: 0x00000013
[   75.438638] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   75.445075] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   75.451513] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   75.457950] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   75.464396] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   75.470834] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   75.477280] mmc1: sdhci: Cmd:       0x00000502 | Max curr: 0x00ffffff
[   75.483717] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   75.490155] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   75.496591] mmc1: sdhci: Host ctl2: 0x00000000
[   75.501031] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   75.507467] mmc1: sdhci: ============================================
[   75.613934] mmc1: Reset 0x2 never completed.
[   75.618199] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[   75.624637] mmc1: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
[   75.631075] mmc1: sdhci: Blk size:  0x00000100 | Blk cnt:  0x00000001
[   75.637512] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
[   75.643950] mmc1: sdhci: Present:   0x01fd8008 | Host ctl: 0x00000013
[   75.650387] mmc1: sdhci: Power:     0x00000002 | Blk gap:  0x00000080
[   75.656824] mmc1: sdhci: Wake-up:   0x00000008 | Clock:    0x0000003f
[   75.663262] mmc1: sdhci: Timeout:   0x0000008f | Int stat: 0x00000000
[   75.669699] mmc1: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
[   75.676137] mmc1: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000502
[   75.682575] mmc1: sdhci: Caps:      0x07eb0000 | Caps_1:   0x8000b407
[   75.689020] mmc1: sdhci: Cmd:       0x00000502 | Max curr: 0x00ffffff
[   75.695458] mmc1: sdhci: Resp[0]:   0x00002000 | Resp[1]:  0x00000000
[   75.701895] mmc1: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[   75.708332] mmc1: sdhci: Host ctl2: 0x00000000
[   75.712772] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
[   75.719208] mmc1: sdhci: ============================================
The module has 4 wakeup lines BT to host , Host to BT , WLAN to host , host to WLAN.

My questions are :

1. I have enabled the keep-power-in-suspend in dts. So the card should have the power during the suspend time. Whether still a reset is required for the card during resume ?
2. Whether the above wakeup lines has to be configured for the above reset issue? . I strongly believe these lines are used if the Wi-Fi or BT has to be configured as wake up source

Last edited by Sphinix; 11-08-2019 at 03:11 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SDIO time out issue on interfacing a new SDIO card annapurnab Linux - Kernel 0 01-25-2019 04:45 PM
LXer: Automatically Resume from Suspend to Ram and Suspend to Disk to Save Battery in Linux LXer Syndicated Linux News 0 05-10-2013 03:40 AM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 02:09 PM
Wireless LAN SDIO card - Wrong SDIO driver loaded [i.MX31] Robert_A Programming 2 03-14-2011 12:14 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration