[PATCH 2/2] dt-bindings: vcnl3020: add proximity rate in hz

From: Ivan Mikhaylov
Date: Tue Feb 16 2021 - 09:49:04 EST


Describe the possible proximity values in herzes for vcnl3020.

Signed-off-by: Ivan Mikhaylov <i.mikhaylov@xxxxxxxxx>
---
.../devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml b/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml
index fbd3a2e32280..1bb6ca1770f3 100644
--- a/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml
@@ -43,6 +43,12 @@ properties:
180000, 190000, 200000]
default: 20000

+ vishay,proximity-rate-hz:
+ description:
+ The rate of proximity measurement.
+ enum: [1, 3, 7, 16, 31, 62, 125, 500]
+ default: 1
+
required:
- compatible
- reg
--
2.26.2