Home
last modified time | relevance | path

Searched hist:"691 bc22de951947bcc5d3bb637858fde7283781c" (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/plat/nvidia/tegra/soc/t186/
H A Dplat_sip_calls.c691bc22de951947bcc5d3bb637858fde7283781c Fri Sep 23 21:28:16 UTC 2016 Varun Wadekar <vwadekar@nvidia.com> Tegra186: read activity monitor's clock counter values

This patch adds a new SMC function ID to read the refclk and coreclk
clock counter values from the Activity Monitor. The non-secure world
requires this information to calculate the CPU's frequency.

Formula: "freq = (delta_coreclk / delta_refclk) * refclk_freq"

The following CPU registers have to be set by the non-secure driver
before issuing the SMC:

X1 = MPIDR of the target core
X2 = MIDR of the target core

Change-Id: I296d835def1f5788c17640c0c456b8f8f0e90824
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
H A Dplatform_t186.mk691bc22de951947bcc5d3bb637858fde7283781c Fri Sep 23 21:28:16 UTC 2016 Varun Wadekar <vwadekar@nvidia.com> Tegra186: read activity monitor's clock counter values

This patch adds a new SMC function ID to read the refclk and coreclk
clock counter values from the Activity Monitor. The non-secure world
requires this information to calculate the CPU's frequency.

Formula: "freq = (delta_coreclk / delta_refclk) * refclk_freq"

The following CPU registers have to be set by the non-secure driver
before issuing the SMC:

X1 = MPIDR of the target core
X2 = MIDR of the target core

Change-Id: I296d835def1f5788c17640c0c456b8f8f0e90824
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
H A Dplat_setup.c691bc22de951947bcc5d3bb637858fde7283781c Fri Sep 23 21:28:16 UTC 2016 Varun Wadekar <vwadekar@nvidia.com> Tegra186: read activity monitor's clock counter values

This patch adds a new SMC function ID to read the refclk and coreclk
clock counter values from the Activity Monitor. The non-secure world
requires this information to calculate the CPU's frequency.

Formula: "freq = (delta_coreclk / delta_refclk) * refclk_freq"

The following CPU registers have to be set by the non-secure driver
before issuing the SMC:

X1 = MPIDR of the target core
X2 = MIDR of the target core

Change-Id: I296d835def1f5788c17640c0c456b8f8f0e90824
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
/rk3399_ARM-atf/plat/nvidia/tegra/include/t186/
H A Dtegra_def.h691bc22de951947bcc5d3bb637858fde7283781c Fri Sep 23 21:28:16 UTC 2016 Varun Wadekar <vwadekar@nvidia.com> Tegra186: read activity monitor's clock counter values

This patch adds a new SMC function ID to read the refclk and coreclk
clock counter values from the Activity Monitor. The non-secure world
requires this information to calculate the CPU's frequency.

Formula: "freq = (delta_coreclk / delta_refclk) * refclk_freq"

The following CPU registers have to be set by the non-secure driver
before issuing the SMC:

X1 = MPIDR of the target core
X2 = MIDR of the target core

Change-Id: I296d835def1f5788c17640c0c456b8f8f0e90824
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>