arm: tegra: fury: add NCT chip id to /sys
authorChun Xu <chunx@nvidia.com>
Wed, 18 Sep 2013 12:54:44 +0000 (20:54 +0800)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Tue, 1 Oct 2013 08:36:05 +0000 (13:36 +0530)
commit3ee249a2a0e756f3301037829550be1f5c5387a3
tree9cc87e5f3c1a989a57a8c634a21ff27c617f890b
parent543efe692c6dca371abcb779b336434d84171e97
arm: tegra: fury: add NCT chip id to /sys

Read

accelerometer_id
charger_id
compass_id
gps_id
gyroscope_id
lcd_id
light_id
touch_id

from NCT into /sys/kernel/tegra_nct/.

Bug 1361476

Change-Id: Ieac5b33cfd0c8dfaae7cc8512a56de9451ff91b7
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/276301
Reviewed-on: http://git-master/r/277607
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 0677f7650d3007f617cb1da97411d45ecd96282d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
arch/arm/mach-tegra/include/mach/nct.h
arch/arm/mach-tegra/nct_sysfs.c