diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-29 17:33:41 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-06-29 17:33:41 +0200 |
commit | c070d6ba252c8f002dbc464f6a55175aa3565baa (patch) | |
tree | 8e1e89803d96a5aeb5de9217de617230159edc34 /include/linux | |
parent | dc366b16a256c758ef6b3de220b628612f182485 (diff) | |
parent | b6a0e18ca690c2398661c42b942187621ab77e36 (diff) |
Merge tag 'actions-arm-soc+sps-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/soc
Pull "Actions Semi ARM SoC for v4.13 #2" from Andreas Färber:
This adds SMP code to bring up the remaining S500 CPU cores
by reusing a helper factored out of the SPS power domains driver.
* tag 'actions-arm-soc+sps-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
ARM: owl: smp: Implement SPS power-gating for CPU2 and CPU3
soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating
soc: actions: Add Owl SPS
dt-bindings: power: Add Owl SPS power domains
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/soc/actions/owl-sps.h | 11 |
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 |