linux_dsm_epyc7002/include/linux/iio
Daniel Drake f38ab20b74 iio: st_accel: use ACPI orientation data
Platform-specific ST accelerometer mount matrix information can be
provided by returning a package of 6 integers from the ACPI _ONT
method. This has been seen on Acer products such as Veriton Z4860G,
Z6860G and A890, which include a ST SMO8840 sensor. We have also
confirmed experimentally that the Windows driver uses such information.

The _ONT data format was explained by a ST vendor contact. However,
strangely enough, the _ONT transformations must be applied after first
applying another mount matrix which we determined experimentally. ST
have not commented on why this is the case, but we imagine that perhaps
earlier devices (before _ONT was introduced) required this translation
and hence it became 'standard.'

Interpret the _ONT data and export the equivalent mount matrix to
userspace.

If no _ONT data is present, no mount matrix is exported.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-02-02 09:28:51 +00:00
..
accel
adc iio: ad_sigma_delta: Allow to provide custom data register address 2018-11-17 16:30:00 +00:00
common iio: st_accel: use ACPI orientation data 2019-02-02 09:28:51 +00:00
dac License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
frequency
gyro
imu
magnetometer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
timer iio: stm32: fix adc/trigger link error 2017-12-02 11:21:31 +00:00
buffer_impl.h iio:buffer: make length types match kfifo types 2018-03-30 11:14:32 +01:00
buffer-dma.h iio: buffer: fix the function signature to match implementation 2018-06-24 14:23:21 +01:00
buffer-dmaengine.h
buffer.h
configfs.h
consumer.h IIO: consumer: allow to set buffer sizes 2018-01-10 10:30:14 +00:00
driver.h
events.h
hw-consumer.h IIO: hw_consumer: add devm_iio_hw_consumer_alloc 2018-01-10 10:30:07 +00:00
iio.h iio: iio.h: use nested struct support on kernel-doc markup 2018-05-07 18:18:18 +01:00
kfifo_buf.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
machine.h iio: Add macro to populate struct iio_map array 2017-12-02 13:28:21 +00:00
sw_device.h iio: make function argument and some structures const 2017-10-19 16:15:24 +02:00
sw_trigger.h iio: make function argument and some structures const 2017-10-19 16:15:24 +02:00
sysfs.h
trigger_consumer.h
trigger.h iio: add field identifier for @use_count kernel-doc 2018-01-08 16:03:43 +01:00
triggered_buffer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
triggered_event.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
types.h IIO: inkern: API for manipulating channel attributes 2018-01-10 10:30:08 +00:00