summaryrefslogtreecommitdiff
path: root/include/linux/soc
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-06-05 21:04:21 +0200
committerAndreas Färber <afaerber@suse.de>2017-06-23 17:43:27 +0200
commit6932ec60cc0a71689150b16b71427cfdc6575602 (patch)
tree27942772c2ef4d35444d6c4ef7c48e36663d9855 /include/linux/soc
parentaa9f800ded78d530bb07104a4745e95af723abf6 (diff)
soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating
Allow the SMP code to reuse PM domain code for CPU2/CPU3 wakeup. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/linux/soc')
-rw-r--r--include/linux/soc/actions/owl-sps.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/soc/actions/owl-sps.h b/include/linux/soc/actions/owl-sps.h
new file mode 100644
index 000000000000..33d0dbeceb55
--- /dev/null
+++ b/include/linux/soc/actions/owl-sps.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright (c) 2017 Andreas Färber
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef SOC_ACTIONS_OWL_SPS_H
+#define SOC_ACTIONS_OWL_SPS_H
+
+int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable);
+
+#endif