vishay,vcnl4040 (on i2c bus)¶
Vendor: Vishay Intertechnology, Inc
Description¶
VCNL4040 proximity and ambient light sensor. See datasheet at
https://www.vishay.com/docs/84274/vcnl4040.pdf
Properties¶
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
The INT pin signals that a programmable interrupt function
for ALS and PS with upper and lower thresholds has been
triggered. The sensor generates an active-low level signal
which remains asserted until the data is read.
|
|
|
LED current in mA
Default value: Legal values: |
|
|
LED duty cycle in Hz
Default value: Legal values: |
|
|
Proximity integration time in T
Default value: Legal values: |
|
|
Proximity trigger type
Default value: Legal values: |
|
|
ALS integration time in ms
Default value: Legal values: |
|
|
GPIO specifier that controls power to the device.
This property should be provided when the device has a dedicated
switch that controls power to the device. The supply state is
entirely the responsibility of the device driver.
Contrast with vin-supply.
|
|
|
Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.
This property should be provided when device power is supplied
by a shared regulator. The supply state is dependent on the
request status of all devices fed by the regulator.
Contrast with supply-gpios. If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.
|
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “vishay,vcnl4040” compatible.
Name |
Type |
Details |
---|---|---|
|
|
register space
This property is required. See Important properties for more information. |
|
|
Human readable string describing the device (used as device_get_binding() argument)
This property is required. See Important properties for more information. |
|
|
indicates the operational status of a device
Legal values: See Important properties for more information. |
|
|
compatible strings
This property is required. See Important properties for more information. |
|
|
name of each register space
|
|
|
interrupts for device
See Important properties for more information. |
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
Clock gate information
|
|
|
name of each clock
|
|
|
number of address cells in reg property
|
|
|
number of size cells in reg property
|
|
|
DMA channels specifiers
|
|
|
Provided names of DMA channel specifiers
|
|
|
IO channels specifiers
|
|
|
Provided names of IO channel specifiers
|