[PATCH 2/6] iommu/arm-smmu: add support for specifying regulators

Will Deacon will.deacon at arm.com
Tue Aug 19 06:00:05 PDT 2014


On Wed, Aug 13, 2014 at 01:51:35AM +0100, Mitchel Humpherys wrote:
> On some power-constrained platforms it's useful to disable power when a
> device is not in use. Add support for specifying regulators for SMMUs
> and only leave power on as long as the SMMU is in use (attached).

... and for bypass mode? My comments for clks largely apply here too -- I'd
much rather see this in domain_init/domain_destroy with appropriate
refcounting. It's just too much of a mess having these calls littered around
the driver.

Will



More information about the linux-arm-kernel mailing list