toshiba_acpi: Add IIO interface for accelerometer axis data
authorAzael Avalos <coproscefalo@gmail.com>
Tue, 28 Jun 2016 01:48:08 +0000 (19:48 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2016 05:17:51 +0000 (22:17 -0700)
commit98010f1ea0ccd9a0e56bdb4e2cf913b72db0f939
tree26ab0339d0686a3f17275e554990f01e5c385a27
parentab9bb11ccbaa9e84be2534b677fe5350c2cc2014
toshiba_acpi: Add IIO interface for accelerometer axis data

This patch adds the accelerometer axis data to the IIO subsystem.

Currently reporting the X, Y and Z values, as no other data can be
queried given the fact that the accelerometer chip itself is hidden
behind the Toshiba proprietary interface.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/toshiba_acpi.c