hmc6352: add driver for the HMC6352 compass
This driver will report the heading values in degrees to the sysfs interface. The values returned are headings . e.g. 245.6 Alan: Cleanups requested now all folded in and a sysfs description to keep Andrew happy. The sysfs description now resembles hwmon. Signed-off-by:Kalhan Trisal <kalhan.trisal@intel.com> Reviewed-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Alan Cox <alan@linux.intel.com> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/ABI/testing/sysfs-bus-i2c-devices-hm6352 21 additions, 0 deletionsDocumentation/ABI/testing/sysfs-bus-i2c-devices-hm6352
- drivers/misc/Kconfig 7 additions, 0 deletionsdrivers/misc/Kconfig
- drivers/misc/Makefile 1 addition, 0 deletionsdrivers/misc/Makefile
- drivers/misc/hmc6352.c 166 additions, 0 deletionsdrivers/misc/hmc6352.c
Loading
Please register or sign in to comment