diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-04-30 16:15:50 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-07 12:42:34 +0300 |
commit | 1038a6872802bb4a07f627162ff989bf49e2e5cc (patch) | |
tree | ef6ecde1b4806c79c8c798741b63c2b8c4ca635c /Documentation/devicetree/bindings/iio | |
parent | 5e02bac3172fcad964eeef70ad21f583982a6eba (diff) | |
download | linux-1038a6872802bb4a07f627162ff989bf49e2e5cc.tar.xz |
iio: magnetometer: support for lsm303dlh
The LSM303DLH accelerometer/magnetometer has a different
device identification method than using register 0x0f, instead
three registers contain a magic value. We rely on WhoAmI
to be zero for this variant.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/st-sensors.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/st-sensors.txt b/Documentation/devicetree/bindings/iio/st-sensors.txt index d2aaca974531..fb5e0c2d18b5 100644 --- a/Documentation/devicetree/bindings/iio/st-sensors.txt +++ b/Documentation/devicetree/bindings/iio/st-sensors.txt @@ -45,6 +45,7 @@ Gyroscopes: - st,lsm330-gyro Magnetometers: +- st,lsm303dlh-magn - st,lsm303dlhc-magn - st,lsm303dlm-magn - st,lis3mdl-magn |