[PATCH 2/2] iio: light: new driver for Dyna-Image AL3010

2016-06-03 Thread Rocky Hsiao
This driver is based on drivers/iio/light/al3320a.c Differences form the original file: - Difference REG map - Difference scale Signed-off-by: Rocky Hsiao --- drivers/iio/light/Kconfig | 10 ++ drivers/iio/light/Makefile | 1 + drivers/iio/light/al3010.c | 292

[PATCH 1/2] iio: light: al3320a: support illuminance0_input function

2016-06-03 Thread Rocky Hsiao
Add few functions to show lux. Signed-off-by: Rocky Hsiao --- drivers/iio/light/al3320a.c | 50 +++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/drivers/iio/light/al3320a.c b/drivers/iio/light/al3320a.c index 6aac651..f32b5d1 100644

[PATCH] Dyna-Image AL3320A update, add AL3010 driver

2016-06-02 Thread Rocky Hsiao
1. Change al3320a.c to match light sensor test flow. 2. Add al3010.c to add new device AL3010. original file copy from al3320a.c Signed-off-by: Rocky Hsiao --- .../config/x86_64/chromiumos-x86_64.flavour.config | 2 + drivers/iio/light/Kconfig | 10 + drivers/iio