[PATCH v2 0/5] input: misc: bma150: Add support for device tree

Paweł Chmiel
2019-02-02T15:18:19Z

This small patchset adds support for device tree to Bosch BMA150 Accelerometer
Sensor driver.

It was tested on s5pv210-galaxys and s5pv210-fascinate4g.

Changes from v1:
- Correct devm input unregistering
- Correct IRQ type in DT documentation
- Add DT properties for bma150_cfg and document
- Add patch removing pdata
- Fix race condition in input device registering

Jonathan Bakker (5):
dt-bindings: input: Add binding for bma150 sensor
input: misc: bma150: Use managed resources helpers
input: misc: bma150: Add support for device tree
input: misc: bma150: Drop platform data
input: misc: bma150: Register input device after setting private data

.../bindings/input/bosch,bma150.txt | 38 ++++++
drivers/input/misc/bma150.c | 128 ++++++++++--------
include/dt-bindings/input/bma150.h | 22 +++
include/linux/bma150.h | 38 ++----
4 files changed, 144 insertions(+), 82 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/bosch,bma150.txt
create mode 100644 include/dt-bindings/input/bma150.h

--
2.17.1