Commit 5ada7765 authored by Sricharan R's avatar Sricharan R
Browse files

iommu/arm-smmu: Add pm_runtime/sleep ops



The smmu needs to be functional when the respective
master/s using it are active. As there is a device_link
between the master and smmu, the pm runtime ops for the smmu
gets invoked in sync with the master's runtime, thus the
smmu remains powered only when needed.

There are couple of places in the driver during probe,
master attach, where the smmu needs to be clocked without
the context of the master. So doing a pm_runtime_get/put sync
in those places separately.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
parent 3c05eb37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment