linux-stable/include/linux/iio
Andy Shevchenko fb1589710e iio: Allow to read mount matrix from ACPI
Currently mount matrix is allowed in Device Tree, though there is
no technical issue to extend it to support ACPI.

Convert the function to use device_property_read_string_array() and
thus allow to read mount matrix from ACPI if available.

Example of use in _DSD method:

  Name (_DSD, Package ()
  {
     ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
     Package ()
     {
        Package () { "mount-matrix", Package() {
                "1", "0",     "0",
                "0", "0.866", "0.5",
                "0", "-0.5",  "0.866",
        } },
     }
  })

At the same time drop the "of" prefix from its name and
convert current users.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-04-04 20:19:46 +01: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
frequency
gyro
imu
magnetometer
timer iio: stm32: fix adc/trigger link error 2017-12-02 11:21:31 +00: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
buffer_impl.h iio:buffer: make length types match kfifo types 2018-03-30 11:14:32 +01:00
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: Allow to read mount matrix from ACPI 2019-04-04 20:19:46 +01:00
kfifo_buf.h
machine.h iio: Add macro to populate struct iio_map array 2017-12-02 13:28:21 +00:00
sw_device.h
sw_trigger.h
sysfs.h
trigger.h iio: add field identifier for @use_count kernel-doc 2018-01-08 16:03:43 +01:00
trigger_consumer.h
triggered_buffer.h
triggered_event.h
types.h IIO: inkern: API for manipulating channel attributes 2018-01-10 10:30:08 +00:00