]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra: implement common handler `plat_get_target_pwr_state()`
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 5 May 2016 21:13:30 +0000 (14:13 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 28 Feb 2017 16:50:01 +0000 (08:50 -0800)
commit2693f1dbc79f3e42b8c9d6d39d5d2e5f2b296ad8
treee3c238b689d02dfb38a156a8fe557db00a64d05a
parent11bd24be5c294280bddf28bb48648de98a56a24f
Tegra: implement common handler `plat_get_target_pwr_state()`

This patch adds a platform handler to calculate the proper target power
level at the specified affinity level.

Tegra platforms assign a local state value in order of decreasing depth
of the power state i.e. for two power states X & Y, if X < Y then X
represents a shallower power state than Y. As a result, the coordinated
target local power state for a power domain will be the maximum of the
requested local power state values.

Change-Id: I67360684b7f5b783fcfdd605b96da5375fa05417
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/tegra_common.mk
plat/nvidia/tegra/common/tegra_pm.c