Hi, The lis302 has already a DT binding described in , which descibes misc. hardware properties. The current binding does not support all values needed to convert the Nokia N900's platform data to DT, though.
This patchset introduces support for describing inverted axis, configuration of second wakeup unit and wakeup threshold support. The series is based on top of v4.0-rc1 and has been tested on my Nokia N900.  Documentation/devicetree/bindings/misc/lis302.txt -- Sebastian Sebastian Reichel (4): lis3lv02d: DT: use s32 to support negative values lis3lv02d: DT: add wakeup unit 2 and wakeup threshold Documentation: DT: lis302: update wakeup binding DTS: ARM: OMAP3-N900: Add lis3lv02d support Documentation/devicetree/bindings/misc/lis302.txt | 9 +++- arch/arm/boot/dts/omap3-n900.dts | 52 +++++++++++++++++++++ drivers/misc/lis3lv02d/lis3lv02d.c | 56 +++++++++++++++-------- 3 files changed, 97 insertions(+), 20 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html