]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
iio: Comment that the LSM303D also has the Magnetometer DRDY
authorMarius Hoch <mail@mariushoch.de>
Sat, 15 Apr 2023 23:11:29 +0000 (01:11 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 May 2023 16:56:04 +0000 (17:56 +0100)
Per its datasheet, the LSM303D also features that pin.

Signed-off-by: Marius Hoch <mail@mariushoch.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20230415231130.115094-6-mail@mariushoch.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/platform_data/st_sensors_pdata.h

index 897051e51b786e2580ca612668513b09dd2b956d..a657830232ae24f1768102c2620da466bec7ec7b 100644 (file)
@@ -15,7 +15,7 @@
  * @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2).
  *     Available only for accelerometer, magnetometer and pressure sensors.
  *     Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet).
- *     Magnetometer DRDY is supported only on LSM9DS0.
+ *     Magnetometer DRDY is supported only on LSM9DS0 and LSM303D.
  * @open_drain: set the interrupt line to be open drain if possible.
  * @spi_3wire: enable spi-3wire mode.
  * @pullups: enable/disable i2c controller pullup resistors.