Yu Zhao
5169894982
mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01
This device reports SDHCI_CLOCK_INT_STABLE even though it's not
ready to take SDHCI_CLOCK_CARD_EN. The symptom is that reading
SDHCI_CLOCK_CONTROL after enabling the clock shows absence of the
bit from the register (e.g. expecting 0x0000fa07 = 0x0000fa03 |
SDHCI_CLOCK_CARD_EN but only observed the first operand).
mmc1: Timeout waiting for hardware cmd interrupt.
mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00000603
mmc1: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
mmc1: sdhci: Present: 0x01ff0001 | Host ctl: 0x00000001
mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000000
mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x0000fa03
mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
mmc1: sdhci: Int enab: 0x00ff0083 | Sig enab: 0x00ff0083
mmc1: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
mmc1: sdhci: Caps: 0x25fcc8bf | Caps_1: 0x00002077
mmc1: sdhci: Cmd: 0x00000000 | Max curr: 0x005800c8
mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
mmc1: sdhci: Host ctl2: 0x00000008
mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
mmc1: sdhci: ============================================
The problem happens during wakeup from S3. Adding a delay quirk
after power up reliably fixes the problem.
Signed-off-by: Yu Zhao <yuzhao@google.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-10-08 11:40:43 +02:00
..
2018-09-07 10:05:20 +02:00
2018-09-12 09:18:29 +02:00
2018-09-21 09:41:05 +02:00
2018-08-18 11:04:51 -07:00
2018-10-07 08:15:57 +02:00
2018-09-29 14:52:14 -07:00
2018-09-11 13:33:57 +02:00
2018-08-28 09:58:03 -07:00
2018-08-29 08:09:20 -06:00
2018-09-12 19:33:56 -10:00
2018-09-17 18:47:58 -07:00
2018-09-27 12:01:45 +02:00
2018-09-29 15:01:10 +02:00
2018-08-25 13:16:08 +02:00
2018-09-28 12:45:37 +08:00
2018-09-22 09:07:33 -07:00
2018-08-18 11:04:51 -07:00
2018-08-27 11:16:04 +05:30
2018-08-17 15:13:34 +02:00
2018-08-17 16:20:27 -07:00
2018-09-12 16:41:41 +02:00
2018-09-30 08:49:55 -07:00
2018-08-08 15:44:47 +10:00
2018-09-18 16:36:05 -07:00
2018-10-05 08:39:35 +10:00
2018-09-24 11:46:15 +02:00
2018-09-30 08:49:55 -07:00
2018-09-19 22:59:30 +02:00
2018-07-30 20:54:51 -07:00
2018-09-18 16:08:38 +02:00
2018-10-05 13:40:05 +02:00
2018-08-22 07:40:33 -07:00
2018-09-09 09:33:29 +02:00
2018-09-27 21:53:55 +02:00
2018-09-28 18:04:50 -07:00
2018-10-05 10:20:24 +02:00
2018-09-06 20:31:59 +02:00
2018-08-16 12:26:24 -07:00
2018-08-06 23:03:12 +02:00
2018-08-24 14:42:42 +02:00
2018-08-15 09:53:07 +05:30
2018-10-05 16:09:56 -07:00
2018-10-03 06:32:51 -04:00
2018-09-06 10:04:07 -07:00
2018-07-30 23:17:53 -04:00
2018-09-11 16:47:33 +01:00
2018-09-12 09:31:00 +02:00
2018-10-08 11:40:43 +02:00
2018-09-18 10:17:48 +02:00
2018-08-02 10:23:02 +02:00
2018-10-05 14:52:43 -07:00
2018-08-25 18:43:59 -07:00
2018-09-25 16:21:40 -07:00
2018-09-14 13:03:17 -10:00
2018-08-18 11:04:51 -07:00
2018-10-05 16:11:16 -07:00
2018-08-18 12:30:42 -07:00
2018-08-18 11:04:51 -07:00
2018-07-30 10:04:58 +02:00
2018-09-25 12:50:00 +02:00
2018-09-10 13:45:43 -07:00
2018-08-23 18:48:43 -07:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-22 10:52:51 -07:00
2018-09-20 09:04:51 -07:00
2018-08-16 17:39:55 -07:00
2018-08-25 14:12:36 -07:00
2018-07-30 23:40:23 -07:00
2018-08-20 16:30:27 -07:00
2018-09-28 10:27:26 -07:00
2018-09-28 02:28:05 -04:00
2018-08-02 13:54:06 +02:00
2018-09-25 13:57:26 -07:00
2018-08-27 09:49:48 +05:30
2018-09-28 18:04:06 -07:00
2018-08-09 18:47:47 +03:00
2018-09-24 15:16:41 +02:00
2018-09-21 12:32:30 -04:00
2018-08-23 13:52:46 -07:00
2018-08-28 16:11:34 -07:00
2018-10-02 10:51:16 -07:00
2018-10-02 14:38:16 -07:00
2018-08-19 09:30:44 -07:00
2018-10-01 17:59:02 -07:00
2018-08-17 11:32:50 -07:00
2018-08-27 11:59:39 -07:00
2018-09-26 18:50:54 +02:00
2018-08-24 08:45:19 -07:00
2018-08-21 18:06:27 -07:00
2018-08-22 17:31:34 -07:00
2018-09-19 11:27:42 -04:00
2018-08-18 11:04:51 -07:00