[lm-sensors] [PATCH] hwmod: sensors: mma845x gravity sensor chips
khali at linux-fr.org
Wed Apr 13 14:33:24 CEST 2011
On Wed, 13 Apr 2011 19:56:53 +0800, Zhang Jiejing wrote:
> This patch add basic support for mma8450 mma8451 gravity
> sensor chips, and will support mma8452, mma8453 in same
> driver file.
> They are i2c controller and support 3-axis gravity accelerator
> mma8450 have some different from mma845[1,2,3] in register map, so
> there are some switch case between mma8450 and others.
> Product Information can be found here:
> Signed-off-by: Zhang Jiejing <jiejing.zhang at freescale.com>
> drivers/hwmon/Kconfig | 10 +
> drivers/hwmon/Makefile | 1 +
> drivers/hwmon/mma845x.c | 568 +++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 579 insertions(+), 0 deletions(-)
> create mode 100644 drivers/hwmon/mma845x.c
Nack. Accelerometers don't belong to hwmon. Several such drivers were
kicked out of drivers/hwmon recently, and we won't accept any such
driver in the future. Push this to drivers/misc, drivers/input or
drivers/staging/iio, whichever your prefer, but not drivers/hwmon.
More information about the lm-sensors