]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit431fe29c399a5ba29d7780dac35955a3b2298195
treef11f6ede41262ccde95a1012aa2b7d8c28873145
parenta4df26f1d2cb68bde23127cbbd2dc5858aa58c4b
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