diff options
author | Tomasz Figa <tfiga@chromium.org> | 2018-03-23 10:38:08 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-03-29 13:22:26 +0300 |
commit | f2e3a5f557ad27f6a6f447717090a39cea238d6a (patch) | |
tree | 9566310cadbebebfe40ea424e3d0712a088a2009 /Documentation/devicetree/bindings/iommu | |
parent | bf2a5e717a47d042ca5f9f438cf186633f23033b (diff) | |
download | linux-f2e3a5f557ad27f6a6f447717090a39cea238d6a.tar.xz |
iommu/rockchip: Control clocks needed to access the IOMMU
Current code relies on master driver enabling necessary clocks before
IOMMU is accessed, however there are cases when the IOMMU should be
accessed while the master is not running yet, for example allocating
V4L2 videobuf2 buffers, which is done by the VB2 framework using DMA
mapping API and doesn't engage the master driver at all.
This patch fixes the problem by letting clocks needed for IOMMU
operation to be listed in Device Tree and making the driver enable them
for the time of accessing the hardware.
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'Documentation/devicetree/bindings/iommu')
0 files changed, 0 insertions, 0 deletions