[PATCH 0/3] Support all AKM compass in a single driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently, 2 drivers are used for supporting AKM compasses:
- ak8975 and ak8963 in ak875.c: these compasses support DRDY line and interrupt.
- ak09911 in ak0911.c: this compass has a new register map and does not support DRDY line.

A newer compass, ak09912 has the same register map as ak09911 but the same functionality as
ak8975. By adding support to ak09912 into ak8975, we can remove the driver specific to ak09911.

Gwendal Grignou (3):
  iio: ak8975: minor fixes
  iio: ak8975: add definition structure per compass type
  iio: ak8975: add ak09911 and ak09912 support

 drivers/iio/magnetometer/Kconfig   |  17 +-
 drivers/iio/magnetometer/Makefile  |   1 -
 drivers/iio/magnetometer/ak09911.c | 326 ------------------------
 drivers/iio/magnetometer/ak8975.c  | 501 +++++++++++++++++++++++++++----------
 4 files changed, 377 insertions(+), 468 deletions(-)
 delete mode 100644 drivers/iio/magnetometer/ak09911.c

-- 
2.1.0.rc2.206.gedb03e5

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux