diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-02-18 19:58:55 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-19 07:28:32 +0200 |
commit | 49c9ede3b299c8e05f9905beb5b194629c4e0173 (patch) | |
tree | 3abb91824ca9f8a596c7af0918d5d83b2ab8ecda | |
parent | 8ab654739f6ea01bb44731c1d645fbe8debc84a1 (diff) | |
download | openfirmware-49c9ede3b299c8e05f9905beb5b194629c4e0173.tar.gz |
olpc/accelerometer: make /i2c/accelerometer compatible with st,lis3lv02d
This allows the Linux driver to attach, following the
iio/accel/lis302.txt binding.
TODO: Is this necessary? Wouldn't the driver core just fall back to the
correct driver? Should the existing compatible string be modified
instead?
-rw-r--r-- | cpu/arm/olpc/accelerometer.fth | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/arm/olpc/accelerometer.fth b/cpu/arm/olpc/accelerometer.fth index 99f2b856..891856b6 100644 --- a/cpu/arm/olpc/accelerometer.fth +++ b/cpu/arm/olpc/accelerometer.fth @@ -3,6 +3,7 @@ new-device " accelerometer" name " lis3lv02d" +compatible +" st,lis3lv02d" +compatible true value hi-res? |