iio: accel: st_accel: handle deprecated bindings
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Jan 2017 13:32:33 +0000 (14:32 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:54:16 +0000 (19:54 +0000)
commit762227721fe6225be5b6d233ef681aea5871f5f3
treef11f6ede41262ccde95a1012aa2b7d8c28873145
parent17be2a2905a6ec9aa27cd59521495e2f490d2af0
iio: accel: st_accel: handle deprecated bindings

The earlier deployed LIS3LV02DL driver had already defined a few
DT bindings that need to be supported by the new more generic
driver and listed as compatible but deprecated bindings in the
documentation.

After this we can start to activate the new driver with the old
systems where applicable.

As part of this enablement: make us depend on the old drivers
not being in use so we don't get a kernel with two competing
drivers.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/accel/lis302.txt
Documentation/devicetree/bindings/iio/st-sensors.txt
drivers/iio/accel/Kconfig
drivers/iio/accel/st_accel_i2c.c
drivers/iio/accel/st_accel_spi.c