Skip to contentSkip to conversation

dt-bindings: iio: vishay,vcnl4000: add interrupts property

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Sep 20, 2020 – Sep 21, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: iio: vishay,vcnl4000: add interrupts property

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]+'

---
 .../devicetree/bindings/iio/light/vishay,vcnl4000.yaml        | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml +4 -0
index 58887a4f9c15..4d1a225e8868 100644
@@ -24,6 +24,10 @@ properties:
       - vishay,vcnl4020
       - vishay,vcnl4040
       - vishay,vcnl4200
+
+  interrupts:
+    maxItems: 1
+
   reg:
     maxItems: 1
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 7 lines · On Sun, 20 Sep 2020 22:38:45 +0200 Krzysztof Kozlowski <[email protected]> wrote:

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]+'

Trivial enough that I'll just sneak this one in before I do a pull request.

thanks,

Jonathan

Quoted 19 lines
---
 .../devicetree/bindings/iio/light/vishay,vcnl4000.yaml        | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml +4 -0
index 58887a4f9c15..4d1a225e8868 100644
@@ -24,6 +24,10 @@ properties:
       - vishay,vcnl4020
       - vishay,vcnl4040
       - vishay,vcnl4200
+
+  interrupts:
+    maxItems: 1
+
   reg:
     maxItems: 1