Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: Comment that the LSM303D also has the Magnetometer DRDY

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>

authored by

Marius Hoch and committed by
Jonathan Cameron
69ee1fb2 598e971f

+1 -1
+1 -1
include/linux/platform_data/st_sensors_pdata.h
··· 15 15 * @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2). 16 16 * Available only for accelerometer, magnetometer and pressure sensors. 17 17 * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). 18 - * Magnetometer DRDY is supported only on LSM9DS0. 18 + * Magnetometer DRDY is supported only on LSM9DS0 and LSM303D. 19 19 * @open_drain: set the interrupt line to be open drain if possible. 20 20 * @spi_3wire: enable spi-3wire mode. 21 21 * @pullups: enable/disable i2c controller pullup resistors.