summaryrefslogtreecommitdiffstats
path: root/mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2018-03-03 22:51:13 +0000
committerPeter Robinson <pbrobinson@gmail.com>2018-03-03 22:51:13 +0000
commit60e272367a705ccdb067c5b1e33f28dfb9fea0b9 (patch)
treeb03ec11acd4b265daf323239ff788394a8354b60 /mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch
parent5860e766a687094612f3c37a219f248078148541 (diff)
downloadkernel-60e272367a705ccdb067c5b1e33f28dfb9fea0b9.tar.gz
kernel-60e272367a705ccdb067c5b1e33f28dfb9fea0b9.tar.xz
kernel-60e272367a705ccdb067c5b1e33f28dfb9fea0b9.zip
Add RPi3 GPIO expander, RPi fixes, OMAP serial update, general ARM fixes
Diffstat (limited to 'mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch')
-rw-r--r--mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch b/mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch
new file mode 100644
index 000000000..7b3b2c01c
--- /dev/null
+++ b/mmc-sdhci-iproc-Disable-preset-values-for-BCM2835.patch
@@ -0,0 +1,37 @@
+From patchwork Mon Feb 12 20:02:44 2018
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: mmc: sdhci-iproc: Disable preset values for BCM2835
+From: Stefan Wahren <stefan.wahren@i2se.com>
+X-Patchwork-Id: 10214367
+Message-Id: <1518465764-30051-1-git-send-email-stefan.wahren@i2se.com>
+To: Adrian Hunter <adrian.hunter@intel.com>,
+ Ulf Hansson <ulf.hansson@linaro.org>
+Cc: Eric Anholt <eric@anholt.net>, Ray Jui <rjui@broadcom.com>,
+ Scott Branden <sbranden@broadcom.com>, Jon Mason <jonmason@broadcom.com>,
+ linux-arm-kernel@lists.infradead.org,
+ bcm-kernel-feedback-list@broadcom.com, linux-mmc@vger.kernel.org,
+ Stefan Wahren <stefan.wahren@i2se.com>
+Date: Mon, 12 Feb 2018 21:02:44 +0100
+
+According to the BCM2835 datasheet there are no preset value registers.
+This wasn't an issue before, because we didn't propagate 1.8V support.
+
+Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
+---
+ drivers/mmc/host/sdhci-iproc.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c
+index 61666d2..0ef741b 100644
+--- a/drivers/mmc/host/sdhci-iproc.c
++++ b/drivers/mmc/host/sdhci-iproc.c
+@@ -214,6 +214,7 @@ static const struct sdhci_pltfm_data sdhci_bcm2835_pltfm_data = {
+ SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK |
+ SDHCI_QUIRK_MISSING_CAPS |
+ SDHCI_QUIRK_NO_HISPD_BIT,
++ .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
+ .ops = &sdhci_iproc_32only_ops,
+ };
+