lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240926-skintight-certified-298afaf44981@spud>
Date: Thu, 26 Sep 2024 17:55:46 +0100
From: Conor Dooley <conor@...nel.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
	Bartosz Golaszewski <brgl@...ev.pl>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Nikita Shubin <nikita.shubin@...uefel.me>,
	linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: gpio: ep9301: Add missing
 "#interrupt-cells" to examples

On Wed, Sep 25, 2024 at 12:35:10PM -0500, Rob Herring (Arm) wrote:
> From: Rob Herring <robh@...nel.org>
> 
> Enabling dtc interrupt_provider check reveals the examples are missing
> the "#interrupt-cells" property as it is a dependency of
> "interrupt-controller".
> 
> Some of the indentation is off, so fix that too.
> 
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>

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

> ---
>  Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml b/Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml
> index daadfb4926c3..3a1079d6ee20 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml
> @@ -73,9 +73,10 @@ examples:
>        reg-names = "data", "dir", "intr";
>        gpio-controller;
>        #gpio-cells = <2>;
> -        interrupt-controller;
> -        interrupt-parent = <&vic1>;
> -        interrupts = <27>;
> +      interrupt-controller;
> +      #interrupt-cells = <2>;
> +      interrupt-parent = <&vic1>;
> +      interrupts = <27>;
>      };
>  
>      gpio@...40004 {
> @@ -87,6 +88,7 @@ examples:
>        gpio-controller;
>        #gpio-cells = <2>;
>        interrupt-controller;
> +      #interrupt-cells = <2>;
>        interrupt-parent = <&vic1>;
>        interrupts = <27>;
>      };
> @@ -127,6 +129,7 @@ examples:
>        gpio-controller;
>        #gpio-cells = <2>;
>        interrupt-controller;
> +      #interrupt-cells = <2>;
>        interrupts-extended = <&vic0 19>, <&vic0 20>,
>                              <&vic0 21>, <&vic0 22>,
>                              <&vic1 15>, <&vic1 16>,
> -- 
> 2.45.2
> 

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ