diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-11-03 17:22:33 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-05 19:40:07 +0100 |
commit | 341c2b7474ae9534963c9001cae5b8e6ecefe0f2 (patch) | |
tree | de02864eb15585e56915d9e9c987c3675fa4f4ff /SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch | |
parent | 7fa28673e01cd07016a83be8169a0bd46ba63a04 (diff) | |
download | kernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.tar.gz kernel-fsync-341c2b7474ae9534963c9001cae5b8e6ecefe0f2.zip |
kernel 5.8.17
Diffstat (limited to 'SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch')
-rw-r--r-- | SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch b/SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch new file mode 100644 index 0000000..6f5cf82 --- /dev/null +++ b/SOURCES/mmc-sdhci-iproc-Enable-eMMC-DDR-3.3V-support-for-bcm2711.patch @@ -0,0 +1,98 @@ +From patchwork Fri Aug 28 21:47:14 2020 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +X-Patchwork-Submitter: Stefan Wahren <stefan.wahren@i2se.com> +X-Patchwork-Id: 11743769 +Return-Path: <SRS0=IgIp=CG=vger.kernel.org=linux-mmc-owner@kernel.org> +Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org + [172.30.200.123]) + by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9294E913 + for <patchwork-linux-mmc@patchwork.kernel.org>; + Fri, 28 Aug 2020 21:48:59 +0000 (UTC) +Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) + by mail.kernel.org (Postfix) with ESMTP id 83F242078A + for <patchwork-linux-mmc@patchwork.kernel.org>; + Fri, 28 Aug 2020 21:48:59 +0000 (UTC) +Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand + id S1726418AbgH1Vs7 (ORCPT + <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); + Fri, 28 Aug 2020 17:48:59 -0400 +Received: from mout.kundenserver.de ([217.72.192.73]:41343 "EHLO + mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org + with ESMTP id S1726379AbgH1Vs5 (ORCPT + <rfc822;linux-mmc@vger.kernel.org>); Fri, 28 Aug 2020 17:48:57 -0400 +Received: from localhost.localdomain ([37.4.249.236]) by + mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) + id 1MzQTm-1kXpKC3Jq4-00vObT; Fri, 28 Aug 2020 23:48:40 +0200 +From: Stefan Wahren <stefan.wahren@i2se.com> +To: Adrian Hunter <adrian.hunter@intel.com>, + Ulf Hansson <ulf.hansson@linaro.org>, + Ray Jui <rjui@broadcom.com>, + Scott Branden <sbranden@broadcom.com> +Cc: Florian Fainelli <f.fainelli@gmail.com>, + Nicolas Saenz Julienne <nsaenzjulienne@suse.de>, + Matthias Brugger <mbrugger@suse.com>, + bcm-kernel-feedback-list@broadcom.com, linux-mmc@vger.kernel.org, + linux-arm-kernel@lists.infradead.org, + Stefan Wahren <stefan.wahren@i2se.com> +Subject: [PATCH] mmc: sdhci-iproc: Enable eMMC DDR 3.3V support for bcm2711 +Date: Fri, 28 Aug 2020 23:47:14 +0200 +Message-Id: <1598651234-29826-1-git-send-email-stefan.wahren@i2se.com> +X-Mailer: git-send-email 2.7.4 +X-Provags-ID: V03:K1:kiziRvARXQvcShivifQ3e8jFQc5NDvS/jk5DcBO1+kY24pjuxcW + pNMzHbKjpwEkD+6H3B4dmClTpiU+4kjeXUo3zfO/VqTah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bhUl22nDy4LRXZQU6h +Sender: linux-mmc-owner@vger.kernel.org +Precedence: bulk +List-ID: <linux-mmc.vger.kernel.org> +X-Mailing-List: linux-mmc@vger.kernel.org + +The emmc2 interface on the bcm2711 supports DDR modes for eMMC devices +running at 3.3V. This allows to run eMMC module with 3.3V signaling voltage +at DDR52 mode on the Raspberry Pi 4 using a SD adapter: + + clock: 52000000 Hz + actual clock: 50000000 Hz + vdd: 21 (3.3 ~ 3.4 V) + bus mode: 2 (push-pull) + chip select: 0 (don't care) + power mode: 2 (on) + bus width: 2 (4 bits) + timing spec: 8 (mmc DDR52) + signal voltage: 0 (3.30 V) + driver type: 0 (driver type B) + +Link: https://github.com/raspberrypi/linux/issues/3802 +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 e2d8dfe..b540aa6 100644 +--- a/drivers/mmc/host/sdhci-iproc.c ++++ b/drivers/mmc/host/sdhci-iproc.c +@@ -283,6 +283,7 @@ static const struct sdhci_pltfm_data sdhci_bcm2711_pltfm_data = { + + static const struct sdhci_iproc_data bcm2711_data = { + .pdata = &sdhci_bcm2711_pltfm_data, ++ .mmc_caps = MMC_CAP_3_3V_DDR, + }; + + static const struct of_device_id sdhci_iproc_of_match[] = { |