mbox series

[0/3] Add PAT6125 optical tracker driver

Message ID 1554456870-8104-1-git-send-email-amergnat@baylibre.com (mailing list archive)
Headers show
Series Add PAT6125 optical tracker driver | expand

Message

Alexandre Mergnat April 5, 2019, 9:34 a.m. UTC
PixArt Imaging PAT6125 is a miniature low power optical navigation chip using
LASER light source enabling digital surface tracking.

This device driver use IIO API to provide ponctual and/or buffered data.
The data is the delta value between two position traveled, depend on
CPI (Counts Per Inch) resolution setting chosen. The retrived data is
composed by two values, delta on the X and Y axis.

Unfortunately, the device doesn't support "on-the-fly" configuration.

This patchset :
- Update vendor prefix
- Add the bindings for this device
- Add the device driver
- Add directory for optical tracker devices

Alexandre Mergnat (3):
  dt-bindings: Add pixart vendor
  dt-bindings: iio: ot: Add docs pat9125
  iio: Add PAT9125 optical tracker sensor

 .../devicetree/bindings/iio/ot/pat9125.txt         |  18 +
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/Kconfig                                |   1 +
 drivers/iio/Makefile                               |   1 +
 drivers/iio/ot/Kconfig                             |  16 +
 drivers/iio/ot/Makefile                            |   6 +
 drivers/iio/ot/pat9125.c                           | 407 +++++++++++++++++++++
 7 files changed, 450 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/ot/pat9125.txt
 create mode 100644 drivers/iio/ot/Kconfig
 create mode 100644 drivers/iio/ot/Makefile
 create mode 100644 drivers/iio/ot/pat9125.c