mmc: sdhci-tegra: Add support to program MC stream ID
authorPrathamesh Shete <pshete@nvidia.com>
Tue, 6 Dec 2022 16:59:44 +0000 (17:59 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:30:25 +0000 (13:30 +0100)
commit03813c81e62559489afa1b461ab159b5641d66f8
tree21a71fd09ba10886685b96aaca96156f6bf27a45
parent8f00ad01fcd457d5e8c09c97f7a963be09e59b99
mmc: sdhci-tegra: Add support to program MC stream ID

SMMU clients are supposed to program stream ID from their respective
address spaces instead of MC override. Define NVQUIRK_PROGRAM_STREAMID
and use it to program SMMU stream ID from the SDMMC client address
space.

Signed-off-by: Aniruddha TVS Rao <anrao@nvidia.com>
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20221206165945.3551774-6-thierry.reding@gmail.com
[Ulf: Fixed a checkpatch error]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c