]> git.baikalelectronics.ru Git - kernel.git/commit
iio: pressure: bmp280: add reset GPIO line handling
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Jun 2016 01:48:47 +0000 (03:48 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 30 Jun 2016 19:39:40 +0000 (20:39 +0100)
commit92c7f3da1dfc9496659cd6582213f891cd8e2a4c
tree2a4c4d65634f11163445bb55b9433093cf762fa7
parent6300df5851600633637dc488307a8cdcb170354c
iio: pressure: bmp280: add reset GPIO line handling

On the APQ8060 Dragonboard the reset line to the BMP085 pressure
sensor is not deasserted on boot, so the driver needs to handle
this. For a simple GPIO line supplied as a descriptor (from a board
file, device tree or ACPI) this does the trick.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/bmp280.c