dt-bindings: iio: vishay,vcnl4000: add interrupts property
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 20 Sep 2020 20:38:45 +0000 (22:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Sep 2020 19:01:51 +0000 (20:01 +0100)
The dtschema should list all properties, including the common ones like
interrupts.  This fixes dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dt.yaml:
    prox@60: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200920203845.17758-1-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml

index 58887a4f9c15272ed9b0509c314fd7cc630399b6..4d1a225e8868ddaa7fb6064dfcd111d8a4478a4b 100644 (file)
@@ -24,6 +24,10 @@ properties:
       - vishay,vcnl4020
       - vishay,vcnl4040
       - vishay,vcnl4200
+
+  interrupts:
+    maxItems: 1
+
   reg:
     maxItems: 1