Skip to contentSkip to conversation

media: dt-bindings: adv7180: Document the 'interrupts' property

PATCH Superseded Fabio Estevam 2 participants 3 messages Jan 9, 2025 – Jan 10, 2025

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: dt-bindings: adv7180: Document the 'interrupts' property

From: Fabio Estevam <[email protected]>

The ADV7180 family of chips have an INTRQ pin that can be connected to a SoC GPIO.

Allow the 'interrupts' property to be described to fix the following dt-schema warning:

camera@21: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+'

---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +2 -0
index 4371a0ef2761..572f06d12a39 100644
@@ -49,6 +49,8 @@ properties:
       Indicates that the output is a BT.656-4 compatible stream.
     type: boolean
 
+  interrupts: true
+
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 20 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The ADV7180 family of chips have an INTRQ pin that can be connected to a SoC GPIO.

Allow the 'interrupts' property to be described to fix the following dt-schema warning:

camera@21: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+'

---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +0 -0
index 4371a0ef2761..572f06d12a39 100644

Documentation/devicetree/bindings/media/i2c/adv7180.yaml properties: · line 53

Quoted 5 lines
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +2 -0
@@ -49,6 +49,8 @@ properties:
       Indicates that the output is a BT.656-4 compatible stream.
     type: boolean
 
+  interrupts: true
+

How many interrupts are there?

Quoted 6 lines
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +0 -0
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false
Signature · 1 line
2.34.1
#2 lore raw
Quoted 1 line · Rob Herring

How many interrupts are there?

Only one.

I sent a v2 that makes this clear.