devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: dt-bindings: adv7180: Document the 'interrupts' property
@ 2025-01-09  0:05 Fabio Estevam
  2025-01-10 16:09 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2025-01-09  0:05 UTC (permalink / raw)
  To: hverkuil-cisco
  Cc: mchehab, lars, robh, krzk+dt, conor+dt, linux-media, devicetree,
	Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
index 4371a0ef2761..572f06d12a39 100644
--- a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
@@ -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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: dt-bindings: adv7180: Document the 'interrupts' property
  2025-01-09  0:05 [PATCH] media: dt-bindings: adv7180: Document the 'interrupts' property Fabio Estevam
@ 2025-01-10 16:09 ` Rob Herring
  2025-01-10 18:51   ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2025-01-10 16:09 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: hverkuil-cisco, mchehab, lars, krzk+dt, conor+dt, linux-media,
	devicetree, Fabio Estevam

On Wed, Jan 08, 2025 at 09:05:03PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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]+'
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
>  Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
> index 4371a0ef2761..572f06d12a39 100644
> --- a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
> @@ -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?

>    port:
>      $ref: /schemas/graph.yaml#/$defs/port-base
>      unevaluatedProperties: false
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: dt-bindings: adv7180: Document the 'interrupts' property
  2025-01-10 16:09 ` Rob Herring
@ 2025-01-10 18:51   ` Fabio Estevam
  0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-01-10 18:51 UTC (permalink / raw)
  To: Rob Herring
  Cc: hverkuil-cisco, mchehab, lars, krzk+dt, conor+dt, linux-media,
	devicetree, Fabio Estevam

On Fri, Jan 10, 2025 at 1:09 PM Rob Herring <robh@kernel.org> wrote:

> How many interrupts are there?

Only one.

I sent a v2 that makes this clear.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-10 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09  0:05 [PATCH] media: dt-bindings: adv7180: Document the 'interrupts' property Fabio Estevam
2025-01-10 16:09 ` Rob Herring
2025-01-10 18:51   ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).