mbox series

[v11,0/6] mmc: sdhci: Add Tegra234 support

Message ID 20221117182720.2290761-1-thierry.reding@gmail.com
Headers show
Series mmc: sdhci: Add Tegra234 support | expand

Message

Thierry Reding Nov. 17, 2022, 6:27 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Hi,

This is an updated version of v10 that Prathamesh had sent out a while
ago:

	https://lore.kernel.org/all/20221103043852.24718-1-pshete@nvidia.com/

The main changes in here are the first three patches, of which 2 are
minor preparatory work. The first patch adds a note to the kerneldoc
comment for struct iommu_fwspec to hopefully make it clearer that no
driver should reach into its internals. Patch 2 adds a custom Tegra-
specific helper to encapsulate the common pattern that Tegra drivers
use to access the stream IDs. Patch three then resorts the includes
to make it easier to add subsequent includes in the right place.

The rest of the series is mostly the same as what Prathamesh had sent
out. Patch 4 is slightly updated because it uses the new helper and it
turns out that that also addresses some of the other review comments.

I have a local patch to migrate the remaining Tegra drivers over to the
new helper, but the plan is to hold that back until the new helper has
been merged (hopefully for v6.2) to provide the dependency in mainline,
which makes the conversion patches much easier to apply through the
appropriate subsystem trees.

Thierry

Prathamesh Shete (3):
  mmc: sdhci-tegra: Separate Tegra194 and Tegra234 SoC data
  mmc: sdhci-tegra: Add support to program MC stream ID
  mmc: sdhci-tegra: Issue CMD and DAT resets together

Thierry Reding (3):
  iommu: Add note about struct iommu_fwspec usage
  iommu/tegra: Add tegra_dev_iommu_get_stream_id() helper
  mmc: sdhci-tegra: Sort includes alphabetically

 drivers/mmc/host/sdhci-tegra.c | 70 ++++++++++++++++++++++++++++------
 drivers/mmc/host/sdhci.c       |  5 +++
 drivers/mmc/host/sdhci.h       |  2 +
 include/linux/iommu.h          | 25 ++++++++++++
 4 files changed, 90 insertions(+), 12 deletions(-)