forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
mmc:sdhci-msm:fix Qualcomm sd host 7180 SD card compatibility issue
Improve the signal integrity for long SD bus trace by using SC7180+GGC SD host redriver chip 1.GGC is a SD bus signal re-timing IC that has been paired with the SC7180 sometimes. 2.The key points are initialized GGC chip during SD initialization and use GGC special tuning flow to re-timing SD bus signal. 3.GGC resource is initialized for GGC chip during Qualcomm host probe: 3.1 GGC structure initialization 3.2 GGC GPIO resource assignment 3.3 Reload host->mmc->detect with GGC chip special initiation flow. 3.4 Reload the host->mmc_host_ops.execute_tuning with GGC chip special tuning flow. 4.The function of the patch is already verified on Chrome OS, and Google request us to submit the patch to Linux for them future use. 5.GGC can work with any other standard SDHCI controller to improve SD signal SI and Timing. 6.GGC has cooperated with Intel/Qualcomm/MTK/SPRD sd host already and work well. Signed-off-by: Chevron Li <chevron.li@bayhubtech.com>
- Loading branch information
1 parent
c9e6606
commit bba780c9359fe89c2a3e769bfa6373f58b90ee76
Showing
2 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| // SPDX-License-Identifier: GPL-2.0-only | ||
| /* | ||
| * Bayhub Technologies, Inc. BH201 SDHCI bridge IC for | ||
| * VENDOR SDHCI platform driver source file | ||
| * | ||
| * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. | ||
| */ | ||
|
|
||
| struct sdhci_bht_host { | ||
| }; | ||
|
|
||
| static void bht_signal_voltage_on_off(struct sdhci_host *host, u32 on_off) | ||
| { | ||
| } | ||
|
|
||
| static void sdhci_bht_parse(struct mmc_host *mmc_host) | ||
| { | ||
| } | ||
|
|
||
| static void sdhci_bht_resource_free(struct sdhci_msm_host *vendor_host) | ||
| { | ||
| } | ||
|
|
||
| static void mmc_rescan_bht(struct work_struct *work) | ||
| { | ||
| } | ||
|
|
||
| static int sdhci_bht_execute_tuning(struct mmc_host *mmc, u32 opcode) | ||
| { | ||
| int ret = 0; | ||
|
|
||
| return ret; | ||
| } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters