]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
iommu/tegra: smmu: get HW details from device node
authorSri Krishna chowdary <schowdary@nvidia.com>
Wed, 9 Jul 2014 14:06:38 +0000 (19:36 +0530)
committerKrishna Reddy <vdumpa@nvidia.com>
Fri, 11 Jul 2014 17:44:01 +0000 (10:44 -0700)
commitcad539e168b3b56cb792a84dbfea94511ca5dd13
tree6e3462382909528903b6fda7a34eb6dbc97fb3e2
parent6c106aaba43c8ae1ee7fafeea5109bb2cbfcaf04
iommu/tegra: smmu: get HW details from device node

The following are also device specific details and the proper
way to get them is from device node
1. swgids that can be enabled
2. number of translation enable
3. number of asid security
4. ptc cache side

Also changed types of the corresponding fields in
smmu_device struct to u32.

Bug 200008320

Change-Id: Ifbb7a1b44e870906b90836340e410583a05e324a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/436223
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/iommu/tegra-smmu.c