diff options
-rw-r--r-- | arch/arm/mach-tegra/board-dalmore-sensors.c | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-sensors.c b/arch/arm/mach-tegra/board-dalmore-sensors.c index 80745c58f6c4..5edab3fe8db3 100644 --- a/arch/arm/mach-tegra/board-dalmore-sensors.c +++ b/arch/arm/mach-tegra/board-dalmore-sensors.c @@ -660,29 +660,31 @@ static struct therm_est_data skin_data = { .passive_delay = 5000, }; +static struct throttle_table skin_throttle_table[] = { + { 0, 1000 }, + { 51000, 1000 }, + { 102000, 1000 }, + { 204000, 1000 }, + { 252000, 1000 }, + { 288000, 1000 }, + { 372000, 1000 }, + { 468000, 1000 }, + { 510000, 1000 }, + { 612000, 1000 }, + { 714000, 1050 }, + { 816000, 1050 }, + { 918000, 1050 }, + {1020000, 1100 }, + {1122000, 1100 }, + {1224000, 1100 }, + {1326000, 1100 }, + {1428000, 1100 }, + {1530000, 1100 }, +}; + static struct balanced_throttle skin_throttle = { - .throt_tab_size = 19, - .throt_tab = { - { 0, 1000 }, - { 51000, 1000 }, - { 102000, 1000 }, - { 204000, 1000 }, - { 252000, 1000 }, - { 288000, 1000 }, - { 372000, 1000 }, - { 468000, 1000 }, - { 510000, 1000 }, - { 612000, 1000 }, - { 714000, 1050 }, - { 816000, 1050 }, - { 918000, 1050 }, - {1020000, 1100 }, - {1122000, 1100 }, - {1224000, 1100 }, - {1326000, 1100 }, - {1428000, 1100 }, - {1530000, 1100 }, - }, + .throt_tab_size = ARRAY_SIZE(skin_throttle_table), + .throt_tab = skin_throttle_table, }; static int __init dalmore_skin_init(void) |