iio: light: Add ARA to CM3218x driver.
authorErik Lilliebjerg <elilliebjerg@nvidia.com>
Mon, 20 Jul 2015 12:27:05 +0000 (05:27 -0700)
committerRobert Collins <rcollins@nvidia.com>
Wed, 5 Aug 2015 17:50:12 +0000 (10:50 -0700)
commit7a71eaefcf15e428775de54ca4b0b368df644041
treee0965ef196528cfdff83383bfae60a6a01ed3119
parent6e44db2dc5bfe83f6b3b883b0284af6456948074
iio: light: Add ARA to CM3218x driver.

- The CM32180 device requires the I2C ARA (Alert Response Address) whether the
  interrupt is enable or not apparently.  By adding a GPIO define in the device
  tree for the interrupt, the driver is able to monitor the device's INT pin
  and issue an I2C ARA transaction when asserted (low).
- Add documentation that goes with this driver.

Bug 200121777

Change-Id: I1851186121f87f4ce9350f8a25a6de931c78e1a7
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/772314
(cherry picked from commit 1706a69492f1779ddcbac57ef26450ba1930399d)
Reviewed-on: http://git-master/r/774119
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Documentation/devicetree/bindings/iio/cm3218x-als.txt
drivers/iio/light/nvs_cm3218.c