]> 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)
commit0798e550f9eeb6912549991e508e4ffc0037ad40
treef11f6ede41262ccde95a1012aa2b7d8c28873145
parent265b3103f90aa642dc67e7f2bb6e095f9279104a
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