> > +What: /sys/bus/i2c/devices/<busnum>-<devaddr>/range > > +Date: February 2011 > > +Contact: Alan Cox <alan@xxxxxxxxxxxxxxx> > > +Description: Configure the sensing range of the device > > + 0: +/- 2G > > + 1: +/- 4G > > + 2: +/- 8G > Why the magic numbers? It would be trivial to just use the actual values so > why not do so? That seems sensible, especially if other variants then decided to do other frequencies > > + (See the equations in the data sheet) > If possible, please direct people to a particular equation. Or given these There is a datasheet link for the BMA150 in the driver now. I don't think duplicating the notes actually helps because you really need the data sheet to do the job anyway and it avoids duplicating stuff that may then go stale. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html