diff options
author | Sricharan R <sricharan@codeaurora.org> | 2016-06-13 11:36:02 (GMT) |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-06-21 11:56:00 (GMT) |
commit | 109bd48ea2e1fb4e924712018397a51c7b2aaadd (patch) | |
tree | 334879f8576068e764c9d5657cc74438cf94111c /lib/percpu_test.c | |
parent | 33688abb2802ff3a230bd2441f765477b94cc89e (diff) | |
download | linux-109bd48ea2e1fb4e924712018397a51c7b2aaadd.tar.xz |
iommu/msm: Add DT adaptation
The driver currently works based on platform data. Remove this
and add support for DT. A single master can have multiple ports
connected to more than one iommu.
master
|
|
|
------------------------
| |
IOMMU0 IOMMU1
| |
ctx0 ctx1 ctx0 ctx1
This association of master and iommus/contexts were previously
represented by platform data parent/child device details. The client
drivers were responsible for programming all of the iommus/contexts
for the device. Now while adapting to generic DT bindings we maintain the
list of iommus, contexts that each master domain is connected to and
program all of them on attach/detach.
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Tested-by: Archit Taneja <architt@codeaurora.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/percpu_test.c')
0 files changed, 0 insertions, 0 deletions