]> git.baikalelectronics.ru Git - kernel.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)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commit265e1d7671c59879110be7edd363c101e6d2d52e
tree5f35469be63844378cd3bd4512a65fc1674fb43e
parentd9e1cff439a9690ecd8b4ff8316f33a89a86b916
mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.

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: 57e19c7e7281 ("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>
drivers/mmc/host/sdhci-of-arasan.c