Commit 2cc131ac authored by Nikita Travkin's avatar Nikita Travkin Committed by Jonathan Cameron

dt-bindings: iio: light: ltr501: Add proximity-near-level

This value inidcates the proximity level that should be considered
"close".
Signed-off-by: default avatarNikita Travkin <nikita@trvn.ru>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211125125646.54831-1-nikita@trvn.ruSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent fc27e69f
...@@ -9,6 +9,9 @@ title: LiteON LTR501 I2C Proximity and Light sensor ...@@ -9,6 +9,9 @@ title: LiteON LTR501 I2C Proximity and Light sensor
maintainers: maintainers:
- Nikita Travkin <nikita@trvn.ru> - Nikita Travkin <nikita@trvn.ru>
allOf:
- $ref: ../common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -25,6 +28,8 @@ properties: ...@@ -25,6 +28,8 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
proximity-near-level: true
additionalProperties: false additionalProperties: false
required: required:
...@@ -42,6 +47,8 @@ examples: ...@@ -42,6 +47,8 @@ examples:
light-sensor@23 { light-sensor@23 {
compatible = "liteon,ltr559"; compatible = "liteon,ltr559";
reg = <0x23>; reg = <0x23>;
proximity-near-level = <75>;
vdd-supply = <&pm8916_l17>; vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l6>; vddio-supply = <&pm8916_l6>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment