]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56217746aea285b95c9165ecece39ea2e76a7353
tree26ab0339d0686a3f17275e554990f01e5c385a27
parent5fd33172bed176d204be92778099a6313bac51e9
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