speedo-tegra210.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) speedo-tegra210.c (d94da0dd686d249ab0f6500d41169a7eff9a4b21)
1/*
2 * Copyright (c) 2013-2015, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 117 unchanged lines hidden (view full) ---

126
127 /* Read speedo/IDDQ fuses */
128 cpu_speedo[0] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_0);
129 cpu_speedo[1] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_1);
130 cpu_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
131
132 soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
133 soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
1/*
2 * Copyright (c) 2013-2015, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 117 unchanged lines hidden (view full) ---

126
127 /* Read speedo/IDDQ fuses */
128 cpu_speedo[0] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_0);
129 cpu_speedo[1] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_1);
130 cpu_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
131
132 soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
133 soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
134 soc_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
134 soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2);
135
136 cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
137 soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;
138 gpu_iddq = tegra_fuse_read_early(FUSE_GPU_IDDQ) * 5;
139
140 /*
141 * Determine CPU, GPU and SoC speedo values depending on speedo fusing
142 * revision. Note that GPU speedo value is fused in CPU_SPEEDO_2.

--- 42 unchanged lines hidden ---
135
136 cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
137 soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;
138 gpu_iddq = tegra_fuse_read_early(FUSE_GPU_IDDQ) * 5;
139
140 /*
141 * Determine CPU, GPU and SoC speedo values depending on speedo fusing
142 * revision. Note that GPU speedo value is fused in CPU_SPEEDO_2.

--- 42 unchanged lines hidden ---