arm: tegra: Register tegra-throttle cdev as driver
authorArun Kumar Swain <arswain@nvidia.com>
Thu, 31 Jul 2014 03:52:25 +0000 (20:52 -0700)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 5 Aug 2014 18:34:37 +0000 (11:34 -0700)
commitd6625e396bbf22972966eeab63f473c30e3fccc9
tree1b9f73f9af0dfd656a438c060765212b885257ee
parentf7ba8c699333320d6ac5cfecac29785bd4dc33c2
arm: tegra: Register tegra-throttle cdev as driver

1. Register tegra-throttle cooling device as a
platform driver.
2. Obtain all the platform data (throtlle table
info) for all instances of blanced-throtlled cdev
from device tree and register them.

Change-Id: Ie92685eea3eb5cb18068b195adc9ab5f83762399
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/449104
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
12 files changed:
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/cpu-tegra.h
arch/arm/mach-tegra/dvfs.h
arch/arm/mach-tegra/edp_core.c
drivers/gpu/nvgpu/gk20a/clk_gk20a.c
drivers/gpu/nvgpu/gm20b/clk_gm20b.c
drivers/platform/tegra/Makefile
drivers/platform/tegra/tegra3_throttle.c [deleted file]
drivers/platform/tegra/tegra_throttle.c [moved from arch/arm/mach-tegra/tegra3_throttle.c with 72% similarity]
drivers/thermal/tmp006.c
include/linux/tegra_throttle.h [moved from arch/arm/mach-tegra/include/mach/thermal.h with 83% similarity]