From: Geert Uytterhoeven Date: Tue, 6 Jan 2015 19:42:07 +0000 (+0100) Subject: ARM: shmobile: kzm9g-reference dts: Add adxl345 accelerometer node X-Git-Tag: omap-for-v4.2/o2_dc~53^2~44^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd1dd503aa2a6cfeb18a48d1da01662dd5124e1;p=pandora-kernel.git ARM: shmobile: kzm9g-reference dts: Add adxl345 accelerometer node Add a DT node for the ADXL345 three-axis digital accelerometer sensor, which is connected to i2c0. As trivial i2c devices are matched against the first compatible entry only, compatibility is declared with "adi,adxl34x" only for now. Signed-off-by: Geert Uytterhoeven The device needs an interrupt to operate properly. Specify the two interrupts used on the board. While at it rename the DT node to accelerometer@1d to describe the device's function instead of its model. Signed-off-by: Laurent Pinchart Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Reading git-diff-tree failed