summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2013-03-06 11:55:58 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:01:38 -0700
commit4434e0a1272a6ec7ef7d8f415456a7757477ba90 (patch)
treef1b1219e22408c14a66c1effb99a48f1beb38d6f /drivers/crypto
parent755a67c27cebbdd85f785f1ca9274e06e1320c58 (diff)
ARM: Tegra: Add devices to MC clock domain
Add devices to monitor for MC clock to the domain. MC clock domain will be turned off when these devices are runtime suspended. Bug 1010971 Change-Id: Ica4f9fbbd2cc8f52422a787b45cfae37bc60e130 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/204945 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/tegra-se.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/tegra-se.c b/drivers/crypto/tegra-se.c
index f1974d0a36fe..986e5dd428cc 100644
--- a/drivers/crypto/tegra-se.c
+++ b/drivers/crypto/tegra-se.c
@@ -43,6 +43,8 @@
#include <linux/pm_runtime.h>
#include <mach/hardware.h>
+#include <mach/pm_domains.h>
+
#include "tegra-se.h"
#define DRIVER_NAME "tegra-se"
@@ -2594,6 +2596,7 @@ static int tegra_se_probe(struct platform_device *pdev)
}
sg_tegra_se_dev = se_dev;
+ tegra_pd_add_device(&tegra_mc_chain_b, se_dev->dev);
pm_runtime_enable(se_dev->dev);
tegra_se_key_read_disable_all();