[PATCH v3 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-29 Thread Suresh Rajashekara
v2 * Using regmap framework * Error handling * Code cleanups following comments Signed-off-by: Suresh Rajashekara --- drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/iio/light/ap3223.c | 706 + 3 files changed, 718

[PATCH v3 2/2] iio:light:ap3223: Add DT support

2015-09-29 Thread Suresh Rajashekara
* Add Device Tree support for the Dyna Image AP3223 ambient light sensor and * proximity driver, * Document the binding and * Add a vendor prefix for Dyna Image v3 * Fixing typo in comment v2 * Seperating the device tree changes from code Signed-off-by: Suresh Rajashekara --- Documentation

[PATCH v2 2/2] iio:light:tsl2563: Add DT support

2015-09-29 Thread Suresh Rajashekara
* Add Device Tree support for the Dyna Image AP3223 ambient light sensor and * proximity driver, * Document the binding and * Add a vendor prefix for Dyna Image v2 * Seperating the device tree changes from code Signed-off-by: Suresh Rajashekara --- Documentation/devicetree/bindings/iio/light

[PATCH v2 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-29 Thread Suresh Rajashekara
cleanups following comments Signed-off-by: Suresh Rajashekara --- drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/iio/light/ap3223.c | 706 + 3 files changed, 718 insertions(+) create mode 100644 drivers/iio/light/ap3223

[PATCH v3 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-29 Thread Suresh Rajashekara
om> * Vic Lee <vic_...@asus.com> v3 * Resubmitting due to typo in accompanying patch v2 * Using regmap framework * Error handling * Code cleanups following comments Signed-off-by: Suresh Rajashekara <suresh...@google.com> --- drivers/iio/light/Kconfig | 11 + drivers/iio/light/M

[PATCH v2 1/2] iio:light: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-29 Thread Suresh Rajashekara
om> * Vic Lee <vic_...@asus.com> v2 * Using regmap framework * Error handling * Code cleanups following comments Signed-off-by: Suresh Rajashekara <suresh...@google.com> --- drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/

[PATCH v2 2/2] iio:light:tsl2563: Add DT support

2015-09-29 Thread Suresh Rajashekara
* Add Device Tree support for the Dyna Image AP3223 ambient light sensor and * proximity driver, * Document the binding and * Add a vendor prefix for Dyna Image v2 * Seperating the device tree changes from code Signed-off-by: Suresh Rajashekara <suresh...@google.com> --- Documen

[PATCH v3 2/2] iio:light:ap3223: Add DT support

2015-09-29 Thread Suresh Rajashekara
* Add Device Tree support for the Dyna Image AP3223 ambient light sensor and * proximity driver, * Document the binding and * Add a vendor prefix for Dyna Image v3 * Fixing typo in comment v2 * Seperating the device tree changes from code Signed-off-by: Suresh Rajashekara <suresh...@google.

[PATCH] CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-28 Thread Suresh Rajashekara
Minimal implementation. This is based on the driver provided by the vendor (which wasn't in the IIO framework). Authors of the driver from the vendor included * John Huang * Templeton Tsai * Vic Lee Signed-off-by: Suresh Rajashekara --- .../devicetree/bindings/iio/light/ap3223.txt

[PATCH] CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-28 Thread Suresh Rajashekara
om> Signed-off-by: Suresh Rajashekara <suresh...@google.com> --- .../devicetree/bindings/iio/light/ap3223.txt | 18 + .../devicetree/bindings/vendor-prefixes.txt| 1 + drivers/iio/light/Kconfig | 10 + drivers/iio/light/Makefile |