Re: [RFC] Moving magnetometer HMC6352 into IIO subsystem

From: Alan Cox
Date: Mon Aug 15 2011 - 17:04:04 EST


> Should the HMC6352 digital compass driver (drivers/misc/hmc6352.c)
> be moved under the IIO subsystem (drivers/staging/iio/magnetometer)?

No - that would be a regression .. but read on

> Magnetometers act as ADCs and can have high sampling rates and
> complex internals, so I think that according to
> drivers/staging/iio/Documentation/overview.txt they should almost always
> land in IIO land.

IIO is a staging project that may never go anywhere - some of us are
using magnetometers in product so this alone isn't an answer that works
right now.

> I would be willing to work on the change as I want to submit a similar
> driver for the HMC6343 magnetometer/accelerometer as well.

It would be great if it got added into the IIO subystem *as well*, and in
time when and if IIO goes out of staging it would then eventually replace
the existing drivers.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/