summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iommu
diff options
context:
space:
mode:
authorTomasz Figa <tfiga@chromium.org>2018-03-23 15:38:08 +0800
committerJoerg Roedel <jroedel@suse.de>2018-03-29 12:22:26 +0200
commitf2e3a5f557ad27f6a6f447717090a39cea238d6a (patch)
tree9566310cadbebebfe40ea424e3d0712a088a2009 /Documentation/devicetree/bindings/iommu
parentbf2a5e717a47d042ca5f9f438cf186633f23033b (diff)
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