Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: light: vcnl4000: add Capella CM36686 and CM36672P

Capella CM36686 is an ambient light and proximity sensor developed by
Capella Microsystems, now a subsidiary of Vishay Intertechnology Inc. It
has an I2C address of 0x60 and is fully compatible with an existing
driver for VCNL4040. Capella CM36672P is a proximity-only sensor that
is partially compatible with CM36686 - they share the same register
fields for proximity sensing, but ambient light sensor register fields
in CM36672P are reserved. Add compatibles for cm36672p and cm36686,
with a fallback for cm36686 of vcnl4040.

Signed-off-by: Erikas Bitovtas <xerikasxx@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Erikas Bitovtas and committed by
Jonathan Cameron
f48bfc82 196c9df1

+11 -6
+11 -6
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml
··· 18 18 19 19 properties: 20 20 compatible: 21 - enum: 22 - - vishay,vcnl4000 23 - - vishay,vcnl4010 24 - - vishay,vcnl4020 25 - - vishay,vcnl4040 26 - - vishay,vcnl4200 21 + oneOf: 22 + - enum: 23 + - capella,cm36672p 24 + - vishay,vcnl4000 25 + - vishay,vcnl4010 26 + - vishay,vcnl4020 27 + - vishay,vcnl4040 28 + - vishay,vcnl4200 29 + - items: 30 + - const: capella,cm36686 31 + - const: vishay,vcnl4040 27 32 28 33 interrupts: 29 34 maxItems: 1