[PATCH v7 19/26] drivers: firmware: psci: Prepare to use OS initiated suspend mode

2018-04-12 Thread Ulf Hansson
To enable the OS initiated mode, the CPU topology needs to be described using the hierarchical model in DT. When used, the idle state bits for the CPU needs to be created by ORing the bits for CPU's selected idle state with the bits for CPU's PM domain (CPU's cluster) idle state. Let's prepare

[PATCH v7 19/26] drivers: firmware: psci: Prepare to use OS initiated suspend mode

2018-04-12 Thread Ulf Hansson
To enable the OS initiated mode, the CPU topology needs to be described using the hierarchical model in DT. When used, the idle state bits for the CPU needs to be created by ORing the bits for CPU's selected idle state with the bits for CPU's PM domain (CPU's cluster) idle state. Let's prepare