mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
dt-bindings: iio: light: ltr501: Make proximity-near-level conditional
The proxmity-near-level attribute is only supported by ltr501 and ltr559 chips. Signed-off-by: Esben Haabendal <esben@geanix.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
This commit is contained in:
parent
96ffe129e2
commit
5474d85ce4
|
|
@ -48,6 +48,18 @@ allOf:
|
|||
properties:
|
||||
interrupts: false
|
||||
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- liteon,ltr301
|
||||
- liteon,ltr303
|
||||
- liteon,ltr329
|
||||
then:
|
||||
properties:
|
||||
proximity-near-level: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user