Thread (9 messages) 9 messages, 3 authors, 2011-02-22

Re: [PATCH] bma023: Support for Bosch BMA023, BMA150 and SMB380 accelerometers

From: Alan Cox <hidden>
Date: 2011-02-22 11:28:30

quoted
+What:		/sys/bus/i2c/devices/<busnum>-<devaddr>/range
+Date:		February 2011
+Contact:	Alan Cox <alan@linux.intel.com>
+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
quoted
+		(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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help