diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-14 22:54:50 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 15:54:22 +0300 |
commit | 38934daf7b5c1b35a01748cb7d4272282cc3a890 (patch) | |
tree | 8517f4bcc204974cf60e5c477b414b013b7c7b0c /drivers/iio/gyro/st_gyro_core.c | |
parent | dffdd75678745e9eccf31ad16e4849b663645e3b (diff) | |
download | linux-38934daf7b5c1b35a01748cb7d4272282cc3a890.tar.xz |
iio: magnetometer: st_magn: Provide default platform data
Provide default platform data for magnetometer in case it supports DRDY.
One case is LSM9DS0 IMU, on which it is the case. Since accelerometer
is using INT1, default magnetometer to INT2.
While at it, update description of the drdy_int_pin field.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210414195454.84183-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/st_gyro_core.c')
0 files changed, 0 insertions, 0 deletions