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>
This commit is contained in:
11
include/linux/soc/actions/owl-sps.h
Normal file
11
include/linux/soc/actions/owl-sps.h
Normal file
@@ -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
|
Reference in New Issue
Block a user