CSS: Implement support for NODE_HW_STATE
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>
Thu, 4 Aug 2016 08:43:15 +0000 (09:43 +0100)
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>
Thu, 15 Sep 2016 10:18:48 +0000 (11:18 +0100)
commit3cc17aae72287b993bcb2b626d7715ff9ed77790
tree91ed4c4029564688a23361f0780035f10bbc11a1
parent05b128f25edb351c537e55f90851189c35d45855
CSS: Implement support for NODE_HW_STATE

This patch implements CSS platform hook to support NODE_HW_STATE PSCI
API. The platform hook queries SCP to obtain CSS power state. Power
states returned by SCP are then converted to expected PSCI return codes.

Juno's PSCI operation structure is modified to use the CSS
implementation.

Change-Id: I4a5edac0e5895dd77b51398cbd78f934831dafc0
include/plat/arm/css/common/css_def.h
include/plat/arm/css/common/css_pm.h
plat/arm/board/juno/juno_pm.c
plat/arm/css/common/css_pm.c