gpu: host1x: mipi: Power down regulators when unused
authorThierry Reding <treding@nvidia.com>
Fri, 10 Apr 2015 09:29:41 +0000 (11:29 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:47:21 +0000 (13:47 +0200)
commit15372d4be7f099662dc84e4e35e844bd4373d959
tree1654212589cad51d77aeb80bef21f5fe3c4c7b91
parent5e7752436e10427ba598de4f2f6b7889daf586cc
gpu: host1x: mipi: Power down regulators when unused

Keep track of the number of users of DSI and CSI pads and power down the
regulators that supply the bricks when all users are gone.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/mipi.c