]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 18 Sep 2012 01:35:04 +0000 (10:35 +0900)
commit45ca523a60aa67504c32745183875ed9307564fe
treeb7b555b9931e14bcfeabb4b2a00fd4bf0127815e
parent0faa7ecf730abed7568ea0f782e4663a60b5d32d
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