Skip to content

Commit 0338c10

Browse files
Chandrakala ChavvaSomasundaram Krishnasamy
authored andcommitted
driver: mmc: Configure flags for T96 pass B0
Change-Id: I980bfde7db3fec13ae73d33964215bbf377e7a37 Signed-off-by: Chandrakala Chavva <[email protected]> Reviewed-on: https://sj1git1.cavium.com/24021 Tested-by: sa_ip-sw-jenkins <[email protected]> Reviewed-by: Chandrakala Chavva <[email protected]> Reviewed-by: Aaron Williams <[email protected]> Reviewed-on: https://sj1git1.cavium.com/24031 Reviewed-by: Sunil Kovvuri Goutham <[email protected]> Tested-by: Sunil Kovvuri Goutham <[email protected]> Jira: LINUX-4695 Orabug: 30969935 Signed-off-by: Dave Kleikamp <[email protected]> Reviewed-by: Karl Volz <[email protected]> Signed-off-by: Somasundaram Krishnasamy <[email protected]>
1 parent d262037 commit 0338c10

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/mmc/host/cavium-thunderx.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ static int thunder_mmc_probe(struct pci_dev *pdev,
237237
host->calibrate_glitch = true;
238238
host->cond_clock_glitch = true;
239239
host->max_freq = MHZ_100;
240+
} else if (rev == REV_ID_1) {
241+
host->cond_clock_glitch = true;
242+
host->max_freq = MHZ_167;
240243
} else if (rev == REV_ID_2) {
241244
host->tap_requires_noclk = true;
242245
host->max_freq = MHZ_112_5;

drivers/mmc/host/cavium.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
/* Chip revision Id */
3737
#define REV_ID_0 0
38+
#define REV_ID_1 1
3839
#define REV_ID_2 2
3940

4041
#define KHZ_400 (400000)

0 commit comments

Comments
 (0)