linux/drivers/iio/magnetometer
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
..
ak8974.c iio: Allow to read mount matrix from ACPI 2019-04-04 20:19:46 +01:00
ak8975.c iio: Allow to read mount matrix from ACPI 2019-04-04 20:19:46 +01:00
bmc150_magn_i2c.c iio: magnetometer: bmc150_magn_i2c: Add OF device ID table 2017-03-19 10:50:10 +00:00
bmc150_magn_spi.c iio: magn: Add support for BMM150 magnetometer 2016-05-21 17:37:21 +01:00
bmc150_magn.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
bmc150_magn.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hid-sensor-magn-3d.c iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers 2018-11-16 11:42:12 +00:00
hmc5843_core.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
hmc5843_i2c.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843_spi.c iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
hmc5843.h iio: magnetometer: hmc5843: Fixed a comment error. 2018-09-22 10:23:51 +01:00
Kconfig iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
mag3110.c iio: magnetometer: mag3110: add vdd/vddio regulator operation support 2019-01-12 19:00:23 +00:00
Makefile iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
mmc35240.c iio:magnetometer: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:32:52 +01:00
rm3100-core.c iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
rm3100-i2c.c iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
rm3100-spi.c iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
rm3100.h iio: magnetometer: Add driver support for PNI RM3100 2018-11-16 18:32:31 +00:00
st_magn_buffer.c iio:st_magn: Fix enable device after trigger 2018-11-03 11:24:07 +00:00
st_magn_core.c iio:magnetometer: st_magn: add BDU settings 2018-11-11 15:29:43 +00:00
st_magn_i2c.c iio:magnetometer: st_magn: add LSM9DS1 support 2018-11-11 15:29:43 +00:00
st_magn_spi.c iio:magnetometer: st_magn: add LSM9DS1 support 2018-11-11 15:29:43 +00:00
st_magn.h iio:magnetometer: st_magn: add LSM9DS1 support 2018-11-11 15:29:43 +00:00