]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm: tegra: Read throttle table with an offset
authorArun Swain <arswain@nvidia.com>
Tue, 30 Sep 2014 01:12:09 +0000 (18:12 -0700)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Wed, 1 Oct 2014 22:57:56 +0000 (15:57 -0700)
commitc9295485463b49b83b122e622f12a6fd4a5c64a2
treecfd2de79d02a534a9bf2de5c7b71507dd7a054d0
parentc998f344d3ccde83ff4eec0bf5c31a44f3db3994
arm: tegra: Read throttle table with an offset

Since max cpu frequency depends on the chip sku the throttle table entries
also varies depending on the sku. Slower sku ones will start with smaller
frequencies.

This change gets the max cpu frequency info and according sets the starting
index in the table.

By virtue of this, we need not change the dt contents of the throttle table
depending on the chip sku. Hence removed pruning in cpu-balanced table.

Change-Id: Ia3b8c0bc22abb770728f5ac778546e7b965ebf2e
Signed-off-by: Arun Swain <arswain@nvidia.com>
Cc: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/542895
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
arch/arm64/boot/dts/tegra210-platforms/tegra210-bthrot-cdev.dtsi
drivers/platform/tegra/tegra_throttle.c