[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2019 16:18:01 +0100
From: Paweł Chmiel <pawel.mikolaj.chmiel@...il.com>
To: dmitry.torokhov@...il.com
Cc: robh+dt@...nel.org, mark.rutland@....com,
pawel.mikolaj.chmiel@...il.com, xc-racer2@...e.ca,
devicetree@...r.kernel.org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/5] input: misc: bma150: Add support for device tree
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
Powered by blists - more mailing lists