mbox series

[0/7] iio: light: AL3010 introduction

Message ID 20200128133052.201587-1-david@ixit.cz
Headers show
Series iio: light: AL3010 introduction | expand

Message

David Heidelberg Jan. 28, 2020, 1:30 p.m. UTC
These patches implement support for simple iio light sensor AL3010 and
also improves and align formating of AL3320a which is origin of al3010
driver.

AL3010 is used in many devices, mostly tegra2/3 based.
This effort is aimed for reducing number of out-of-tree patches for
tegra tablets and phones.

This sensor is tested on Nexus 7 (2012, grouper/tilapia).

David Heidelberg (7):
  dt-bindings: iio: light: add support for Dyna-Image AL3320A
  dt-bindings: iio: light: add support for Dyna-Image AL3010
  iio: light: al3320a slightly improve code formatting
  iio: light: add Dyna-Image AL3010 driver
  iio: light: al3010 implement suspend support
  iio: light: al3320a implement suspend support
  iio: light: al3320a allow module autoload and polish

 .../devicetree/bindings/iio/light/al3010.yaml |  40 +++
 .../bindings/iio/light/al3320a.yaml           |  40 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/iio/light/Kconfig                     |  10 +
 drivers/iio/light/Makefile                    |   1 +
 drivers/iio/light/al3010.c                    | 237 ++++++++++++++++++
 drivers/iio/light/al3320a.c                   |  63 +++--
 7 files changed, 379 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/light/al3010.yaml
 create mode 100644 Documentation/devicetree/bindings/iio/light/al3320a.yaml
 create mode 100644 drivers/iio/light/al3010.c