]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 22 Mar 2019 11:38:05 +0000 (12:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2019 05:37:35 +0000 (07:37 +0200)
commit6eaeee1e7845cb4ab68404583b3073517a5b0f00
tree11ffa9928f5b4a43e41f99201ca627da201c4aba
parente2c436d9268f0d856c284a40ca7ecec17c69a2be
mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.

commit 7bda9482e7ed4d27d83c1f9cb5cbe3b34ddac3e8 upstream.

Direct commands (DCMDs) are an optional feature of eMMC 5.1's command
queue engine (CQE). The Arasan eMMC 5.1 controller uses the CQHCI,
which exposes a control register bit to enable the feature.
The current implementation sets this bit unconditionally.

This patch allows to suppress the feature activation,
by specifying the property disable-cqe-dcmd.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 84362d79f436 ("mmc: sdhci-of-arasan: Add CQHCI support for arasan,sdhci-5.1")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-of-arasan.c