[PATCH 3/4] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells

Andrew Jeffery posted 4 patches 1 year, 6 months ago
There is a newer version of this series
[PATCH 3/4] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells
Posted by Andrew Jeffery 1 year, 6 months ago
Squash warnings such as:

```
/home/andrew/src/kernel.org/linux/build.aspeed_g5/arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
```

Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
---
 Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml
index fe27b5d01e80..02c02ef97565 100644
--- a/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/aspeed,sgpio.yaml
@@ -46,6 +46,9 @@ properties:
 
   interrupt-controller: true
 
+  '#interrupt-cells':
+    const: 2
+
   clocks:
     maxItems: 1
 
@@ -75,6 +78,7 @@ examples:
         clocks = <&syscon ASPEED_CLK_APB>;
         interrupts = <40>;
         interrupt-controller;
+        #interrupt-cells = <2>;
         gpio-controller;
         #gpio-cells = <2>;
         ngpios = <80>;

-- 
2.39.2
Re: [PATCH 3/4] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells
Posted by Krzysztof Kozlowski 1 year, 6 months ago
On 29/05/2024 07:13, Andrew Jeffery wrote:
> Squash warnings such as:
> 
> ```
> /home/andrew/src/kernel.org/linux/build.aspeed_g5/arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+'

Please trim the log from unnecessary path components.

Best regards,
Krzysztof
Re: [PATCH 3/4] dt-bindings: gpio: aspeed,sgpio: Specify #interrupt-cells
Posted by Andrew Jeffery 1 year, 6 months ago
On Wed, 2024-05-29 at 09:28 +0200, Krzysztof Kozlowski wrote:
> On 29/05/2024 07:13, Andrew Jeffery wrote:
> > Squash warnings such as:
> > 
> > ```
> > /home/andrew/src/kernel.org/linux/build.aspeed_g5/arch/arm/boot/dts/aspeed/aspeed-ast2500-evb.dtb: sgpio@1e780200: '#interrupt-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Please trim the log from unnecessary path components.

Ack.