* Add driver for veml6030 ambient light sensor
@ 2019-09-18 3:06 Rishi Gupta
0 siblings, 0 replies; 2+ messages in thread
From: Rishi Gupta @ 2019-09-18 3:06 UTC (permalink / raw)
To: jic23
Cc: knaack.h, lars, pmeerw, gregkh, tglx, allison, alexios.zavras,
angus, linux-iio, linux-kernel
The veml6030 is an ambient light sensor from vishay and
is a different hardware from an existing hardware for which
driver currently exist, therefore this driver submission.
* All features; ALS, white channel and power management is
supported.
* All configurable parameters are supported through standard
iio sysfs entries. User space can get valid values of any
parameter (xx_available) and then can write to appropriate
sysfs entry.
* User space can get ALS and White channel readings through RAW
IIO interface.
* IIO events are used to notify application whenever threshold
is crossed. This uses IRQ pin of veml6030.
* Some registers in veml6030 are read only. For these registers
read callback returns error to user space.
There are 2 patches for this submission:
[PATCH 1/2] iio: light: add driver for veml6030 ambient light sensor
[PATCH 2/2] dt-bindings: iio: light: add veml6030 ALS bindings
Regards,
Rishi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Add driver for veml6030 ambient light sensor
@ 2019-09-18 3:09 Rishi Gupta
0 siblings, 0 replies; 2+ messages in thread
From: Rishi Gupta @ 2019-09-18 3:09 UTC (permalink / raw)
To: jic23
Cc: knaack.h, lars, pmeerw, gregkh, tglx, allison, alexios.zavras,
angus, linux-iio, linux-kernel
The veml6030 is an ambient light sensor from vishay and
is a different hardware from an existing hardware for which
driver currently exist, therefore this driver submission.
* All features; ALS, white channel & power management is
supported.
* All configurable parameters are supported through standard
iio sysfs entries. User space can get valid values of any
parameter (xx_available) and then can write to appropriate
sysfs entry.
* User space can get ALS & White channel readings through RAW
IIO interface.
* IIO events are used to notify application whenever threshold
is crossed. This uses IRQ pin of veml6030.
* Some registers in veml6030 are read only. For these registers
read callback returns error to user space.
There are 2 patches for this submission:
[PATCH 1/2] iio: light: add driver for veml6030 ambient light sensor
[PATCH 2/2] dt-bindings: iio: light: add veml6030 ALS bindings
Regards,
Rishi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-18 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 3:06 Add driver for veml6030 ambient light sensor Rishi Gupta
2019-09-18 3:09 Rishi Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®