thermal: Move tegra_fan to sysfs nodes.
authorMithun Maragiri <mmaragiri@nvidia.com>
Thu, 26 Jan 2017 09:32:08 +0000 (01:32 -0800)
committerManish Tuteja <mtuteja@nvidia.com>
Fri, 14 Apr 2017 23:04:54 +0000 (16:04 -0700)
commitf3d53da51f9f44437285ca91863b7e5a6e9f08db
tree3984a5a0428234c19db09713801675b2c1058c23
parent634e56e988dead11407da36952a58e7fb4456fd0
thermal: Move tegra_fan to sysfs nodes.

1) Create the following tegra_fan sysfs nodes
cur_pwm
target_pwm
rpm_measured
pwm_rpm_table
step_time
tach_enable
temp_control

2) Set bus_id for pwm-fan

3) Remove tegra_fan debugfs nodes

Bug 1865528

Change-Id: Id730a0ae9937b7fcd7940330b52a113fd9b28258
Reviewed-on: http://git-master/r/1294549
(cherry picked from commit 485de1b4514444b4f94196db3fbbc00b49f0031e)
Signed-off-by: Mithun Maragiri <mmaragiri@nvidia.com>
Reviewed-on: http://git-master/r/1461894
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
arch/arm64/mach-tegra/board-t210ref.c
drivers/thermal/pwm_fan.c