ARM: shmobile: kzm9g: enable three-axis digital accelerometer ADXL345
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Fri, 14 Sep 2012 09:14:29 +0000 (18:14 +0900)
committerSimon Horman <horms@verge.net.au>
Tue, 30 Oct 2012 07:21:10 +0000 (15:21 +0800)
commit608c5620d90c016f9cdb7b90a14761849cf344b2
treef3f09098b7621b9c782cb72649fe709193250410
parent8cec0123bb762eb90753f61a0e5a0c2ff91aec25
ARM: shmobile: kzm9g: enable three-axis digital accelerometer ADXL345

This patch enables three-axis digital accelerometer ADXL345.
Test:
  sudo cat /dev/input/event2
then tip up the board. You get something from /dev/input/event2.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
arch/arm/configs/kzm9g_defconfig
arch/arm/mach-shmobile/board-kzm9g.c