The main goal of this patchset is to add device tree support to driver. First patch is doing little cleanup by using managed resource helpers. Second patch adds support for light sensor part, which is supported by hw, but was not supported by driver. The last two patches adds device tree support to driver, with documentation. It was tested on s5pv210-galaxys and s5pv210-fascinate4g. Jonathan Bakker (4): input: misc: gp2a: Use managed resource helpers input: misc: gp2a: Add support for light sensor input: misc: gp2a: Enable device tree dt-bindings: input: Add documentation for gp2a sensor .../bindings/input/sharp,gp2ap002a00f.txt | 29 ++++ drivers/input/misc/Kconfig | 2 + drivers/input/misc/gp2ap002a00f.c | 154 +++++++++++++++--- include/linux/input/gp2ap002a00f.h | 4 + 4 files changed, 163 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/sharp,gp2ap002a00f.txt -- 2.17.1