ARM: psci: add constants to specify affinity levels
authorAchin Gupta <achin.gupta@arm.com>
Sun, 16 Dec 2012 21:46:10 +0000 (21:46 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:01 +0000 (11:05 +0100)
This patch defines constants to allow callers of the psci 'suspend'
& 'off' calls specify supported affinity levels.

Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm/include/asm/psci.h

index ce0dbe7c1625d296b165794ab75165a7452ecbfe..78ce38ff19f246d0e9c6693c6e24f8e40918755d 100644 (file)
 
 #define PSCI_POWER_STATE_TYPE_STANDBY          0
 #define PSCI_POWER_STATE_TYPE_POWER_DOWN       1
+#define PSCI_POWER_STATE_AFFINITY_LEVEL0       0
+#define PSCI_POWER_STATE_AFFINITY_LEVEL1       1
+#define PSCI_POWER_STATE_AFFINITY_LEVEL2       2
+#define PSCI_POWER_STATE_AFFINITY_LEVEL3       3
 
 struct psci_power_state {
        u16     id;