linux/drivers/memory/tegra
Paul Walmsley 3c01cf3bef memory: tegra: Add support for a variable-size client ID bitfield
Recent versions of the Tegra MC hardware extend the size of the client
ID bitfield in the MC_ERR_STATUS register by one bit.  While one could
simply extend the bitfield for older hardware, that would allow data
from reserved bits into the driver code, which is generally a bad idea
on principle.  So this patch instead passes in the client ID mask from
from the per-SoC MC data.

There's no MC support for T210 (yet), but when that support winds up
in the kernel, the appropriate soc->client_id_mask value for that chip
will be 0xff.

Based on an original patch by David Ung <davidu@nvidia.com>.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: David Ung <davidu@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2015-08-13 16:07:52 +02:00
..
Kconfig memory: tegra: Add EMC (external memory controller) driver 2015-05-05 11:12:17 +02:00
Makefile ARM: tegra: Add EMC driver for v4.2-rc1 2015-05-13 17:59:35 +02:00
mc.c memory: tegra: Add support for a variable-size client ID bitfield 2015-08-13 16:07:52 +02:00
mc.h memory: tegra: Add Tegra132 support 2015-05-04 12:54:23 +02:00
tegra30.c memory: tegra: Add support for a variable-size client ID bitfield 2015-08-13 16:07:52 +02:00
tegra114.c memory: tegra: Add support for a variable-size client ID bitfield 2015-08-13 16:07:52 +02:00
tegra124-emc.c memory: tegra: Expose supported rates via debugfs 2015-07-16 09:51:47 +02:00
tegra124.c memory: tegra: Add support for a variable-size client ID bitfield 2015-08-13 16:07:52 +02:00