On 2011-02-13, 21:14 +0800, Yin Kangkai wrote: > On 2011-01-10, 22:30 +0800, joseph_...@wistron.com wrote: > > This patch supports driver for BOSCH BMA023 and SMB380 which are > > accelerometers. > > I am trying to enable the BMA150 in Oaktrail. > > One might be silly question: > > The BMA150 datasheet (BST-BMA150-DS000-07.pdf) says: > > The BMA150 is the LGA package version of the SMB380 triaxial > acceleration sensor which is available in a 3mm x 3mm x 0.9mm QFN > package. > > Then what is this BMA023? > Failed to find anything useful in Bosch website and internet...
Could not get spec of bma023. But from my knowledge, checked the driver with bma150 spec, seems no problem to support bma150 with this bma023 driver. Alan, is it a right patch for you? Thanks. >From 8de559cd724769d16343a928e927b2616befe60d Mon Sep 17 00:00:00 2001 From: Yin Kangkai <kangkai....@linux.intel.com> Date: Mon, 14 Feb 2011 15:24:05 +0800 Subject: [PATCH] bma023: add device_id to support bma150 Signed-off-by: Yin Kangkai <kangkai....@intel.com> --- drivers/input/misc/bma023.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/input/misc/bma023.c b/drivers/input/misc/bma023.c index 489f363..3325e8e 100644 --- a/drivers/input/misc/bma023.c +++ b/drivers/input/misc/bma023.c @@ -1271,6 +1271,7 @@ static const struct dev_pm_ops bma023_pm = { static const struct i2c_device_id bma023_ids[] = { { "bma023", 0 }, { "smb380", 1 }, + { "bma150", 2 }, { } }; MODULE_DEVICE_TABLE(i2c, bma023_ids); -- 1.7.2.3 _______________________________________________ MeeGo-kernel mailing list MeeGo-kernel@lists.meego.com http://lists.meego.com/listinfo/meego-kernel