imx.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property
@ 2025-08-19 12:13 Fabio Estevam
  2025-08-19 15:37 ` Frank Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2025-08-19 12:13 UTC (permalink / raw)
  To: krzk; +Cc: robh, conor+dt, imx, devicetree, Fabio Estevam

There is an interrupt line connected to the one-wire block on
the i.MX51 and i.MX53.

Add an entry for the interrupt property to avoid the following dt-schema
warning:

'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml b/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
index 55adea827c34..2c1bbc0eb05a 100644
--- a/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
+++ b/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
@@ -24,6 +24,9 @@ properties:
   reg:
     maxItems: 1
 
+  interrupts:
+    maxItems: 1
+
   clocks:
     maxItems: 1
 
@@ -40,5 +43,6 @@ examples:
     owire@63fa4000 {
         compatible = "fsl,imx53-owire", "fsl,imx21-owire";
         reg = <0x63fa4000 0x4000>;
+        interrupts = <88>;
         clocks = <&clks IMX5_CLK_OWIRE_GATE>;
     };
-- 
2.34.1


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

* Re: [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property
  2025-08-19 12:13 [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property Fabio Estevam
@ 2025-08-19 15:37 ` Frank Li
  2025-08-19 17:47 ` Conor Dooley
  2025-08-21  8:01 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2025-08-19 15:37 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: krzk, robh, conor+dt, imx, devicetree

On Tue, Aug 19, 2025 at 09:13:44AM -0300, Fabio Estevam wrote:
> There is an interrupt line connected to the one-wire block on
> the i.MX51 and i.MX53.
>
> Add an entry for the interrupt property to avoid the following dt-schema
> warning:
>
> 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Reviewed-by: Frank Li <Frank.Li@nxp.com>

> ---
>  Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml b/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
> index 55adea827c34..2c1bbc0eb05a 100644
> --- a/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
> +++ b/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
> @@ -24,6 +24,9 @@ properties:
>    reg:
>      maxItems: 1
>
> +  interrupts:
> +    maxItems: 1
> +
>    clocks:
>      maxItems: 1
>
> @@ -40,5 +43,6 @@ examples:
>      owire@63fa4000 {
>          compatible = "fsl,imx53-owire", "fsl,imx21-owire";
>          reg = <0x63fa4000 0x4000>;
> +        interrupts = <88>;
>          clocks = <&clks IMX5_CLK_OWIRE_GATE>;
>      };
> --
> 2.34.1
>

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

* Re: [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property
  2025-08-19 12:13 [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property Fabio Estevam
  2025-08-19 15:37 ` Frank Li
@ 2025-08-19 17:47 ` Conor Dooley
  2025-08-21  8:01 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2025-08-19 17:47 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: krzk, robh, conor+dt, imx, devicetree

[-- Attachment #1: Type: text/plain, Size: 54 bytes --]



Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property
  2025-08-19 12:13 [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property Fabio Estevam
  2025-08-19 15:37 ` Frank Li
  2025-08-19 17:47 ` Conor Dooley
@ 2025-08-21  8:01 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-21  8:01 UTC (permalink / raw)
  To: krzk, Fabio Estevam; +Cc: Krzysztof Kozlowski, robh, conor+dt, imx, devicetree


On Tue, 19 Aug 2025 09:13:44 -0300, Fabio Estevam wrote:
> There is an interrupt line connected to the one-wire block on
> the i.MX51 and i.MX53.
> 
> Add an entry for the interrupt property to avoid the following dt-schema
> warning:
> 
> 'interrupts' does not match any of the regexes: '^pinctrl-[0-9]+$'
> 
> [...]

Applied, thanks!

[1/1] dt-bindings: w1: imx: Add an entry for the interrupts property
      https://git.kernel.org/krzk/linux-w1/c/411053cb6657a3cf8db50a2d004a112070ca14b2

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

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

end of thread, other threads:[~2025-08-21  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 12:13 [PATCH] dt-bindings: w1: imx: Add an entry for the interrupts property Fabio Estevam
2025-08-19 15:37 ` Frank Li
2025-08-19 17:47 ` Conor Dooley
2025-08-21  8:01 ` Krzysztof Kozlowski

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).